llm-cost
@comparedge
关于 llm-cost
MCP server: token cost math for LLM API calls, 69 models across 17 providers, prices verified by ComparEdge
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"llm-cost": {
"command": "npx",
"args": [
"-y",
"@comparedge/llm-cost-mcp@latest"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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?"
数据与分析 分类下的更多 MCP 服务器
ArXiv MCP Server
blazickjpA Model Context Protocol server for searching and analyzing arXiv papers
PubMed Analysis MCP Server
DarkroasterA PubMed MCP server.
Google Ads MCP
cohnenAn MCP tool that connects Google Ads with Claude AI/Cursor and others, allowing you to analyze your advertising data through natural language conversations. This integration gives you access to campaign information, performance metrics, keyword analytics, and ad management—all th
PubMed MCP Server
cyanheadsSearch PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms via MCP. STDIO or Streamable HTTP.
评论