PSHarriJaakkonen:~/Blog/Posts>cat ./foundry-mai-code-image-cyber-models-model-router.html

Microsoft Foundry adds MAI models and model-router updates

Microsoft Agent Platform and Foundry updates at Ignite 2026, covering knowledge retrieval, model routing, evaluation, Kubernetes runtime and persistent cloud desktops
Invoke-Support -For "my work"

If you find these articles useful, you can support my work through Stripe.

Contribute via Stripe

Ignite brought several Microsoft AI models into Foundry and updated model routing. The details changed quickly after the keynote: Microsoft's November 17 model posts specify access and pricing, while the November 18 Microsoft Learn update lists the router's current model count and API behavior. The official sources are the Ignite Book of News, Microsoft AI's model announcement and model router release notes.

For the evaluation side of model selection, see my AI-300 guide to GenAI optimization and the Foundry continuous-improvement article. A model's benchmark headline is only a shortlist signal; the production decision still depends on your workload.

Status at a glance

Several of these items are preview or limited-availability, so it's worth separating them before planning anything.

OfferingFocusStatus per announcement
MAI Code 2Complex enterprise coding, debugging and multi-file workGenerally available in GitHub Copilot; not listed for Foundry
MAI Code 2 FlashHigh-volume, everyday codingGenerally available in GitHub Copilot; limited-access preview in Foundry
MAI Image 2.7 and MAI Image 2.7 FlashImage generation and editingPublic preview in Foundry
MAI Cyber 2 FlashCybersecurity investigations and detection authoringPlanned for Microsoft Security products, including MDASH, for eligible customers from mid-December
Microsoft Decision 1.1Classification, routing, ranking, grading and other bounded decisionsGenerally available in Foundry
Fal video models (Kling, LTX, MiniMax)Video generationPreview in Foundry
Baseten on FoundryServerless open-model inference, with a Data Zone optionPublic preview
Managed ComputeDedicated GPU infrastructure managed by Foundry, billed hourlyGenerally available

Coding: MAI Code 2 and MAI Code 2 Flash

MAI Code 2 targets complex enterprise coding, including deep debugging, multi-file implementation and repository-wide reasoning. Microsoft reports 98% of GPT-6.1 Sol's performance at 40% of its price, averaged across DeepSWE 1.1, Terminal Bench 2.1, SWE-Atlas and FrontierCode 1.1. The published comparison uses Microsoft's internal evaluation platform and a 50% promotional price for MAI Code 2. MAI Code 2 Flash targets routine, high-volume work such as explanations, targeted edits and fixes. Both are available in GitHub Copilot; Flash is in limited-access preview in Foundry.

Microsoft says the models aren't tuned for fundamental science research or very long-horizon agent work. The model card documents a one-million-token context window, but context length alone doesn't establish that a model can reliably complete a long task. Test patch correctness, tool use, repo-level reasoning, latency and cost with the same tasks you plan to run.

Create: MAI-Image-2.7 and MAI-Image-2.7-Flash

MAI Image 2.7 and MAI Image 2.7 Flash are in public preview in Foundry. Microsoft lists approximate prices of $35 and $10 per 1,000 images, respectively. These are vendor-published preview prices; confirm the current Foundry price before budgeting. Use your own image-editing and generation examples to check text rendering, identity consistency and output quality.

Secure: MAI-Cyber-2-Flash

MAI Cyber 2 Flash is not a general Foundry deployment. Microsoft says it is coming exclusively to Microsoft Security products, including Codename MDASH, where it will replace the existing model in the MAI profile for eligible customers starting in mid-December. Its model card reports 92.3% task success on CyberGym-E2E against 91.5% for GPT-6 Astra at half the reasoning budget, and less than 2% of the cost per task. Microsoft also says 92 of 905 benchmark tasks shared source projects and vulnerability reports with some of its training data; it excluded those tasks from every model's reported score. These are vendor evaluations, not a guarantee of results on your repositories. Keep analyst review for findings and remediation decisions.

Decisions: Microsoft-Decision-1.1

Microsoft Decision 1.1 is generally available in Foundry and can also act as a judge in Foundry Evaluations. It returns typed decisions for tasks such as classification, routing, ranking and verification; it is not a general-purpose model for writing explanations or summaries. A request provides a state and one or more bounded questions, such as a yes/no gate, a choice from a fixed set or an ordered score. The Microsoft Learn deployment guide recommends validating thresholds against labeled examples and routing low-confidence decisions to a person or another model. Microsoft reports that Decision 1.1 is 50 times faster and 79 times cheaper than GPT-6.1 Sol; those are vendor comparisons, so measure your own workload.

Route: model router in Foundry Models

The model router chooses an underlying model for each request. The Ignite Book of News described an expanded pool toward 50 models and model-router support in AI Gateway. The current Microsoft Learn update is more precise about what is available now:

  • As of November 18, the documented router version covers 45 models. The pool includes MAI Code 2 Flash. The announcement's 50-model figure is therefore a direction, not the current documented count.
  • Auto, which calls the router without a deployment, is in preview.
  • The Responses API is supported natively. The Anthropic Messages API, per-request routing controls and adaptive session affinity are in preview.
  • AI Gateway can use the router for automatic model selection behind an alias. The routing fee is waived during the preview, according to Learn.

The router is a quality, latency and cost trade-off, not a guarantee that every request gets the same model or behavior. The Foundry Monitor tab and evaluation flow can compare the router with a fixed model, including cost and latency. Use that comparison with representative production prompts before changing the default route.

Three distinct model choice patterns in Microsoft Foundry A fixed deployment selects one known model, the Foundry model router chooses an underlying model per request, and Microsoft Decision 1.1 returns a bounded typed decision. Evaluate each against the same representative workload. PICK THE DECISION SURFACE THAT MATCHES THE TASK KNOWN MODEL Fixed deployment Send each request to the model you've selected. Change it deliberately. PER-REQUEST SELECTION Model router Select an underlying model from the supported pool. Auto is in preview. AUTO / PREVIEW BOUNDED JUDGMENT Decision 1.1 Return a typed choice for classification, ranking or a yes/no gate. GA EVALUATE ON ONE REPRESENTATIVE TASK SET Answer quality / P95 latency / cost per task Include failure rate and route consistency.
A fixed deployment chooses the model before a request. The router selects a model for each request. Decision 1.1 returns a bounded judgment, and can be evaluated separately or used as a gate in a larger workflow.

Choice: video models and Baseten

Foundry offers models from Microsoft, OpenAI, Anthropic, Meta, Mistral and the open-source community. The November Foundry post also adds dedicated and partner-hosted inference options:

  • Video generation from fal: Kling v3 Pro, MiniMax H3 Max and H3 Max Turbo, and LTX-2.5 Pro and Fast.
  • Baseten on Foundry: public preview with serverless pay-as-you-go deployments, globally or in the US Data Zone. The announced model set includes Kimi-K3, GLM 5.3 and DeepSeek V4.1-Flash.
  • Managed Compute: generally available dedicated infrastructure managed by Foundry and billed at an hourly GPU rate. Data Zone availability supports workloads that need processing within a geographic boundary.

These options have different operating and billing models. Compare serverless request pricing with the hourly cost of dedicated GPU capacity, and confirm which models, regions and Data Zones each deployment path supports before comparing cost per task.

Practical implications

  1. Check availability per surface. The coding models are GA in GitHub, but the Foundry story is private preview for Flash only.
  2. Keep preview items out of production plans: image, video and Baseten are public preview; MAI Cyber 2 Flash is planned for eligible Microsoft Security customers, not Foundry.
  3. If data residency matters, note that Baseten deployments are described as global or US Data Zone.
  4. Evaluate before routing. The router and Decision model reduce manual selection, but you still need your own quality and cost baselines.

Benchmark candidates with your workload

Build a small eval set with actual task inputs, expected outcomes, tool requirements and failure conditions. Compare a fixed model, a routed request and a decision-model gate on quality, P50/P95 latency, token or image cost, and unsupported outputs. Keep the route version and model availability date with the results because both the model pool and preview status can change.

The broader Foundry story is covered in the continuous-improvement draft, which explains how evaluations connect model changes to production traces. For the knowledge supplied to those agents, see the Foundry IQ draft. The runtime side is in the AKS, Agent Grid and Agent Sandbox article.

Official sources

Next part

Part 3: Improvement & training shows how to evaluate model and skill changes against production evidence.

Archives