Prompt and model versioning
For engineers
Keeping prompts and model settings as versioned code, rolling changes out in stages, recording which version served each request, and handling provider model deprecations
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
Which of these belongs in the same versioned unit as a prompt's text?
Check yourself · 2 of 5
What does a shadow run do with the candidate prompt's output?
Check yourself · 3 of 5
What makes a rollback of a prompt change fast?
Check yourself · 4 of 5
A user reports a wrong answer from yesterday. Which logged field best lets you identify the exact prompt behind it?
Check yourself · 5 of 5
What is the main risk of calling a model alias in production?
Topics
- Prompts as versioned code with reviews4 min read · Prompts in files next to their model, parameters and tool definitions, reviewed like code and linked to evals, versus prompt-management platforms that change prompts without a deploy
- Rolling out a prompt or model change in stages5 min read · Shadow runs, percentage rollouts and A/B comparisons for a new prompt or model, with eval gates and online metrics deciding each step
- Fast rollback to a known-good version4 min read · Switching back by configuration instead of a redeploy, keeping the previous version ready, and what a rollback cannot undo: cached answers and data an agent already wrote
- Recording which prompt and model served each request4 min read · Stamping prompt version, model snapshot and parameters on every trace and log line so any answer can be reproduced and every complaint tied to a version
- Pinned model snapshots and provider deprecations5 min read · Aliases that move to new models silently versus dated snapshots, provider retirement schedules, and migrating with side-by-side evals before the shutdown date
Start here
- Prompt management (Langfuse docs) (opens in a new tab)DocsFree
How a prompt-management tool versions prompts, labels releases and links each version to traces.
- Model deprecations (Claude docs) (opens in a new tab)DocsFree
The real retirement schedule format: status, deprecation date, retirement date and the suggested replacement.
- Deprecations (OpenAI API) (opens in a new tab)DocsFree
OpenAI's list of shutdown dates with recommended replacements, to plan a migration from.
Scenarios
Helps to know first
110 questions · last verified 2026-12