← All workflows

Workflow

Claude API Migration Planner

Plan model retirements, version IDs, thinking changes, and a Claude API to Bedrock migration using provider-specific checks.

Sources checked:

What you can do

Build a model migration checklist

Pick the change you need to make, then compare the new deployment on the same tasks and measure token use, output quality, and response handling.

Build your execution checklist

Inputs are processed in this browser only and cleared when you close or refresh the page.

A service still sends claude-opus-4-5-20251101.

Read the full steps

Migrate from Opus 4.5

A service still sends claude-opus-4-5-20251101.

  1. Anthropic lists November 23, 2026 as deprecation and January 22, 2027 as retirement for this ID. The recommended replacement is claude-opus-5-5.
  2. Inventory hard-coded IDs in jobs, gateway defaults, and SDK configuration. Verify the relevant platform's own lifecycle schedule.
  3. Recheck thinking settings, token budgets, and output parsers. Replay a fixed evaluation set before moving production traffic.

Recover from Fable 5.2 prefix validation

A multi-turn request fails with a prefix mismatch and HTTP 400.

  1. Compare the immediately preceding request and response with the replayed conversation. Preserve the original assistant content and its thinking blocks in the expected order.
  2. Check whether the service rewrites history or changes the prefix before a replayed thinking block. Same-model continuation and deliberate context resets need different test cases.
  3. Use a fresh conversation when changing old history, or apply the migration guide's supported handling for historical thinking blocks. Compare a fresh request against the failing replay.

Pin a canonical identifier

A model value has no date suffix or a gateway alias.

  1. Look up the chosen platform column. An Anthropic post-4.6 dateless model ID is pinned to a version.
  2. Resolve earlier convenience aliases and any gateway shorthand to a provider model ID. Save the provider, region, ID, and evaluation revision together.

Evaluate Haiku for classification and extraction

You have many short, labeled examples.

  1. Use a held-out set with normal, ambiguous, and missing-field examples. Decide acceptable label errors and field accuracy before testing.
  2. Keep prompts and schema constant across models. Measure output validity, p95 latency, total cost, and cost per accepted result.
  3. Anthropic describes Haiku 5.5 as a fast option for high-volume classification and extraction. Confirm suitability with your holdout results.
Template preview: classification-fixtures.jsonl
{"id":"a","text":"Replacement arrived damaged","label":"returns"}
{"id":"b","text":"Where can I find invoice Q-12?","label":"billing"}
{"id":"c","text":"Please help","label":"unknown"}

Compare tokenizer counts before switching

The same payload appears to consume more tokens on the new model.

  1. Capture several representative payloads including system instructions, tools, and documents. Send each to count_tokens under both exact target model IDs.
  2. Record the percentage change as (new count − old count) / old count. Recompute input spend and context headroom using each model's prices and limits.
  3. Use actual request usage for billing reconciliation. A Haiku 5.5 migration can change token counts even when the source text is identical.
Template preview: token-migration.csv
fixture_id,old_model,new_model,old_input_tokens,new_input_tokens,new_price_per_million
short-label,,,,,
large-document,,,,,

Compare effort by quality and spend

You need to choose adaptive thinking effort for repeat workloads.

  1. Record the model's documented default effort. Test at least two supported effort levels on the same small set of successful and difficult examples.
  2. Measure task pass rate, elapsed time, and billed output usage. Compute cost using the chosen model's token prices and separately charged features.
  3. Pick the lowest-cost setting that meets your quality target. Treat effort as a control over reasoning intensity, with measured token use as the billing input.

Migrate budget_tokens configuration

A newer model rejects manual extended thinking.

  1. Confirm adaptive thinking support for the exact target model. Keep the old mode on models that accept manual thinking only.
  2. For a supporting model, remove budget_tokens, set thinking.type to adaptive as needed, and configure output_config.effort for the supported level you want to test.
  3. Retest stop reasons and prompt caching around the migration. Treat existing stored thinking blocks according to the target model's migration guidance.
Template preview: adaptive-thinking-settings.json
{"thinking":{"type":"adaptive"},"output_config":{"effort":"medium"}}

Check Fast mode eligibility and surcharge

You need faster output and can compare the price with standard service.

  1. Anthropic documents Fast mode for Fable 5.2, Mythos 5.2, and Opus 5.5 on the Claude API's Start, Build, and Scale tiers, subject to model access. Opus 5 is in research preview and Opus 4.8 Fast mode is scheduled to end November 30, 2026.
  2. For Opus 5.5 on the Claude API, Fast mode lists $8 input and $40 output per million tokens, compared with standard $4 and $20. Other providers and model rates can differ. Fast mode is unavailable for Batch.
  3. Hold prompts and output requirements constant. Compare actual usage, elapsed time and fallback behavior before enabling the surcharge across the workload.

Choose Claude API or Bedrock authentication

A model ID works on one endpoint but not another.

  1. Identify which API you call: Anthropic Messages, Bedrock mantle, or Bedrock runtime. Confirm its credentials and supported SDK before copying request code.
  2. Use the platform-specific model ID. For Bedrock runtime cross-region inference, use the applicable inference profile ID instead of assuming the unprefixed ID works.
  3. For Bedrock, check the configured AWS region, IAM permissions or Bedrock API token, and requested endpoint. Run a minimal request with your own credentials to verify account access.

Scope & limits

  • Model and region access depend on the chosen provider and account. Check the live model catalog before switching traffic.

Questions & answers

Do dateless Claude model IDs move to future versions?
Claude's canonical IDs from the 4.6 generation are pinned. Some earlier convenience aliases require checking the documented mapping separately.

Verified sources

Templates are authored by Kunavo. External product behavior depends on the linked sources and your account settings.

Related workflows