MCP Token Cost Calculator
Estimate how much MCP tool definitions add to every agent call — before you connect 10 servers. Measure schema tax and compare full-load vs deferred loading.
| Model | Provider | Input $/M | Schema $/month |
|---|---|---|---|
| text-embedding-3-small | OpenAI | $0.02 | $7.20 |
| text-embedding-3-large | OpenAI | $0.13 | $46.80 |
| GPT-4o mini | OpenAI | $0.15 | $54.00 |
| GPT-5 mini | OpenAI | $0.25 | $90.00 |
| o4-mini | OpenAI | $1.1 | $396.00 |
| GPT-5.4 | OpenAI | $2.5 | $900.00 |
| GPT-4o | OpenAI | $2.5 | $900.00 |
| o3 | OpenAI | $20 | $7,200.00 |
Prices verified 2026-11-18 · Download dataset · Methodology
How to Use
Configure your MCP setup
Enter the number of MCP servers and tools per server, or paste your tools JSON to auto-detect tool count and estimate tokens per tool.
Set agent parameters
Configure how many steps per run and runs per day. Each step re-sends all tool schemas to the model, so more steps = more schema tax.
Choose a model
Select from live-priced models. Enable prompt caching and deferred loading to see potential savings on schema overhead.
Read the results
See schema tax per call, per run, per day, and per month. The overhead % shows how much of your bill is just tool definitions.
What is MCP tool schema overhead?
The Model Context Protocol (MCP) standardizes how AI agents connect to external tools — file systems, databases, APIs, and more. Each tool is described by a JSON schema that specifies its name, parameters, types, and descriptions. These schemas are sent as input tokens on every API call that makes the tools available.
The problem: tool schemas are sent whether the agent uses them or not. With 5 tools this is barely noticeable. With 20–50 tools across multiple MCP servers, schema overhead can account for 30–60% of your total input tokens — an invisible tax on every call.
Why schema overhead compounds in agent loops
In a multi-step agent, tool schemas are re-sent on every step. A 20-tool setup (8,000 schema tokens) running a 15-step task sends 120,000 tokens of schema overhead per run — just for tool definitions. At 100 runs per day, that is 12 million tokens of pure overhead daily. This is why MCP cost optimization is critical for 2026 agent workflows.
Schema tax per run = tools × tokens_per_tool × steps_per_run Example: 20 tools × 400 tokens × 15 steps = 120,000 tokens At $3/M input: $0.36 per run just for schemas At 100 runs/day: $1,080/month in schema overhead alone
Three ways to reduce MCP schema costs
1. Deferred / tool-search loading: Instead of registering all tools upfront, use a tool-search pattern. The agent describes what it needs, a lightweight search finds matching tools, and only those schemas are loaded. This cuts schema tokens by 60–90% when you have many tools but use few per step.
2. Prompt caching: Tool schemas are static — they don't change between calls. This makes them ideal for prompt caching. Anthropic charges 10% of input price for cache reads; OpenAI charges ~25%. With high cache hit rates, schema overhead cost drops dramatically.
3. Schema pruning: Remove tools you don't use, shorten descriptions, and consolidate overlapping tools. Each 100 tokens removed from your total schema saves that amount on every call, every step, every run. Use the AI Token Calculator to measure your schema size.
How this calculator works
Enter your MCP server configuration (or paste your tools JSON), set agent parameters, and select a model. The calculator uses live pricing from our weekly-verified dataset to show schema cost per call, per run, per day, and per month. Toggle deferred loading and caching to see how much you can save. The model comparison table shows the same setup across different models so you can find the cheapest option.
All calculations run in your browser. Your tool definitions and configuration stay on your device. See the methodology page for the full formula.
How to Cut This Cost
Use deferred/tool-search loading — only send schemas the agent actually needs on each step.
Enable prompt caching — static tool schemas are ideal cache candidates, read at 10–25% of input price.
Remove unused tools from MCP config — every registered tool costs tokens on every call, even if never used.
Group related tools into fewer servers and consolidate overlapping tool definitions to reduce total schema size.
FAQ
Have more questions? Contact us
Last verified: 2026-11-18 · methodology · data sources