Solution Patterns & Playbooks

Blue/Green Rollout of Model Upgrades

A new Claude model version is a production change like any other. Treat the upgrade as a deployment — with an eval gate, a canary slice, and a one-line rollback — not a config edit.

Claude 3P 101 · Updated July 2026 · Unofficial guide

"Blue/green" is a deployment technique borrowed from ordinary software operations: you run the old version (blue) and the new version (green) side by side, shift a small share of traffic to green, watch it, and only then cut over — keeping blue warm for instant rollback. It maps cleanly onto Claude model upgrades, because a model swap changes more than answer style.

Why a model swap is a real change

Four documented behaviors make "just change the model ID" riskier than it looks:

The rollout, step by step

1. Pin both versions explicitly. Your gateway or config should carry two concrete model IDs, never an alias. Remember the platform differences: Bedrock prefixes IDs (anthropic.claude-opus-4-8) while Claude Platform on AWS, Vertex AI, and Foundry use bare 1P-style IDs (claude-opus-4-8).

2. Gate on an offline eval run. Before any live traffic, replay a fixed suite of real (sanitized) production prompts through the green model and score the outputs — see Evals in CI for the full pattern. On the first-party API and Claude Platform on AWS, the Message Batches API runs the suite at 50% of standard prices; Bedrock and Vertex AI don't offer that endpoint but have their own cloud-native batch inference for Claude.

3. Canary a deterministic slice. Route a small, sticky share of traffic (hash a stable key such as tenant or user ID) to green in your internal gateway. Stickiness matters: a user bouncing between models mid-conversation also bounces between caches and, on newer models, between thinking behaviors.

4. Watch operational metrics, not just quality. Compare error rates (especially 400s from newly rejected parameters), latency, stop_reason distribution, and per-request token usage between blue and green. The 429/529 handling you already have should ramp green gradually — sharp spikes can trigger the API's acceleration limits.

5. Cut over, keep blue warm. Shift to 100% green but leave the blue model ID configured and its prompts in version control. Rollback is then a config change, with the same cache-rebuild caveat in reverse.

Rule of thumb: a model upgrade is done when the eval gate passes, the canary has run long enough to include your weekly traffic peak, and cost per request has been re-measured with the new tokenizer — not when the demo looks good.

Per-platform notes

PlatformWhat to check before flipping traffic
Claude Platform on AWSSame-day model parity with 1P; same rate-limit structure, but organizations stay on the Start tier
Amazon Bedrockanthropic.-prefixed IDs; explicit cache breakpoints only (no automatic caching)
Google Vertex AIBare IDs for current models; older models use @date form
Microsoft FoundryBare IDs; some advanced features still beta — re-verify each one on the new model

Where to go next

Pair this with Evals in CI for the gate, gateway extensions for the traffic split, and version pinning for the config discipline underneath it all.

Sources