Artificial intelligence news.
Straight from the original announcements.

OpenRouter measures the token cost of MCP, CLI tools and skills

November 11, 2026Source: OpenRouter
OpenRouter measures the token cost of MCP, CLI tools and skills
Image: OpenRouter

OpenRouter’s comparison of MCP, command-line tools and skills found that the way an AI agent receives a capability can dramatically change its context usage and cost. In a GitHub task, the MCP setup with 46 default tools used 59,417 input tokens on Claude Sonnet 5.5, compared with 1,421 for a CLI.

Key points
  • The GitHub MCP server’s 46 default tools added 19,436 tokens per request on Claude Sonnet 5.5.
  • A CLI used 1,421 input tokens for the tested GitHub task, versus 59,417 for MCP with 46 tools.
  • The full GitHub release result added about 20,400 tokens on Sonnet 5.5.
  • A 4,000-character result cap reduced the scoped MCP task to 5,357 tokens.
  • Tool Search cut the upfront cost of 46 tools to under 600 tokens.

MCP sends tool definitions on every request

OpenRouter describes the three approaches by what the model must read before acting. An MCP server sends every tool’s name, description and JSON schema on every request. A CLI presents a shell tool and a line saying the CLI exists, while a skill gives the model a one-line description and loads its full SKILL.md instructions when needed.

The company measured the GitHub MCP server, the gh CLI and a gh skill using Claude Haiku 5.5, Claude Sonnet 5.5, GPT-6 Luna and Gemini 3.8 Flash. On Claude Sonnet 5.5, the GitHub server’s 46 default tools added 19,436 tokens to every request. The same tools added 8,903 tokens on GPT-6 Luna and 8,525 through Google Vertex for Gemini 3.8 Flash. Through Google AI Studio, the Gemini figure was 13,010 tokens.

The GitHub task widened the gap

The test asked each model for the latest release of the cli/cli repository and the three most recently opened issues carrying the bug label. OpenRouter ran each combination three times on October 20, 2026, and reported median results.

On Sonnet 5.5, the CLI used 1,421 input tokens and cost $0.0075 per task. The skill used 3,315 tokens and cost $0.0118. MCP used 23,228 tokens with the two required tools, 59,417 with the 46 default tools, and 101,351 with all 91 tools. Their corresponding costs were $0.0552, $0.1274 and $0.2113. Every run in this table answered correctly.

OpenRouter says the default MCP configuration used 42 times the CLI’s input tokens and cost 17 times as much on Sonnet 5.5. The skill cost more than the bare CLI because its instructions remain in the conversation after being read. For a CLI the model already knows, the company says a skill is optional. For a user’s own CLI, it provides instructions for learning the commands.

Tool results can be as expensive as tool definitions

The comparison also examined the size of returned data. GitHub’s full release object from get_latest_release contained 42,182 characters, with 87% describing 22 download files. OpenRouter says that result added about 20,400 tokens on Sonnet 5.5, even though the task needed only the release tag and date.

OpenRouter identifies two ways to reduce the cost: expose only the tools an agent needs and shrink results before they reach the model. Scoping the server to two tools reduced the first request from 19,487 tokens to 1,406. Capping results at 4,000 characters reduced the full task to 5,357 tokens, with every run still correct in that test. The company cautions that this worked because GitHub placed the needed fields near the top of the response.

OpenRouter also tested its Tool Search server tool. It cut the upfront cost of 46 tools to under 600 tokens and halved the whole-task cost on Sonnet 5.5, while raising it on Claude Haiku 5.5. The findings give developers a practical reason to measure tool overhead on their chosen model and provider, rather than assuming that an MCP integration has a fixed cost.

Related news

OpenRouter finds no clear quality gap between fp8, fp4 and fp16
ResearchNovember 11, 2026

OpenRouter finds no clear quality gap between fp8, fp4 and fp16

OpenRouter found no detected accuracy difference between fp8, fp4 and fp16 in a test of Qwen3.8 27B, although the company cautions that the result covers one model and…

Claude Opus 5.5 Leads OpenRouter’s Scanned Document OCR Test
ResearchNovember 10, 2026

Claude Opus 5.5 Leads OpenRouter’s Scanned Document OCR Test

Claude Opus 5.5 was the most accurate model in OpenRouter’s test of OCR for scanned documents, correctly identifying 262 of 264 key values. Mistral OCR delivered the…

Claude Code Session Costs: Opus 5.5 Median $0.31, Sonnet 5.5 $0.16
For developersOctober 30, 2026

Claude Code Session Costs: Opus 5.5 Median $0.31, Sonnet 5.5 $0.16

Claude Code is free to install, but the model it calls is not. According to OpenRouter, a short session of 2 to 9 turns on an API key costs a median $0.31 with Claude…