llm-cost
@comparedge
About llm-cost
MCP server: token cost math for LLM API calls, 69 models across 17 providers, prices verified by ComparEdge
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"llm-cost": {
"command": "npx",
"args": [
"-y",
"@comparedge/llm-cost-mcp@latest"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is llm-cost?
llm-cost is a zero-dependency MCP server that gives assistants current per-million-token pricing for 69 LLM models across 17 providers and does cost arithmetic locally: per call, per batch, per month. Rates are verified and date-stamped, so estimates stop relying on stale training data.
How to use llm-cost?
Add npx -y @comparedge/llm-cost-mcp@latest to your MCP client config (Claude Desktop, Cursor, VS Code). Restart the client and six tools appear. No API key, no account.
Key features of llm-cost
- Dollar estimates for a single call or thousands of identical calls.
- Same-call comparison across up to 6 models, cheapest first.
- Monthly budget projection from daily volume.
- Cheapest-model ranking with a context-window floor.
- Batch API and cached-input discounts where the provider offers them.
- Fuzzy model resolution: claude-opus-4-8, Opus 4.8 and anthropic/opus land on the same model.
Use cases of llm-cost
- "Price Claude Opus 4.8 on a 25k-token prompt with a 1k answer, run 5,000 times."
- "Compare that call on Opus, Sonnet, GPT and Gemini."
- "What does 10,000 support-bot conversations a day cost per month?"
- "Cheapest model with at least 200k context?"
Basic information
More Data & Analytics MCP servers
MCP Server for Data Exploration
reading-plus-ai
Opinly
Track competitors, rankings, and how AI answers rank you — then write and publish the fix.
Sugra API MCP
Sugra Systems, Inc.Official MCP server for the Sugra API, giving AI agents source-attributed access to 1,500+ endpoints across 36 data domains from 160+ primary sources. Covers markets, economics, company fundamentals, government, news, cl
Salesforce MCP Server
tsmztechSalesforce MCP Server
Bright Data MCP
brightdata-comA powerful Model Context Protocol (MCP) server that provides an all-in-one solution for public web access.
Comments