Learning resourcesReviewed · Anthropic

Other LLM gateways

Other LLM gateways is a guide for developers and administrators connecting Claude Code to an existing organizational gateway, but the organization must keep that gateway compatible as Claude Code evolves. It explains centralized credentials, rollout, billing and restrictions on permitted destinations. Detailed connection instructions and protocol requirements are on linked pages.

Researched 25 Nov 2026

In short.

Other LLM gateways is a Claude Code guide for developers and administrators using an existing organizational gateway, but the organization must operate it and maintain compatibility with Claude Code updates. It explains how a gateway can centralize credentials, usage tracking, budgets and audit logging. Changing providers without reconfiguring developer machines requires a single Anthropic-format endpoint. Gateway credentials replace subscription authentication and route charges to the upstream credential owner's account; setting only the gateway URL can preserve subscription authentication and billing. The page also documents managed destination restrictions requiring Claude Code v2.1.285 or later. Exact prices, product-specific compatibility and measured operational results are not established.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is the complete captured page at [https://code.claude.com/docs/en/llm-gateway.md], including gateway benefits, rollout instructions, managed destination restrictions, the Desktop and Cowork notice, subscription behavior and related-page descriptions. Linked pages and third-party gateway documentation are excluded. No software was executed. Product-specific compatibility, reliability, security, performance and exact costs are not established.

The overview

Identity

Other LLM gateways is a Claude Code documentation page at [https://code.claude.com/docs/en/llm-gateway.md]. It explains how to route Claude Code through a gateway product an organization already operates.

The page introduces the gateway's role, outlines organization-wide rollout and explains credential and subscription behavior. It directs developers, administrators and gateway operators to separate pages for detailed configuration.

Assessment

The guide is useful for deciding whether an existing gateway can support an organization's Claude Code deployment. Its most decision-relevant details are the maintenance burden, the conditions for changing upstream providers without changing client settings, and the distinction between gateway credentials and saved subscription authentication.

It provides an architectural explanation and rollout sequence. Complete API requirements, per-surface connection settings and troubleshooting instructions are delegated to linked documentation, so this page alone is insufficient for a detailed implementation.

Users

Developers connecting to an existing gateway can use the page to understand where their gateway address and credentials fit, and why gateway traffic may have different billing from their claude.ai subscription.

Administrators responsible for shared configuration, developer offboarding and usage attribution get a rollout outline. Gateway operators get an explanation of why forwarding new Claude Code capabilities matters, with a pointer to the compatibility reference.

Capabilities

The page describes a gateway as a central place to keep provider credentials server-side, attribute usage to developers or teams, enforce budgets and rate limits, log model requests, and change upstream providers. Developers receive gateway credentials instead of the provider key.

Changing providers without reconfiguring developer machines depends on exposing one Anthropic-format endpoint regardless of upstream provider. The page does not demonstrate any particular gateway product's budget enforcement, logging or compatibility.

Using it

Requirements

The documented credential-based rollout assumes a deployed gateway, a provider credential held by that gateway, per-developer gateway credentials, and a way to distribute configuration and secrets. Developers can configure variables themselves when managed distribution is unavailable.

The gateway must expose a supported API format and forward the capabilities Claude Code needs. The page links to the format and forwarding requirements without enumerating them. Its managed destination restriction requires Claude Code v2.1.285 or later; a general minimum version for all gateway use is not stated.

Mechanism

A gateway sits between Claude Code and the model provider. ANTHROPIC_BASE_URL points Claude Code at the gateway's server address. The gateway forwards requests upstream using its configured provider connection. A provider-specific API format ties client configuration to that provider and changes client behavior and defaults.

While a gateway credential variable or apiKeyHelper is active, requests use that credential instead of the saved claude.ai subscription login. Setting only ANTHROPIC_BASE_URL does not replace subscription authentication. For subscription traffic forwarded to Anthropic, the gateway must preserve Authorization and the OAuth capability in anthropic-beta.

Setup

The rollout sequence is to deploy the gateway with its provider credential, issue individual developer credentials, and distribute the gateway address and credentials through managed settings and secrets tooling. Each developer should then check that Claude Code received the configuration. Individual credentials allow offboarding to revoke one developer's access.

For an enforced ANTHROPIC_BASE_URL destination, the page says to set allowedProviders to ["customEndpoint"] and place the approved ANTHROPIC_BASE_URL in the same managed settings file's env block. Claude Code then rejects other destinations and other values for that variable. Provider-specific endpoint variables, such as ANTHROPIC_BEDROCK_BASE_URL, require the corresponding allowedProviders entry; its exact value is delegated to the linked reference.

Example

An illustrative deployment would give every developer the same Anthropic-format gateway address and an individual gateway credential, delivered through managed settings and secrets tooling. The provider key would stay on the gateway, and usage could be attributed to each developer.

If the organization later changed upstream providers while preserving that endpoint, developer machines would not need a provider configuration change. This follows the page's stated architecture; it is not a tested deployment. Anthropic's stated support still excludes routing Claude Code to non-Claude models.

Assessment & evidence

Limitations

Anthropic states that it does not endorse, maintain or audit third-party gateway products, and does not support routing Claude Code to non-Claude models through a gateway. New Claude Code capabilities can fail when a gateway does not forward them, making ongoing gateway updates part of the operating burden.

The destination restriction also affects Cowork. With Desktop signed in to claude.ai, a local Cowork session counts as anthropic. Omitting anthropic from allowedProviders refuses that session; including it also permits sessions sent directly to Anthropic.

The page does not establish a specific gateway's reliability, security, logging retention or feature compatibility. It contains no execution results or measured performance comparisons.

Reasoning

An existing gateway is a plausible fit when centralized credentials, usage attribution and budget controls justify operating another infrastructure component. Individual gateway credentials also provide a defined way to revoke one developer's access.

The provider-switching benefit depends on endpoint design: one Anthropic-format endpoint can preserve client settings across upstream changes, while provider-specific formats retain a client dependency on the provider. Subscription billing and Cowork access need explicit consideration because the documented credential and destination settings affect both.

Alternatives

The page identifies Claude apps gateway as Anthropic's self-hosted alternative with SSO sign-in and OTLP telemetry [https://code.claude.com/docs/en/claude-apps-gateway]. Its detailed requirements, costs and comparative capabilities are not established by this page.

A gateway overview is linked for choosing between Claude apps gateway and another product [https://code.claude.com/docs/en/gateways.md]. No third-party gateway products are named or compared in the supplied text.

Evidence

The evidence is the complete documentation page acquired from its original address, [https://code.claude.com/docs/en/llm-gateway.md], captured on 2026-11-25 at 18:44:33.823 UTC. It supports the explanations of gateway responsibilities, rollout, authentication, billing and managed destination restrictions.

The material is documentation evidence. It includes no runtime results, independent compatibility checks, security audit or performance measurements. Linked connection, rollout, protocol and settings pages are references; their contents are not included.

Access & freshness

Costs

With a gateway credential variable or apiKeyHelper active, subscription usage limits do not apply to those requests. Traffic is billed per token to the owner of the credential the gateway forwards. The page names an organization's Anthropic Console, Amazon Bedrock, Google Cloud's Agent Platform and Microsoft Foundry accounts as possible billing destinations.

If only ANTHROPIC_BASE_URL is set and a saved claude.ai login remains active, subscription usage limits and billing still apply. The page supplies no token rates, gateway fees, hosting estimates or total-cost comparison. Those amounts are unknown.

Rights

The supplied page does not state a documentation license or permission to redistribute its text. Licensing and usage terms for third-party gateways and upstream providers are also unspecified.

The resource supplies documentation, with no gateway implementation or reusable code library included. Rights to distribute a gateway product cannot be inferred from this guide.

Freshness

The capture date is 2026-11-25. The supplied text does not establish a publication date, last revision date or current Claude Code release.

Claude Code v2.1.285 is the stated minimum for the managed destination restriction. It should not be treated as the general minimum for gateway connections or as the latest release. The page explicitly warns that gateway compatibility needs attention as Claude Code adds capabilities.

Actions

Developers can follow the connection reference for machine-specific settings and configuration checks [https://code.claude.com/docs/en/llm-gateway-connect.md]. Administrators can use the rollout reference to plan credential issuance and configuration distribution [https://code.claude.com/docs/en/llm-gateway-rollout.md].

Before deployment, confirm the gateway's API format and forwarding behavior against the compatibility reference [https://code.claude.com/docs/en/llm-gateway-protocol.md]. Establish which account will pay for requests, whether subscription authentication is intended, and whether destination restrictions must permit Cowork. Verify the chosen gateway and deployed Claude Code version together; that behavior has not been tested here.

Evidence for this report

selected-page.txtselected · checked 2026-11-25