Skip to content

Architecture and migrationChecklist

Codestral-2501 and Command A leave Foundry Feb 15: what to move

Two Foundry partner models, Codestral-2501 and Cohere Command A, have a retirement date of 15 February 2027, 79 days from today. This checklist gives a dated plan, a shortlist with each candidate's own lifecycle date, and a regression test for code and tool-use prompts.

By INFRO Editorial

Published

7 min read

One application request entering a central AI gateway and branching to many model routes

In short

Codestral-2501 and cohere-command-a both retire on Azure Foundry on 2027-02-15, and Microsoft's listed replacements are a preview Mistral model and managed-compute Command A+ variants 1. Treat the date as fixed, pick candidates by their own retirement dates, and prove them with a frozen code and tool-call test before cutover.

Key takeaways

  • Codestral-2501 (version 2) and cohere-command-a (version 1) both show a retirement date of 2027-02-15 on Foundry's schedule, and Microsoft says retirement dates are not extendable.
  • Microsoft's listed replacements are not drop-in: mistral-large-4-latest is labeled Preview, and the Command A+ replacements are managed-compute deployments from a Hugging Face collection.
  • Choose candidates by their own retirement dates; grok-code-fast-1 and the Llama models on Foundry retire on 2027-02-03, earlier than the models you are replacing.
  • Replay your own logged code and tool-call requests unchanged on each candidate before editing any prompt, then score compile or test pass rate, schema validity and tool choice separately.
  • Check reasoning defaults: Mistral Large 4 defaults to High reasoning, which can change latency and token use for short completions.

What retires on 15 February, and what Foundry names as the replacement

Foundry's retirement schedule lists Codestral-2501 (version 2, GA) and cohere-command-a (version 1, GA) with a retirement date of 2027-02-15.1 The same date applies to Cohere-embed-v3-english, Cohere-embed-v3-multilingual, mistral-small-2503 and mistral-document-ai-2512, so a team with several of these will hit one deadline.1 From today, 28 November 2026, that is 79 days.

The schedule's replacement column is not a like-for-like swap in either case:

  • Codestral-2501 lists mistral-large-4-latest, which the schedule itself labels Preview.1 Microsoft's policy does not recommend preview models for production, and preview deployments are upgraded or terminated when a decision is made, with at least 30 days notice.2
  • cohere-command-a lists three Command A+ variants (coherelabs-command-a-plus-05-2026 in fp8, bf16 and w4a4). The schedule's footnote says they are available through the Hugging Face collection for managed compute deployment.1 That is a deployment you size and run in your subscription, not the endpoint you call today. The earlier Foundry listing Cohere-command-a-plus-05-2026 already retired on 2026-10-16.1

Once the date passes, a retired model's inference requests return 410 Gone and nothing new can be deployed.2 This is ordinary ai model retirement mechanics, but a 410 inside a fallback chain looks like a dead target, not a degraded one, so find those too.

Dated plan to 15 February

The lifecycle policy commits to a 60-day minimum retirement notice for GA models, a replacement testable in Global Standard about 90 days out, and in provisioned regions about 30 days out.2 Work back from the hard date, not from the notice.

DateStep
Fri 4 DecInventory complete; request dataset frozen
Fri 18 DecCandidates replayed unchanged; shortlist cut to two
Fri 8 JanPrompt, schema and parameter changes done; regression gate passes
Mon 11 JanCanary on a small share of traffic
Fri 22 JanFull cutover; old deployment kept as rollback only
Fri 29 JanRemove old ids from routes, fallbacks and allowlists
Mon 15 FebRetirement; nothing should call the old ids
a suggested schedule. The dates are a proposal; only the retirement date and notice rules come from Microsoft.

Provisioned deployments are not auto-upgraded, and Microsoft's migration page describes in-place and side-by-side paths for them.3 Whichever path you are on, the guidance is the same: auto-upgrade is a safety net, not a migration plan.3

Replacement shortlist

Pick candidates by their own dates first, then by fit. A model that retires sooner than the one you are leaving is not a replacement.

CandidateForFoundry lifecycle and dateNotes
mistral-large-4-latestCodestral chat and codePreview, no date listed1Microsoft's listed replacement. 1T parameters, 52B active at preview.4
mistral-medium-3-5Codestral chat and codePreview, 2027-10-011Mistral launched it with remote coding agents in Vibe.5
gpt-5.3-codexCodestral, code-heavyGA, 2027-08-241Azure OpenAI model; check the API shape your client uses.
gpt-5.4-miniCommand A chat and toolsGA, 2027-09-211Azure OpenAI model; re-measure cost on your own traffic.
Command A+ variantsCommand AManaged compute from Hugging Face1218B total, 25B active, 128K input, 64K output, tool use, Apache 2.0.6
North Mini CodeCommand A, code tasksNot on the Foundry schedule30B total, 3B active, 256K context. Cohere API, Model Vault, OpenRouter or weights.7
candidates read on 2026-11-28. Retirement dates are Foundry's, from the schedule.

Two exclusions matter. grok-code-fast-1 and the Llama models on Foundry retire on 2027-02-03, before your deadline, and mistral-small-2503 has the same 15 February date.1 If any of them sit in a fallback list, change them now.

Running Command A+ on managed compute is a different operating model from a serverless endpoint; the trade-offs are covered in Phi-4 leaves Foundry serverless Jan 17: is Managed Compute worth it?. Cohere's own hardware floor for Command A+ is two H100s at W4A4.6 North Mini Code through Cohere's API or Model Vault is a different contract and data path from your Azure subscription, so get that approved before you test it.

Find every caller

Do this before choosing anything. The date applies to every deployment, including the ones nobody remembers.

  • List every Foundry deployment of Codestral-2501 and cohere-command-a in every subscription, with deployment type (Standard, Provisioned, Batch).
  • Query the Models API for lifecycleStatus and per-SKU deprecationDate so the inventory carries Microsoft's date, not a copied one.2
  • Search code, config and prompt stores for the model ids and the deployment names, including IDE plugins and CI bots.
  • Check every fallback list, route and allowlist for the retiring ids and for ids retiring before 15 February.
  • Record the request shape per caller: chat messages, completion-style prompts, tool definitions, streaming, max tokens, stop sequences.
  • Turn on payload capture now. Microsoft notes that production content capture is opt-in and never retroactive, so you cannot evaluate traffic you did not record.3
  • Confirm the replacement accepts your request shape. If you send fill-in-the-middle or other completion-style requests, check the candidate's model card; the pages read for this post do not say.

Regression test for code prompts

Follow Microsoft's order: replay the current configuration on the target unchanged first, so behavior the model changed is separate from behavior you changed.3 Build the set from logged requests, freeze it, and do not edit it mid-migration.3

Score four things separately, because a single quality number hides which one broke:

  1. Executes: generated code parses or compiles, and your own unit tests pass.
  2. Edit fidelity: for diff or patch outputs, the patch applies cleanly to the original file.
  3. Boundaries: output stops where the editor expects, with no stray prose or code fences, and is not cut off by the length limit.
  4. Latency and length: time to first token and output tokens per request.

The fourth matters for Mistral Large 4. Mistral's released model has three reasoning modes, Low, Medium and High, with High as the default and Low replacing "None".8 A short inline completion on High can be slower and longer than your Codestral baseline. Whether the Foundry deployment exposes that setting is unconfirmed, so test whatever your deployment actually accepts.

Regression test for tool-use prompts

Command A callers usually fail on tool behavior, not prose. Microsoft's migration page says schema and tool-call work often outweighs prompt work for agentic workloads, and that renamed arguments and changed sequencing show up only in real traces, not single-turn benchmarks.3

Score these separately per case: right tool chosen (or correctly none), arguments valid against your JSON schema, required fields present, parallel calls handled, and the follow-up turn after a tool result. Replay multi-turn traces, not just first turns.

regression.py
import json, os, subprocess, tempfile
from jsonschema import validate, ValidationError
from openai import OpenAI

client = OpenAI(base_url=os.environ["BASE_URL"], api_key=os.environ["API_KEY"])

def tool_case(model, case):
    r = client.chat.completions.create(
        model=model, messages=case["messages"], tools=case["tools"], temperature=0
    )
    calls = r.choices[0].message.tool_calls or []
    if not calls:
        return {"ok": case["expect_tool"] is None, "why": "no call"}
    c = calls[0].function
    if c.name != case["expect_tool"]:
        return {"ok": False, "why": f"wrong tool {c.name}"}
    try:
        validate(json.loads(c.arguments), case["schema"])
    except (ValueError, ValidationError) as e:
        return {"ok": False, "why": f"bad args: {e}"}
    return {"ok": True, "why": ""}

def code_case(model, case):
    r = client.chat.completions.create(model=model, messages=case["messages"])
    code = r.choices[0].message.content or ""
    with tempfile.NamedTemporaryFile("w", suffix=".py", delete=False) as f:
        f.write(code + "\n" + case["tests"])
    p = subprocess.run(["python", f.name], capture_output=True, timeout=30)
    return {"ok": p.returncode == 0, "why": p.stderr.decode()[:200]}

Run the same file against the old deployment and each candidate, then diff the failure reasons. Repeat tool cases a few times at your production temperature; an argument that is valid 9 times in 10 is a defect. For how many cases you need, see How many eval cases do you need before switching models?.

Cutover and rollback checklist

  • Shortlist cut to two candidates, each with a passing gate on the frozen set.
  • Canary on a small share of real traffic, with errors, latency and tool-call validity compared against the old deployment side by side.
  • Prompts and schemas changed only after the unchanged replay, with the original kept.
  • Quota, region and deployment type confirmed for the target, with the old deployment kept alongside for rollback.3
  • Fallback chain rebuilt: no retired ids, no ids retiring earlier than 15 February, and a fallback that has passed the same test (fallback equivalence test).
  • Old deployments deleted and their ids removed from allowlists after the canary is stable.
  • If you also use Cohere Embed v3, schedule the re-embedding separately; the plan is in Embed v3 retires on Azure Feb 15.

Replaying and refusing with INFRO

If your calls pass through INFRO, the model lifecycle feature records vendors' deprecation and shutdown dates, warns organizations still sending a retiring model, and from the shutdown date refuses it before any provider call, naming the replacement. Datasets built from logged requests and experiments across up to six variants, with the request count and estimated provider cost shown before the run and a spend cap, cover the replay step. Routing rules can send a share of requests to a candidate. Whether your Foundry model ids are in INFRO's catalog is something to check in the docs (opens in a new tab)9 and the catalog before relying on any of this; none of it replaces the Foundry inventory above.

Questions readers ask

Can the 15 February retirement date be extended?
Microsoft's migration guidance says retirement dates are not extendable and that there is no exception process 3. Plan on the published date.
Will Foundry upgrade my Codestral-2501 or Command A deployment automatically?
The lifecycle policy describes automatic upgrades for Global Standard, Data Zone Standard and Standard deployments, and says provisioned deployments are not upgraded 2. The pages read do not say how that applies to these two partner models, so treat auto-upgrade as unconfirmed and migrate yourself.
What happens to a call after the model retires?
On Foundry, a retired model's inference requests return 410 Gone and no new deployments can be created 2. Remove retired deployments from routes and fallback lists before the date.

From the team that builds it

Where this shows up in INFRO

INFRO is a control plane in front of the provider accounts you already hold. The capabilities below are the parts of it this article touches, each with the documentation that defines its behaviour.

  • Model retirements

    Available with a plan

    INFRO records each vendor's model deprecations and shutdown dates, warns organizations still sending a retiring model, and from the shutdown date refuses it before any provider call, naming the replacement.

  • Datasets

    Available with a plan

    Inputs and expected outputs built from logged requests in one click, uploaded as JSONL or CSV, or sent from code, kept until you delete them. On every plan.

  • Experiments

    Available with a plan

    A dataset run through the gateway across up to six variants (a model or route, a prompt version, settings), judged by your evaluators and compared side by side, with the request count and estimated provider cost shown before it starts and a spend cap it stops at. On every plan.

  • Routing rules

    Available with a plan

    If-rules on a route send matching requests to their own targets, by metadata, feature, end user, key, project, prompt size, streaming, images, tools or time of day. Failure rules decide per failure kind whether to retry, move on or stop.

    Read the documentation for Routing rules

INFRO accounts are self-serve. Provider usage is billed to you by your providers; INFRO charges a software subscription and takes 0% of model spend. See plans.

Sources

Numbered in order of first citation. Each was opened and checked against the claim on the date shown.

  1. 1.Model retirement schedule - Microsoft Foundry (opens in a new tab) — Microsoft Learn. Accessed Nov 28, 2026.
  2. 2.Microsoft Foundry Models lifecycle and support policy (opens in a new tab) — Microsoft Learn. Accessed Nov 28, 2026.
  3. 3.Model migration: upgrade or switch models in Microsoft Foundry (opens in a new tab) — Microsoft Learn. Accessed Nov 28, 2026.
  4. 4.Introducing Mistral Large 4 (opens in a new tab) — Mistral. Accessed Nov 28, 2026.
  5. 5.Latest news (opens in a new tab) — Mistral. Accessed Nov 28, 2026.
  6. 6.Introducing Command A+ (opens in a new tab) — Cohere. Accessed Nov 28, 2026.
  7. 7.Introducing North Mini Code (opens in a new tab) — Cohere. Accessed Nov 28, 2026.
  8. 8.Mistral Large 4 (Le Chonk) is now open weight (opens in a new tab) — Mistral. Accessed Nov 28, 2026.
  9. 9.INFRO documentation (opens in a new tab) — INFRO. Accessed Nov 28, 2026.

About this article

Read on 2026-11-28: Microsoft's Foundry retirement schedule, lifecycle policy and migration process pages, Mistral's news index and the Large 4 preview and open-weight posts, and Cohere's Command A+ and North Mini Code posts. Left out as unconfirmed: per-token rates, whether Command A+ is served serverless on Foundry, auto-upgrade behavior for these two partner models, and whether Codestral 25.08 is still served on Mistral's own API.

Last checked against its sources on . The next review is due by . No separate named reviewer is recorded for this article.

How articles are written, sourced and corrected is set out in the editorial standards.