LLM API Guide

Claude Code X.Y does not support this model; version X.Z or newer is required

The Claude Code binary that sent the request is older than the minimum for the model you picked. Update that binary; it may be a desktop app or SDK copy, not the CLI in your PATH.

Summary

  1. Opus 5.5 needs Claude Code v2.1.280 or later and Sonnet 5.5 needs v2.1.284 or later.
  2. On the stable release channel, claude update can stop below the minimum for a new model; switch to the latest channel.
  3. The desktop app, the VS Code extension and the Agent SDK each bundle their own Claude Code binary and update separately.
  4. To keep working before you update, run /model and pick another model.
On this page

Update the binary that made the request

text
API Error: 400 Claude Code 2.1.274 does not support this model; version 2.1.280 or newer is required. Run 'claude update', or update the Claude desktop app, then try again.

The server checks a minimum Claude Code version for each model and rejects older clients with error code claude_code_version_too_old. The Claude Code error reference lists the current minimums: Opus 5.5 needs v2.1.280 or later and Sonnet 5.5 needs v2.1.284 or later, and 2.1.280 in the message above matches the Opus 5.5 floor.

The version checked is the one reported by the binary that sent the request, which is not always the claude in your terminal. Update the right one, then start a new session:

Where the request came from How to update
Claude Code you installed yourself claude update
npm global install npm install -g @anthropic-ai/claude-code@latest
Homebrew brew upgrade claude-code@latest (or brew upgrade claude-code for the stable cask)
WinGet winget upgrade Anthropic.ClaudeCode
Claude desktop app Update the app
VS Code extension Update the extension
An Agent SDK package Upgrade the SDK package and restart your application; rebuild a compiled single-file executable

Check the result with claude --version. claude update prints Successfully updated from <old version> to version <new version> when it installs something.

If claude update says you are up to date

The stable release channel serves a build that is typically about a week old, and Anthropic's setup guide warns that a newly launched model can need a newer version than stable has. claude update will not move you past the newest stable release. Switch channels with /config → Auto-update channel, or in settings.json:

json
{
  "autoUpdatesChannel": "latest"
}

Then run claude update again. Homebrew picks the channel by cask name: claude-code tracks stable, claude-code@latest tracks latest. Avoid npm update -g, which keeps to the semver range of the original install and may not reach the newest release.

If your organization pins the channel or version through managed settings, only your admin can move it.

The organization-policy form

A second wording means the floor comes from your organization, not the model:

text
API Error: 400 Claude Code 2.1.240 is older than the minimum version required by your organization's policy. Run 'claude update', or update the Claude desktop app, to continue.

Switching models does not help here; update before you continue.

Keep working before you update

For the per-model form, switch the session to a model your version supports: /model in the CLI, setModel() on the TypeScript SDK's Query object in streaming input mode, or set_model() on the Python SDK's ClaudeSDKClient.

Older clients also send thinking settings the newest models reject, so a version that is too old can show up as a different 400 first; the Sonnet 5.5 between_tools page covers one of them. The rest of Claude Code's 400 messages are on our Claude Code API Error 400 page.

Sources and checks

  1. Claude Code error reference
  2. Set up Claude Code (update and release channels)