Skip to content
AI Dev Toolkit.
Esc
  • AI Token CounterCount tokens for GPT, Claude, Gemini, DeepSeek, Qwen and more.Tool
  • LLM API Cost CalculatorEstimate per-request, daily and monthly API costs.Tool
  • AI Model ComparisonCompare prices, context windows and features across models.Tool
  • AI Model Pricing PagesSpecs, real costs and cheaper alternatives for popular models.Tool
  • Context Window CheckerSee whether your text fits each model’s context window.Tool
  • Subscription vs API CalculatorFind out whether a chat plan or the API is cheaper for you.Tool
  • GPU / VRAM CalculatorCheck how much VRAM a local model needs and which GPUs fit.Tool
  • Prompt Caching CalculatorEstimate savings from prompt caching.Tool

Model ID reference

Claude model IDs for the API, Bedrock, Google Cloud and Foundry

Copy the exact Claude model ID for the Claude API, Amazon Bedrock, Google Cloud and Microsoft Foundry, with each model’s status and retirement date from Anthropic’s own docs. Free, and it runs in your browser.

24 models. Click an ID to copy it.

Model IDs

  • Claude Fable 5.1

    CurrentRecommended

    1M context · 128K max output

    API ID

    • Pinned

    Cloud platforms

    Amazon Bedrock
    Google Cloud
    Microsoft FoundryDefault deployment name

    Retires no sooner than 1 Sep 2027.

  • Claude Opus 5.5

    CurrentRecommended

    1M context · 128K max output

    API ID

    • Pinned

    Cloud platforms

    Amazon Bedrock
    Google Cloud
    Microsoft FoundryDefault deployment name

    Retires no sooner than 22 Sep 2027.

  • Claude Sonnet 5.5

    CurrentRecommended

    1M context · 128K max output

    API ID

    • Pinned

    Cloud platforms

    Amazon Bedrock
    Google Cloud
    Microsoft FoundryDefault deployment name

    Retires no sooner than 28 Sep 2027.

  • Claude Haiku 5.5

    CurrentRecommended

    1M context · 128K max output

    API ID

    • Pinned

    Cloud platforms

    Amazon Bedrock
    Google Cloud
    Microsoft FoundryDefault deployment name

    Retires no sooner than 7 Oct 2027.

  • Claude Mythos 5.1

    CurrentRestricted access

    1M context · 128K max output

    API ID

    • Pinned

    Cloud platforms

    Amazon Bedrock
    Google Cloud
    Microsoft FoundryDefault deployment name

    Retires no sooner than 1 Sep 2027.

    Only for organisations verified through Anthropic’s verification programmes. Same specifications as Claude Fable 5.1.

    Source
  • Claude Fable 5

    Legacy

    1M context · 128K max output

    API ID

    • Pinned

    Cloud platforms

    Amazon Bedrock
    Google Cloud
    Microsoft FoundryDefault deployment name

    Retires no sooner than 9 Jun 2027. Replacement: claude-fable-5-1

    Source
  • Claude Mythos 5

    LegacyRestricted access

    1M context · 128K max output

    API ID

    • Pinned

    Cloud platforms

    Amazon Bedrock
    Google Cloud
    Microsoft FoundryDefault deployment name

    Retires no sooner than 9 Jun 2027. Replacement: claude-mythos-5-1

    Only for organisations verified through Anthropic’s verification programmes. Anthropic publishes a migration guide to Claude Mythos 5.1.

    Source
  • Claude Opus 5

    Legacy

    1M context · 128K max output

    API ID

    • Pinned

    Cloud platforms

    Amazon Bedrock
    Google Cloud
    Microsoft FoundryDefault deployment name

    Retires no sooner than 24 Jul 2027. Replacement: claude-opus-5-5

    Source
  • Claude Sonnet 5

    Legacy

    1M context · 128K max output

    API ID

    • Pinned

    Cloud platforms

    Amazon Bedrock
    Google Cloud
    Microsoft FoundryDefault deployment name

    Retires no sooner than 30 Jun 2027. Replacement: claude-sonnet-5-5

    Source
  • Claude Opus 4.8

    Legacy

    1M context · 128K max output

    API ID

    • Pinned

    Cloud platforms

    Amazon Bedrock
    Google Cloud
    Microsoft FoundryDefault deployment name

    Retires no sooner than 28 May 2027. Replacement: claude-opus-5-5

    Source
  • Claude Opus 4.7

    Legacy

    1M context · 128K max output

    API ID

    • Pinned

    Cloud platforms

    Amazon Bedrock
    Google Cloud
    Microsoft FoundryDefault deployment name

    Retires no sooner than 16 Apr 2027. Replacement: claude-opus-5-5

    Source
  • Claude Opus 4.6

    Legacy

    1M context · 128K max output

    API ID

    • Pinned

    Cloud platforms

    Bedrock InvokeModelInference profiles for base ID anthropic.claude-opus-4-6-v1
    Google Cloud
    Microsoft FoundryDefault deployment name

    Retires no sooner than 5 Feb 2027. Replacement: claude-opus-5-5

    Source
  • Claude Sonnet 4.6

    Legacy

    1M context · 128K max output

    API ID

    • Pinned

    Cloud platforms

    Bedrock InvokeModelInference profiles for base ID anthropic.claude-sonnet-4-6
    Google Cloud
    Microsoft FoundryDefault deployment name

    Retires no sooner than 17 Feb 2027. Replacement: claude-sonnet-5-5

    Source
  • Claude Opus 4.5

    Legacy

    200K context · 64K max output

    API ID

    • Pinned
    • Alias

    Cloud platforms

    Bedrock InvokeModelInference profiles for base ID anthropic.claude-opus-4-5-20251101-v1:0
    Google Cloud
    Microsoft FoundryDefault deployment name

    Retires no sooner than 24 Nov 2026. Replacement: claude-opus-5-5

    Source
  • Claude Haiku 4.5

    Legacy

    200K context · 64K max output

    API ID

    • Pinned
    • Alias

    Cloud platforms

    Amazon Bedrock
    Bedrock InvokeModelInference profiles for base ID anthropic.claude-haiku-4-5-20251001-v1:0
    Google Cloud
    Microsoft FoundryDefault deployment name

    Retires no sooner than 15 Oct 2026. Replacement: claude-haiku-5-5

    Source
  • Claude Sonnet 4.5

    Deprecated

    200K context · 64K max output

    API ID

    • Pinned
    • Alias

    Cloud platforms

    Bedrock InvokeModelInference profiles for base ID anthropic.claude-sonnet-4-5-20250929-v1:0
    Google Cloud
    Microsoft FoundryDefault deployment name

    Retires 30 Nov 2026. Replacement: claude-sonnet-5-5

    Source
  • Claude Mythos Preview

    DeprecatedPreviewRestricted access

    API ID

    • Preview

    Cloud platforms

    Amazon Bedrock

    Invitation only, through Anthropic’s Project Glasswing. Deprecated on 9 June 2026; Anthropic has not announced a retirement date yet.

    Source
  • Claude Opus 4.1

    Retired

    API ID

    • Pinned

    Cloud platforms

    Bedrock InvokeModelInference profiles for base ID anthropic.claude-opus-4-1-20250805-v1:0
    Google Cloud

    Retired 5 Aug 2026. Replacement: claude-opus-4-8

    Retired on the Claude API. Amazon Bedrock and Google Cloud set their own dates and still list it as deprecated.

  • Claude Sonnet 4

    Retired

    API ID

    • Pinned

    Cloud platforms

    Bedrock InvokeModelInference profiles for base ID anthropic.claude-sonnet-4-20250514-v1:0
    Google Cloud

    Retired 15 Jun 2026. Replacement: claude-sonnet-5-5

    Retired on the Claude API. Amazon Bedrock and Google Cloud set their own dates and still list it as deprecated.

  • Claude Opus 4

    Retired

    API ID

    • Pinned

    Cloud platforms

    Google Cloud

    Retired 15 Jun 2026. Replacement: claude-opus-4-8

    Retired on the Claude API. Google Cloud sets its own dates and still lists it as deprecated.

  • Claude Haiku 3

    Retired

    API ID

    • Pinned

    Retired 20 Apr 2026. Replacement: claude-haiku-4-5-20251001

  • Claude Sonnet 3.7

    Retired

    API ID

    • Pinned

    Retired 19 Feb 2026. Replacement: claude-sonnet-5-5

  • Claude Haiku 3.5

    Retired

    API ID

    • Pinned

    Cloud platforms

    Google Cloud

    Retired 19 Feb 2026. Replacement: claude-haiku-4-5-20251001

    Retired on the Claude API. Google Cloud sets its own dates and still lists it as deprecated.

  • Claude Opus 3

    Retired

    API ID

    • Pinned

    Retired 5 Jan 2026. Replacement: claude-opus-4-8

Steps

How to find and copy a Claude model ID

  1. Search by model name (“opus”, “haiku”) or paste an ID you already use to check its status.
  2. Click an ID to copy it. Use the Pinned ID in production; aliases are labelled.
  3. On Amazon Bedrock, Google Cloud or Microsoft Foundry, copy the ID from the Cloud platforms rows, because the format differs.
  4. Open “Show code” to see the SDK call for each platform with that ID in place.
  5. If a model is deprecated, move to the listed replacement before its retirement date.

Method

How it works

Anthropic publishes one model ID per Claude release on the Claude API, plus a matching ID on each cloud platform that resells Claude. The list above has all of them, taken from Anthropic’s models overview, each model’s own page and the deprecations page.

How Claude model IDs are built

Since the Claude 4.6 generation, IDs have no date: claude-{name}-{major}-{minor}, such as claude-opus-5-5, with the minor number dropped for major releases (claude-sonnet-5). Anthropic is explicit that these dateless IDs are not moving pointers: each is a pinned snapshot whose weights and configuration never change, and an updated model ships under a new ID. Older models carry a snapshot date, as in claude-haiku-4-5-20251001, and the Claude API also accepts a shorter alias (claude-haiku-4-5) that points to the newest dated snapshot of that version. Anthropic notes that the serving infrastructure around a model can still change, so tiny behaviour differences are possible even on a pinned ID.

Which ID to use in production

Hard-code a pinned ID. For current models that is simply the model ID; for models before 4.6, use the dated ID rather than the alias so an update can’t change your results. If you’re unsure which model to pick, Anthropic suggests starting with Claude Opus 5.5 (claude-opus-5-5) for most workloads, Claude Fable 5.1 for demanding reasoning and long-running agent work, and Claude Haiku 5.5 (claude-haiku-5-5) for high-volume, latency-sensitive tasks.

Amazon Bedrock, Google Cloud and Microsoft Foundry IDs

  • Amazon Bedrock has two integrations. The newer Messages-API endpoint (Claude Opus 4.7 and later, plus Haiku 4.5) takes IDs like anthropic.claude-opus-5-5. Older models use InvokeModel with IDs like anthropic.claude-sonnet-4-5-20250929-v1:0; Claude Opus 4.6 was the last to carry the -v1 suffix. Newer InvokeModel models must be called through a cross-region inference profile: add global., us., eu., jp. or apac. in front, as listed for each model. Sending the bare ID returns an error saying on-demand throughput isn’t supported. Regional endpoints cost 10% more than global.
  • Google Cloud (Vertex AI, now part of Google Cloud’s Agent Platform) uses the Claude API ID for dateless models and writes the date after an @ for older ones: claude-haiku-4-5@20251001. The ID goes in the endpoint URL, which the AnthropicVertex SDK client builds for you.
  • Microsoft Foundry sends your deployment name as the model. It defaults to the model ID, so it only differs if you renamed the deployment. Claude Platform on AWS uses the Claude API IDs unchanged.

Anthropic’s retirement dates apply to the Claude API, Claude Platform on AWS and Foundry. Bedrock and Google Cloud set their own schedules, which is why a model retired on the Claude API can still appear there as deprecated.

Deprecations and how to migrate

Anthropic moves models through four stages: active, legacy (no more updates), deprecated (a retirement date is set) and retired (requests fail). It promises at least 60 days’ notice by email before retiring a publicly released model. Claude Sonnet 4.5, for example, is deprecated and retires on 30 Nov 2026; the recommended replacement is claude-sonnet-5-5. To find old IDs in use, export the Usage page in the Claude Console, which breaks usage down by API key and model. When you switch, re-test your prompts: Claude 4.7 and later models reject a non-default temperature, top_p or top_k with a 400 error. Claude Code users can run /claude-api migrate to swap IDs and parameters across a codebase.

Prices for each model are on its Anthropic pricing page; to see what a switch costs, use the LLM cost calculator. No key yet? Follow how to get a Claude API key, then confirm it works and see the models it can call with the API key checker.

Examples

Worked examples

Which Claude ID to use in production

  • Anthropic (Claude)

    Every Claude model ID is a pinned snapshot, including the dateless IDs used from the 4.6 generation on (claude-opus-5-5 never changes). Older models also accept a short alias such as claude-haiku-4-5, which points to the newest dated snapshot of that version: pin the dated ID in production.

    List your models: GET https://api.anthropic.com/v1/models

Recommended Claude models

The models Anthropic currently recommends, with the ID to copy. Checked 11 Oct 2026.
ModelAPI IDAmazon BedrockGoogle CloudContext
Claude Fable 5.11M
Claude Opus 5.51M
Claude Sonnet 5.51M
Claude Haiku 5.51M

Upcoming Claude shutdowns

Deprecated Claude models by shutdown date, from Anthropic’s deprecations page. Checked 11 Oct 2026.
Shuts downModel IDsReplacement
30 Nov 2026claude-sonnet-4-5-20250929, claude-sonnet-4-5claude-sonnet-5-5

FAQ

Frequently asked questions

What is the model ID for Claude Opus 5.5?

claude-opus-5-5 on the Claude API, Google Cloud and Microsoft Foundry, and anthropic.claude-opus-5-5 on Amazon Bedrock. It is a pinned ID: Anthropic never changes the model behind it, and newer versions ship under new IDs. Anthropic suggests starting with Claude Opus 5.5 for most workloads.

What is the difference between claude-sonnet-4-5 and claude-sonnet-4-5-20250929?

claude-sonnet-4-5-20250929 is the dated snapshot and never changes. claude-sonnet-4-5 is an alias that points to the newest snapshot of Sonnet 4.5, so it could move. Pin the dated ID. Sonnet 4.5 is deprecated and retires on 30 Nov 2026, so plan a move to claude-sonnet-5-5.

Does claude-sonnet-4-6 update automatically to newer models?

No. From the 4.6 generation on, a dateless ID such as claude-sonnet-4-6 is the canonical ID of one fixed snapshot, not a pointer to the latest model. Anthropic says it never updates the weights or configuration behind an existing ID; a newer Sonnet ships under a new ID, such as claude-sonnet-5-5, which you adopt by changing your code.

What is the Bedrock model ID for Claude?

Add anthropic. in front of the Claude API ID for current models, for example anthropic.claude-opus-5-5 on Bedrock’s Messages-API endpoint. Older models called through InvokeModel use IDs like anthropic.claude-opus-4-6-v1 and need an inference profile prefix such as global. or us.. Each model above lists its exact Bedrock forms.

Why does Bedrock say on-demand throughput isn’t supported?

You sent a base model ID to InvokeModel for a model that AWS only offers through cross-region inference. Put an inference profile prefix in front of the ID, such as us.anthropic.claude-sonnet-4-5-20250929-v1:0, or pass the full inference profile ARN. The prefixes each model supports are listed above; global routing has no price premium, regional costs 10% more.

How do I list the Claude models my API key can use?

Call GET https://api.anthropic.com/v1/models with your key. The response lists every model available to you with its ID, max_input_tokens, max_tokens and a capabilities object, plus a line field (such as opus) for grouping models in a picker. Anthropic recommends reading line rather than parsing it out of the ID.

What happens when a Claude model is retired?

Requests to it fail. Anthropic emails customers with active usage at least 60 days before a publicly released model retires, and lists the date and a recommended replacement on its deprecations page. Retired models stay in the list above, with their replacement, so you can see what to switch to.