Source Intelligence
Sweep 28 Aug 2026 ยท 16:06Z Build v2.1.251 479 read Stable v2.1.236 Latest v2.1.251 Next v2.1.251 Feeds RSS JSON llms.txt

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

Search the documentation

9 pages for claude_code_use_foundry.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Quickstart Claude Code CLI · in the page agent-sdk/quickstart …configure Google Cloud credentials * **Microsoft Foundry**: set `CLAUDE_CODE_USE_FOUNDRY=1` environment variable and configure Azure credentials See the setup guides for [Amazon Bedrock](/do… Authentication Claude Code CLI · in the page authentication …ntials, when `CLAUDE_CODE_USE_BEDROCK`, `CLAUDE_CODE_USE_VERTEX`, or `CLAUDE_CODE_USE_FOUNDRY` is set. See [third-party integrations](/docs/en/third-party-integrations) for setup. 2. `ANTHROPIC_AUTH_T… Claude Code on Claude Platform on AWS Claude Code CLI · in the page claude-platform-on-aws …ecedence in provider routing, so unset `CLAUDE_CODE_USE_BEDROCK` and `CLAUDE_CODE_USE_FOUNDRY` if they're set. ### 3. Pin model versions Claude Platform on AWS uses the same model IDs as the direct… Data usage Claude Code CLI · in the page data-usage …ROCK` must be 1. | Default off.<br />`CLAUDE_CODE_USE_FOUNDRY` must be 1. | Default off.<br />`CLAUDE_CODE_USE_ANTHROPIC_AWS` must be 1.… Feature availability Claude Code CLI · in the page feature-availability …ODE_USE_VERTEX` * **Microsoft Foundry**: Anthropic-operated; you set `CLAUDE_CODE_USE_FOUNDRY` ### Features available on every provider These work on every provider: * [CLI](/docs/en/quickstart) an… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …oundry export ANTHROPIC_FOUNDRY_API_KEY=sk-gateway-key export CLAUDE_CODE_USE_FOUNDRY=1 ``` </Tab> <Tab title="PowerShell"> ```powershell theme={null} $env:ANTHROPIC_FOUNDRY_B… Gateway protocol reference Claude Code CLI · in the page llm-gateway-protocol …configurations: `CLAUDE_CODE_USE_BEDROCK`, `CLAUDE_CODE_USE_VERTEX`, `CLAUDE_CODE_USE_FOUNDRY`, and [`CLAUDE_CODE_USE_MANTLE`](/docs/en/amazon-bedrock#use-the-mantle-endpoint). They have no effect beh… Claude Code on Microsoft Foundry Claude Code CLI · in the page microsoft-foundry …: ```bash theme={null} # Enable Microsoft Foundry integration export CLAUDE_CODE_USE_FOUNDRY=1 # Azure resource name (replace {resource} with your resource name) export ANTHROPIC_FOUNDRY_RESOURCE={r… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …DE_USE_BEDROCK`, `CLAUDE_CODE_USE_MANTLE`, `CLAUDE_CODE_USE_VERTEX`, `CLAUDE_CODE_USE_FOUNDRY`, `CLAUDE_CODE_USE_ANTHROPIC_AWS`, or a non-default `ANTHROPIC_BASE_URL`…