Claude Code 2.1.330: check login, retries, and MCP behavior before using a gateway
Anthropic's changelog says Claude Code 2.1.330 shipped on November 20 with enterprise sign-in, chart support, and restored max_tokens retries. Gateway users should validate the client and route together.
The conclusion first
Anthropic's official changelog says Claude Code 2.1.330 was released on November 20, 2026. The entry lists 17 additions, 11 behavior changes, 14 improvements, and 98 bug fixes.1
For relay users, the important issue is not only the version number. Three compatibility changes matter: enterprise organization sign-in can apply an organization-selected cloud provider or gateway; automatic retry returns when max_tokens exceeds a model or gateway limit; and MCP, plugins, self-hosted runners, and VS Code behavior changed in several places. Before upgrading, validate sign-in, the base URL, model mapping, retry behavior, and tools with a non-production key.
What changed
Enterprise sign-in can select the gateway
Version 2.1.330 supports organizations managed by the Anthropic Enterprise Admin Console. After claude auth login, organization settings are applied and the organization-selected cloud provider or gateway is used.1
Therefore “the local login succeeded” does not prove that requests will use SalpX. A team policy may point Claude Code to a cloud platform and override the relay address in environment variables. Administrators and developers should verify the final host, authentication method, and model name instead of relying on the sign-in confirmation.
max_tokens retry behavior returns
The changelog says 2.1.330 restores automatic retry when max_tokens exceeds a model or gateway limit, reversing its removal in 2.1.329.1
That changes the request shape seen by a gateway: one user action may create multiple attempts. A relay must handle request IDs, reservations, and refunds correctly so each retry is not treated as a separate billable task. Side-effecting tool calls also need an idempotency strategy. If request counts or log entries increase after an upgrade, check client retry behavior before blaming the route.
MCP and plugin boundaries are clearer
The entry also records MCP, plugin, and runner changes: name-based deniedMcpServers entries now hide only the same-named claude.ai connector, not every connector with the same URL; plugin installation JSON adds commandPrinted and commandFailed; self-hosted runner hooks can start concurrently, with a default maximum of four per orchestrator; and more high-risk rm commands ask for approval.1
The relay impact is indirect but real. Tool schemas, plugin commands, and approval policy can affect latency and context size. A relay should report tool failures separately from model text failures and should not label MCP denial, permission approval, and upstream 5xx as “the model is unavailable.”
A SalpX integration checklist
SalpX's public API reference says normal OpenAI-compatible integration uses Base URL https://www.salpx.com/v1 and Bearer <API Key> authentication. Available models depend on configured pricing, enablement, and the user's group.2
Check in this order:
- Verify the final address: the client must use the gateway you intend to test; do not append
/v1twice to a complete endpoint.
- Verify the final model: enterprise policy, environment variables, and client settings can change the model name. Confirm it with a model list or a minimal request.
- Verify the key and group: a valid key does not imply that the current group can use every model. Read the error before treating 401, 403, or unavailable-model responses as a route failure.
- Verify retries and billing: keep the request IDs generated by one user action and check whether failed attempts are refunded or released.
- Verify tools: enable only needed MCP tools, test whether schemas are accepted by the gateway and provider, and only then enable high-concurrency runners.
- Verify rollback: keep the previous version command and configuration. If 400s, tool failures, or duplicate requests rise, return to the old version and isolate the difference.
Why one Hello test is not enough
A short text proves only basic authentication, path, and output. It does not prove the full Claude Code workflow. Add at least four tests: long context, a max_tokens boundary, an MCP tool call, and behavior after a rejection or retry. For video or other asynchronous work, preserve the task ID and poll it as documented; SalpX's reference describes asynchronous submission, polling, and result retrieval, with client timeouts covering the upstream wait.2
When upgrading a client, test whether login, endpoint, tools, retries, billing, and rollback still agree—not merely whether the model can answer one sentence.
A team rollout checklist
- Record the Claude Code version, gateway base URL, and model mapping in a locked version file.
- Use a separate test key to verify that enterprise sign-in policy does not override the intended gateway.
- Record client version, request ID, error code, retry count, and final billing state for each operation.
- Include MCP schemas and plugin permissions in release tests.
- Put a maximum total deadline around
max_tokens, tool calls, and long tasks so automatic retries cannot extend forever. - When something fails, preserve logs and roll back the client before changing the gateway, model, and key at the same time.
2.1.330 is a client update; it does not mean every relay route automatically supports every new behavior. Before production rollout, run a small but complete regression against the real gateway address.
1: Anthropic, “Claude Code changelog”, 2.1.330 entry dated November 20, 2026: https://code.claude.com/docs/en/changelog 2: SalpX, “SalpX API reference”: https://www.salpx.com/api-docs/
Sources & attribution
This article references the public materials listed below. Analysis and wording are SalpX's own; quoted material remains the property of its original authors and publishers.
- Claude Code changelog — Anthropic · accessed 2026-11-22Note:Anthropic's official Claude Code changelog, confirming the November 20, 2026 release of 2.1.330 and its additions, behavior changes, and fixes.
- SalpX API 参考 · 单页文档 — SalpX · accessed 2026-11-22Note:SalpX's official API reference documents OpenAI compatibility, the base URL, authentication, and asynchronous video tasks.
One key for Claude, GPT and 50+ models
The SalpX gateway is OpenAI-SDK compatible. Point base_url at https://www.salpx.com/v1 and you are done.