Study FAQ
When should I pin a Claude model ID in a production release?
Also asked as 2
- How do I decide whether to use a pinned Claude model ID or an alias?
- How should a release record and test its Claude model pin or alias policy?
Answer
Pin a supported model ID when reproducibility, regression attribution, or a controlled rollback matters. For the first-party Claude API, IDs introduced from the 4.6 generation onward are pinned snapshots even when the identifier has no date. Older models can have a dated snapshot ID and a documented alias. Check the exact identifier for your provider and model generation.
An alias is useful only if its documented behavior fits your change policy. Record the requested identifier and the model your deployed API reports where available, the evaluation suite that detects drift, the person who reviews changes, and the conditions that trigger a deliberate switch. When moving to another snapshot, compare representative outputs and downstream compatibility before promotion.
Pinning fixes the model snapshot for the lifetime of the ID. Serving infrastructure can still change observable behavior, and the ID still has a support lifecycle. Track deprecation separately and plan a replacement before retirement so you can test the complete application release while both models are available.
Full explanation
Configuration and Version Management for Claude Applications
Study guide · CCDV-F
Read the full explanation