{"version":"2.1.195","anchor":"vertex-1m-context-warning-for-unsupported-models","canonical_anchor":"vertex-1m-context-warning-for-unsupported-models","heading":"Vertex 1M Context Warning for Unsupported Models","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.195\/e\/vertex-1m-context-warning-for-unsupported-models","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.195","markdown":"### Vertex 1M Context Warning for Unsupported Models\n\n**What**\n\nA warning is emitted when requesting the 1M context beta (`[1m]` model suffix) on Vertex for models that do not support it.\n\n**Details**\n\n- The check fires at startup when the resolved gateway configuration includes a vertex upstream that serves `claude-sonnet-4-5` or `claude-sonnet-4` models (identified internally as `sonnet45` \/ `sonnet40`).\n- If the gateway config sets `auto_include_builtin_models: true`, the built-in `claude-sonnet-4-5` model is automatically added to the warning list even when no explicit upstream model mapping covers it.\n- The emitted message names the specific model IDs that triggered it: `\"vertex upstream serves <model-list>: Sonnet 4.5\/Sonnet 4 do not support 1M context on Vertex \u2014 requests with the context-1m beta (the [1m] model suffix) for these models will be rejected with a 400. Vertex 1M lineup: Opus 4.6+\/Sonnet 4.6.\"`\n- Emitted as a `warn`-level log via `gu(\"warn\", \u2026)` during gateway config validation; does not block startup or abort the request.\n- Only vertex-provider upstreams are checked; other providers (bedrock, foundry, etc.) are unaffected by this warning.\n\n**Evidence**\n\nVertex 1M limitation notice (search for `\"Sonnet 4.5\/Sonnet 4 do not support 1M context on Vertex\"`, `u5c`, `auto_include_builtin_models`)"}