AI Models in Microsoft Foundry for C# Developers

AI models in Microsoft Foundry for C# developers: GPT, Claude, Grok, MAI, image and more

Last updated: 24 October 2026

Microsoft Foundry now hosts models from OpenAI, Anthropic, xAI, Microsoft, Moonshot AI and Cohere – and new versions arrive every few weeks. This page brings together all my hands-on guides for using them from C# and .NET: what each model is good at, how to call it, and working code you can run.

If you are new to building with LLMs in .NET, start with Prompt Engineering for .NET Developers, then pick a model below.

Which model should I use?

A quick guide to the posts on this page, by what you want to build:

All models at a glance

Model Provider Best for Guide
GPT-6.1 Sol OpenAI Production agents, coding, computer use Oct 2026
GPT-6 Astra OpenAI Planning agents, tool-driven workflows Sep 2026
GPT-5.6 Sol OpenAI Multi-turn chat, retrieval-grounded answers Aug 2026
GPT-5.5 OpenAI Enterprise agents, long context Apr 2026
Claude Opus 5.5 Anthropic Demanding coding and agent work (Anthropic.Foundry SDK) Oct 2026
Claude Haiku 5.5 Anthropic High-volume automation, support bots, subagents Oct 2026
Claude Code + Opus 5.5 Anthropic AI-assisted development in the CLI and VS Code Oct 2026
Claude Opus 4.8 Anthropic Coding and agentic workflows Jun 2026
Grok 4.7 xAI Tool calling, Entra ID auth, OpenAI-SDK compatible Oct 2026
Grok 4.6 xAI Agentic tool calling, selectable reasoning effort Aug 2026
Grok 4.3 xAI Reasoning for agentic apps May 2026
MAI-Thinking-1 Microsoft Reasoning Aug 2026
Microsoft-Decision-1 Microsoft Choosing between options (decision model, not chat) Oct 2026
MAI-Voice-2 Flash Microsoft Low-latency speech on Azure Speech Jul 2026
GPT-image-2.5 Flare & Sunburst OpenAI Fast iterative generation, precise editing Sep 2026
GPT-Image-2 OpenAI 4K, multilingual image generation Apr 2026
MAI Image 2.6 & 2.6 Flash Microsoft Image generation in Foundry Sep 2026
MAI-Image-2.5 Pro Microsoft Microsoft’s first-party image model Jul 2026
Kimi K2.7 Code Moonshot AI Coding Jul 2026
Cohere Command A+ Cohere 48 languages, multimodal input, 128K context Jun 2026

OpenAI GPT models

The GPT family is the default choice for many Foundry projects, and each new version has pushed further into agents and coding.

Anthropic Claude models

Claude models run in Foundry through the Anthropic.Foundry SDK, from the flagship Opus for demanding work to Haiku for speed and cost.

xAI Grok models

Grok in Foundry works with the OpenAI SDK you may already be using, which makes it easy to try alongside GPT.

Microsoft MAI and first-party models

Microsoft’s own models cover reasoning, decisions and voice – including model types that aren’t chat models at all.

Image models

More models in Foundry

Foundations

Stay up to date

New models land in Foundry every few weeks, and I add a guide for each one here. Subscribe to get them by email, or read my book Prompt Engineering for .NET Developers for the fundamentals behind all of them.