Anthropic Breaking change major

Claude Code uses the shorter system prompt for unrecognized model names on Bedrock, Vertex, Foundry and Mantle

From Claude Code 2.1.312, a custom deployment name or inference profile ARN on Bedrock, Vertex, Foundry or Mantle gets the shorter system prompt even when it fronts Sonnet or Haiku. Set CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0 to keep the full prompt.

What does this mean for me?

Action needed
  • Engineering leadership

    Cost, risk, timeline, team impact Action needed

    Teams running Claude Code on Bedrock, Vertex, Foundry or Mantle through custom deployment names or inference profile ARNs changed behaviour on upgrade to 2.1.312 without touching config. Decide whether to restore the full prompt fleet-wide through managed settings.

  • Engineer

    What to change, what breaks, what to test Action needed

    If your ANTHROPIC_MODEL is a deployment name or inference profile ARN rather than a standard Claude model ID, set CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0 to keep the full system prompt, and set CLAUDE_CODE_DISABLE_REFUSAL_FALLBACK=1 if you do not want automatic model switches.

  • General consumer

    Using the Claude apps, not the API No impact

    Nothing to do: this affects Claude Code on cloud providers and does not change the Claude apps.

Claude Code 2.1.312 changes which system prompt it sends on Amazon Bedrock, Mantle, Google Vertex AI and Microsoft Foundry when the configured model name is one Claude Code does not recognize. Custom deployment names and inference profile ARNs now get the shorter system prompt, even when the deployment behind them is a Sonnet or Haiku model.

Teams that point Claude Code at a provider through an alias or ARN rather than a standard model ID were getting the full prompt before this release and get the shorter one after it, with no change to their own configuration. Behaviour that depends on the full prompt can change as a result. To keep the full prompt, set CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0.

The same release extends automatic model switches after a flagged message to unrecognized model names; CLAUDE_CODE_DISABLE_REFUSAL_FALLBACK=1 turns those off.

The changelog does not date its versions. 2.1.312 was not in the snapshot taken on October 26 at 21:07 UTC and was present on October 27 at 21:06 UTC, so the date is approximate.

Topics: Coding tools

Sources

Confidence
high
Verification
Verified: stated on the vendor's own pages
Date precision
approximate
How this entry was made
Drafted by an agent, reviewed by a person