Claude Code 2.1.311-2.1.312 run ultrathink at xhigh effort and load provider model settings from a signed file
Claude Code 2.1.311 and 2.1.312 make ultrathink run its turn at xhigh effort on current models, load model settings for Bedrock, Mantle, Vertex and Foundry from a signed file, cap concurrent prompt and agent hooks, and stop sending the safety_event OpenTelemetry event.
What does this mean for me?
Action needed
Engineering leadership
Cost, risk, timeline, team impact Worth knowingNo decision forced. If your teams run Claude Code on Bedrock, Vertex or Foundry from a locked-down network, confirm they can reach downloads.claude.ai or set CLAUDE_CODE_MODEL_CATALOG=off, and note that the safety_event telemetry feed has stopped.
Engineer
What to change, what breaks, what to test Action neededRemove any dashboards or alerts built on the claude_code.safety_event OpenTelemetry event; it is no longer sent. On third-party providers behind restricted egress, allow downloads.claude.ai or set CLAUDE_CODE_MODEL_CATALOG=off, and check hook setups that fire more than 24 prompt or agent hooks at once.
General consumer
Using the Claude apps, not the API No impactNothing to do: these are Claude Code terminal and IDE changes and do not affect the Claude apps.
Two Claude Code releases, 2.1.311 and 2.1.312, landed in this window. Most of the changes are fixes; the ones that change what a user can do or what the tool sends are below.
Effort and models. In the interactive terminal, typing ultrathink now runs that turn at xhigh effort on Opus 5.5, Sonnet 5.5, Haiku 5.5 and Fable 5.1 through Anthropic’s API; typed while Claude is working, it raises the rest of the turn. Model names and IDs drop the [1m] suffix on models where it has no effect (the suffix is still accepted). Automatic model switches after a flagged message now also cover model names Claude Code does not recognize, such as custom deployment names; CLAUDE_CODE_DISABLE_REFUSAL_FALLBACK=1 turns them off.
Third-party providers. On Bedrock, Mantle, Vertex and Foundry, Claude Code now loads model settings from a signed file on downloads.claude.ai; set CLAUDE_CODE_MODEL_CATALOG=off to turn this off, which matters for locked-down networks. Standard-context sessions that ran over 200K tokens no longer stop with “Usage credits required for 1M context”; Claude Code compacts and continues.
Hooks and telemetry. Prompt and agent hooks now run at most 24 at a time per session (sub-agents included), plus at most 12 that have outlived their event’s timeout, and a timeout under 1 second counts as 1 second. A subagent’s autoCompactWindow can now lower the window set by CLAUDE_CODE_AUTO_COMPACT_WINDOW. Claude Code stops sending the claude_code.safety_event OpenTelemetry event, which was added in 2.1.307, so dashboards or alerts built on it will go quiet. --output-format json and stream-json now escape DEL, C1 control and Unicode format characters as \uXXXX (parsed values are unchanged). In VS Code, the extension starts sessions with DISABLE_TELEMETRY set while VS Code’s telemetry setting is off.
Other additions. oidc.user_id_claim lets the Claude apps gateway identify people by an id_token claim other than sub, such as Entra ID’s oid. self-hosted-runner gains --hold-idle-file and --max-hold-min. Cloud routines get an effort level in the model picker, and Claude Tag analytics adds a Skills view.
The changelog does not date its versions. Neither release was in the snapshot taken by the October 26 run at 21:07 UTC and both were present at 21:06 UTC on October 27, so this entry is dated October 27 as an approximation; 2.1.311 may have shipped late on October 26.
Topics: Coding tools, Safety