# TokenBudget > Current LLM API list prices (checked 2026-11-24, each with its source URL) and a cost calculator for single requests and whole multi-turn agent runs, with prompt caching, batch discounts, long-prompt surcharges and announced price changes. Hosted MCP server and JSON API, free, no sign-up. Use it when you need a price or context window you may not know (models released or repriced after your training data), or to budget an agent loop before running it. ## MCP - Endpoint: https://tokenbudget.netlify.app/mcp (Streamable HTTP, stateless, no auth) - Tools: estimate_cost, plan_agent_run, check_context_fit, count_tokens, list_models, get_model_pricing, send_feedback ## API - [OpenAPI spec](https://tokenbudget.netlify.app/openapi.json) - POST https://tokenbudget.netlify.app/api/plan: total cost of an N-turn agent loop per model; which models fit the context and the budget. Body: {"turns": 20, "system_tokens": 3000, "tools_tokens": 2000, "task_tokens": 500, "output_tokens_per_turn": 800, "tool_result_tokens_per_turn": 1500, "budget_usd": 1} - POST https://tokenbudget.netlify.app/api/estimate: price one request on many models, cheapest first. Body: {"input_tokens": 12000, "output_tokens": 1000, "models": ["claude-sonnet-5-5", "gpt-6.2-sol"]} (or "text"/"messages" instead of input_tokens) - POST https://tokenbudget.netlify.app/api/fit: which models' context windows take this input. Body: {"input_tokens": 600000, "reserve_output_tokens": 8000} - POST https://tokenbudget.netlify.app/api/count: token estimates per tokenizer family - GET https://tokenbudget.netlify.app/api/models and https://tokenbudget.netlify.app/api/models/{id}: prices and limits - GET https://tokenbudget.netlify.app/api/freshness: price check date and whether provider pages changed since - POST https://tokenbudget.netlify.app/api/feedback: {"kind": "wrong-price", "message": "...", "model": "..."} - Batch: send {"requests": [ ... ]} to any POST endpoint (free: 5 per call) ## Accuracy - Prices are copied from providers' pages; each result carries source, checked_on and source_quality. Pass exact token counts for exact costs. - Token counts from text are estimates (calibrated against OpenAI o200k_base; other tokenizers via multipliers with an error band). - Never send secrets. Text you send is counted in memory and not stored. ## Prices (USD per 1M tokens, checked 2026-11-24) - claude-fable-5-2 (Anthropic): $8.00 in / $40.00 out per 1M, cached $0.20, context 1M - claude-opus-5-5 (Anthropic): $4.00 in / $20.00 out per 1M, cached $0.20, context 1M - claude-sonnet-5-5 (Anthropic): $2.00 in / $10.00 out per 1M, cached $0.10, context 1M - claude-haiku-5-5 (Anthropic): $0.10 in / $0.50 out per 1M, cached $0.01, context 1M, over 100000 prompt tokens $0.50/$2.50 - claude-opus-5 (Anthropic): $5.00 in / $25.00 out per 1M, cached $0.50, context 1M - claude-sonnet-5 (Anthropic): $2.00 in / $10.00 out per 1M, cached $0.20, context 1M - claude-sonnet-4-6 (Anthropic): $3.00 in / $15.00 out per 1M, cached $0.30, context 1M - claude-haiku-4-5 (Anthropic): $1.00 in / $5.00 out per 1M, cached $0.10, context 200K - gpt-6.2-astra (OpenAI): $8.00 in / $40.00 out per 1M, cached $0.40, context 1.05M - gpt-6.2-sol (OpenAI): $2.00 in / $10.00 out per 1M, cached $0.10, context 1.05M - gpt-6-luna (OpenAI): $0.10 in / $0.50 out per 1M, cached $0.01, context 1.05M - gpt-6.1-sol (OpenAI): $2.00 in / $10.00 out per 1M, cached $0.10, context not stated - gpt-6-astra (OpenAI): $10.00 in / $50.00 out per 1M, cached $1.00, context not stated - gemini-4-argon (Google): $2.00 in / $10.00 out per 1M, cached $0.10, context not stated, changes 2026-12-01 to $4.00/$20.00 - gemini-3.8-flash (Google): $0.75 in / $3.75 out per 1M, cached $0.075, context not stated, changes 2027-01-01 to $1.50/$7.50 - gemini-3.6-flash (Google): $0.75 in / $3.75 out per 1M, cached $0.075, context not stated, changes 2027-01-01 to $1.50/$7.50 - gemini-3.5-flash-lite (Google): $0.30 in / $2.50 out per 1M, cached $0.03, context not stated - gemini-3.1-flash-lite (Google): $0.25 in / $1.50 out per 1M, cached $0.025, context not stated - gemini-3.1-pro-preview (Google): $2.00 in / $12.00 out per 1M, cached $0.20, context not stated, over 200000 prompt tokens $4.00/$18.00 - gemini-2.5-pro (Google): $1.25 in / $10.00 out per 1M, cached $0.125, context not stated, over 200000 prompt tokens $2.50/$15.00 - gemini-2.5-flash (Google): $0.30 in / $2.50 out per 1M, cached $0.03, context 1M - gemini-2.5-flash-lite (Google): $0.10 in / $0.40 out per 1M, cached $0.01, context not stated - deepseek-flash (DeepSeek): $0.30 in / $1.20 out per 1M, cached $0.006, context 1M - deepseek-v4-pro (DeepSeek): $1.32 in / $3.96 out per 1M, cached $0.044, context 1M - mistral-large-4 (Mistral): $0.70 in / $2.10 out per 1M, cached $0.07, context not stated - mistral-small-4 (Mistral): $0.15 in / $0.60 out per 1M, cached $0.015, context not stated - codestral-25-08 (Mistral): $0.30 in / $0.90 out per 1M, cached $0.03, context not stated - ministral-3-14b (Mistral): $0.20 in / $0.20 out per 1M, cached $0.02, context not stated - ministral-3-8b (Mistral): $0.15 in / $0.15 out per 1M, cached $0.015, context not stated - ministral-3-3b (Mistral): $0.10 in / $0.10 out per 1M, cached $0.01, context not stated - groq-gpt-oss-120b (Groq): $0.15 in / $0.60 out per 1M, cached n/a, context 131K - groq-gpt-oss-20b (Groq): $0.075 in / $0.30 out per 1M, cached n/a, context 131K - groq-qwen3.8-27b (Groq): $0.80 in / $4.00 out per 1M, cached n/a, context 131K ## More - [Full docs](https://tokenbudget.netlify.app/llms-full.txt) - [All prices as JSON](https://tokenbudget.netlify.app/prices.json) - [Model pages](https://tokenbudget.netlify.app/models/) ## Pages for people - [Model-vs-model comparisons](https://tokenbudget.netlify.app/compare/) - [Cheapest LLM APIs by tier](https://tokenbudget.netlify.app/cheapest/) - [Prices by provider](https://tokenbudget.netlify.app/providers/) - [How token pricing works](https://tokenbudget.netlify.app/guides/how-llm-token-pricing-works/)