Prompt caching, per-step model selection, and loop architecture.
Real infrastructure with measurable impact.
Provider-anthropic automatically adds cache_control markers. No configuration required.
_format_system_with_cache(), _apply_message_cache_control(), _apply_tool_cache_control()cache_read_tokens and cache_write_tokens fields in TokenUsage model
provider, model, and provider_preferences (with ordered fallbacks) per stepforeach loops (with parallel: N) + per-step model are both active in recipe schema.test_token_safety.py test suiteinjection_budget_per_turn in coordinator provides additional budget guardrail
model: per recipe stepInfrastructure shipped across the Amplifier ecosystem
Data as of: February 20, 2026
Feature status: Active (prompt caching, model selection, token safety); Design Pattern (loop architecture cost projection)
Research performed:
grep -rn "cost|budget|token.*limit" amplifier_core/ --include="*.py" — 7 files matchedgrep -n "cache|cache_control" provider-anthropic/__init__.py — confirmed cache_control, ephemeral markers, usage trackinggrep -n "tier|truncat|token.*safe" hooks-status-context/__init__.py — confirmed 3-tier filtering + hard limitsgrep -rn "haiku" amplifier-bundle-recipes/ — found in code-review-recipe.yaml (lines 93, 181), recipe-instructions.md, recipe-author.mdgrep -rn "foreach" amplifier-bundle-recipes/examples/ — 10 matches across 5 recipe filesgrep -rn "provider_preferences" amplifier-bundle-recipes/ — 15 matches (schema docs + attractor recipe)git log --format="%an" | sort | uniq -c | sort -rn per repoPricing source: Anthropic published API pricing. "~12x cheaper" = Haiku vs Sonnet input token ratio. "90% savings" = 10x cached-vs-fresh pricing.
Gaps: Exact PR count and development timeline not independently verified from cached repos (local cache shows release commits only). The "$50→$5" projection is mathematical, not measured from a production run. TTFT improvement attributed to Anthropic benchmarks, not measured by Amplifier.
Prompt caching works automatically with provider-anthropic.
Model routing takes one line per recipe step.