AI Agent Cost & Prompt Cache Simulator

Model multi-turn AI agent costs using live OpenRouter pricing. Simulate system prefix overhead, per-turn context growth, KV prompt-cache hit ratios, and reasoning multipliers.

Why do multi-turn coding agents cost much more than single-turn chat?
Every tool-call turn resends the entire system prompt, MCP schemas, and conversation history. Over 20-40 turns, quadratic context growth dominates spend unless KV prompt caching hits above 80%.
Where do the model rates come from?
DevPose fetches live per-token input, output, and cache-read pricing directly from the public OpenRouter /api/v1/models endpoint inside your browser, with offline fallback presets.