Claude apps gateway configuration changedclaude-apps-gateway-config
Upstream edited this page at 23 Nov 2026 04:19 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 23 Nov 2026 04:37 UTC.
Upstream edited
Recorded here
Lines+12added
Lines−6removed
From line
1,468
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits77to this page, all time
The whole hunk
from line 1468, old and new numbered
/
from line 1468
14681468
14691469To change what the picker offers, use one of these:
14701470
1471* **Start users on the 1M option**: set `modelPrefer1mContext: true` in the policy's `desktop` block. Users who haven't yet chosen a model start on the 1M option when the first listed model has one. Users who already chose a model keep their choice.
1471* **Show only the 1M option**: set [`modelPrefer1mContext`](https://claude.com/docs/third-party/claude-desktop/configuration#modelprefer1mcontext) to `true` in the policy's `desktop` block. You need Claude Desktop 2.31226.0 or later on members' machines.
14721472* **Offer the option by hand**: do this if your gateway server runs a version older than v2.1.284, or an entry names no Claude model. List the model twice in `models`, once with its plain ID and once with `[1m]` appended, both with the same `upstream_model` map. Claude Desktop shows the pair as one model with a 1M option. The gateway serves a `[1m]` entry without checking it, so add one only for a model your upstreams serve at 1M.
14731473
1474This example offers the option by hand for a custom alias routed to an application inference profile, and starts new users on it:
1474This example lists a custom alias and its `[1m]` variant, both routed to an application inference profile, and sets `modelPrefer1mContext`:
14751475
14761476```yaml theme={null}
14771477models:
from line 1693
16931693
16941694If you leave both `access_control` lists empty, which is the default, the gateway serves any client address, so only your network restricts who can reach it. That matters because a gateway can push [managed settings](#managed) that run commands on developer machines.
16951695
1696While `allow_cidrs` is empty, the gateway warns in two places, without changing how it answers any request:
1696To refuse clients from outside your network, set `allow_cidrs` to these private ranges, plus any other internal ranges your developers connect from:
16971697
1698* **At boot**: a warning in the operational log recommends allowing only the private ranges `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`, `100.64.0.0/10`, `127.0.0.0/8`, `::1/128`, and `fc00::/7`, plus any other internal ranges your developers connect from. If you bind the gateway to a loopback address and set neither `trusted_proxies` nor `public_url`, as in local development, the warning doesn't appear.
1699* **At runtime**: the first time a request arrives from an address outside those private ranges, the gateway logs a warning and emits an [`access.public_client` audit event](https://code.claude.com/docs/en/claude-apps-gateway-deploy#logs) carrying the client IP. Both fire once per process. Link-local addresses, `169.254.0.0/16` and `fe80::/10`, don't count as public. The gateway answers `/healthz` and `/readyz` before this check runs, so health probes from public ranges don't trigger it.
1698* **IPv4**: `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`, `100.64.0.0/10`, and `127.0.0.0/8`
1699* **IPv6**: `::1/128` and `fc00::/7`
1700
1701While `allow_cidrs` is empty, the gateway watches for requests from outside the private ranges above, without changing how it answers them:
1702
1703* **Once per process**: when it serves such a request, the gateway logs a warning and emits an [`access.public_client` audit event](https://code.claude.com/docs/en/claude-apps-gateway-deploy#logs) carrying the client IP.
1704* **Not counted as public**: link-local addresses, `169.254.0.0/16` and `fe80::/10`.
1705* **Not checked**: health probes to `/healthz` and `/readyz`, which the gateway answers before this check runs.
17001706
17011707Both signals use the client address as the gateway resolves it. If a load balancer, port-forward, or tunnel relays traffic and isn't listed in `listen.trusted_proxies`, the gateway sees the relay's address, which is usually private, so neither the runtime warning nor a private allow list catches traffic relayed through it.
17021708
No line in this hunk matches that.