6 pages for claude_code_enable_gateway_model_discovery.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Environment variables
Claude Code CLI · in the page
env-vars
…| | `CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY` | Set to `1` to populate the `/model` picker from your gateway's `/v1/model…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…have already enabled it through managed settings. To enable it, set `CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1` in your shell or in the `env` block of `~/.claude/settings.json`. Discovered models…
Claude Code gateway compatibility guide
Claude Code CLI · in the page
llm-gateway-protocol
…discovered models from the picker. Developers enable it by setting [`CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1`](/docs/en/env-vars), in their own environment or through managed settings. Discovery…
Roll out an LLM gateway for your organization
Claude Code CLI · in the page
llm-gateway-rollout
…ude Code v2.1.273 or later | Your gateway reads the hint headers | | `CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY` | Queries the gateway's `/v1/models` at startup and adds the returned names to the `/m…
Model configuration
Claude Code CLI · in the page
model-config
…an populate the picker from the gateway's `/v1/models` endpoint when `CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1` is set, so this variable is needed only when discovery is disabled or does not retur…
Week 18 · April 27 – May 1, 2026
Claude Code CLI · in the page
whats-new/2026-w18
…PIC_BASE_URL` points at an Anthropic-compatible gateway; opt in with `CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1` since v2.1.129MCP servers that hit a transient error during startup now auto-retry u…