Context Mode and Azure AI Gateway

Your developers' coding agents fill their context with raw tool output, forget the project between sessions, and can run a command such as git push --force. Context Mode works on these three problems inside the coding agent's session. Azure AI Gateway governs the model and tool calls of your apps and agents. Context Mode Standard is $500 a month for the whole team, with a 99.9% uptime SLA.

Our test numbers on this page are from the published benchmarks. Every fact about Azure AI Gateway comes from a Microsoft page in Sources. Retrieved 2026-11-24.

What Context Mode does in the session

Context Mode is the control plane between coding agents and models. It is on the request path of Claude Code, Claude Desktop, Codex, Codex Desktop, T3 Code, OpenCode and Pi. Each test below ran the same agent two ways: connected direct to the model, and through Context Mode.

Your coding agents keep their own Anthropic or OpenAI account. Context Mode sits between the agent and that account.

Side by side

Microsoft made Azure AI Gateway generally available on 2026-11-17. Its facts below are from that announcement and from Microsoft Learn. Ours are on Pricing and in the benchmarks.

Context Mode StandardAzure AI Gateway
Built forTeams whose developers run coding agents every dayPlatform teams that govern the models and tools of AI apps and agents
Where it actsInside each coding agent session, on the request path between the agent and the modelAt the gateway endpoints that apps and agents call for models and MCP tools
Context and spendFolds long tool output before the model reads it. A long session in Claude Code on Claude Opus 5.5 went from $7.20 to $2.49 of model spend, and 168 paired runs on 10 shorter tasks went from $28.28 to $23.16.Token and request limits for each caller. Cost limits stop new requests when the estimated spend reaches a budget.
For each developerPrivate memory and recall, and skills on every machineA catalog of approved models and tools to find, test and connect
Risky actionsProtect blocks a shell command such as git push --force before it runs, in Claude Code and Codex, with one set of rules for the teamCurates and blocks MCP tools at the gateway. Azure AI Content Safety screens prompts and responses.
RecordsThe console shows what each request saved. The Protect log shows what agents tried and which rule answered.The caller, the target, the tokens and the outcome of each model and tool call, exported over OpenTelemetry
Coding agentsOn the request path of Claude Code, Codex, OpenCode, Pi and their desktop appsA plugin for GitHub Copilot CLI, Claude Code, Cursor and Gemini CLI finds approved models and tools and connects your app
Model providersAnthropic and OpenAI. The gateway forwards to api.anthropic.com, api.openai.com and chatgpt.com.Microsoft Foundry, Azure OpenAI, OpenAI, Anthropic, Amazon Bedrock, Google Vertex AI or any OpenAI-compatible endpoint
Uptime99.9% monthly uptime SLA, with service creditsA fully managed Azure service that scales with traffic, in 17 Azure regions
Price$500 a month for the whole team$500 a month for each gateway, charged by the hour. Paid billing starts 2027-01-01.
Included requests10,000,000 a month, one pool for the whole team10,000,000 a month for each gateway
Extra requestsOff until the admin sets a budget, then $0.75 per 1,000. In a 30-day month the pool is 333,333 requests a day: 22,222 a day for each developer in a team of 15.$20 per 1,000,000 requests
Free tierFree plan: 10,000 requests a month10,000 requests a month

What Azure AI Gateway does

Azure AI Gateway is a managed gateway for AI traffic: requests to AI models and to Model Context Protocol (MCP) servers (overview). Apps and agents call the gateway. A platform team manages the connections, the access, the policies and the records in one place (concepts). It is a separate product from Azure API Management, in the same family (Microsoft's comparison).

Which one to choose

Keep Azure AI Gateway for your applications. Connect your coding agents to Context Mode.

Compliance documents and the security questionnaire: on request, through Talk to us. See also how we handle your data.

The next step: start Standard in the console and invite your team. npx @context-mode/cli signs each developer in and connects their agents.

Sources

Retrieved 2026-11-24. Each line names the page and what we took from it.

If a fact here is out of date, tell us and we fix it.

Get started free

Context Mode Gateway: your coding agent costs less and remembers your project. Context Mode Engine installs from your terminal.

Start free: 10,000 requests, every feature, no card. After you sign in, the console gives you one command to connect your coding agent.

Read the docs