list_models
List LLM models and prices
List current OpenAI, Anthropic and Google API models with standard, cached-input and batch prices in USD per million tokens.
tierprovider
io.github.AiGanak由 GitHub 账号 AiGanak 发布v2026.11.5更新于 Nov 7, 2026
LLM API prices, cost estimates, model comparisons and language token tax for GPT, Claude and Gemini.
本地 MCP 服务器,让助手查询 OpenAI、Anthropic 和 Google 的 LLM API 现价、估算成本、比较模型,并查看各语言的 token 溢价。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
Ask your AI assistant what an LLM workload will cost, which model is cheapest for it, and how much more the same text costs in Hindi, German or Japanese, using current, sourced prices for OpenAI, Anthropic and Google models.
Works with any MCP client: Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and others. No API key, no account.
Example questions:
Requires Node.js 18 or later.
Claude Desktop: add to claude_desktop_config.json:
Claude Code:
Cursor: add the same mcpServers entry to ~/.cursor/mcp.json.
From source (no npm needed):
Prices, the price change log and the token tax index come from AiGanak/llm-prices (CC BY 4.0). The server fetches the latest data at start-up and falls back to the copy bundled with the package if it is offline (set LLM_PRICES_OFFLINE=1 to always use the bundled copy). Prices are checked weekly against each provider's own pricing page; the token tax is re-measured monthly with each provider's official token counter.
Prices change. Confirm on the provider's page before committing to a budget.
Built by AiGanak. We help teams cut LLM spend without losing quality: free tools at aiganak.com/tools, the LLM Cost Report and cost audits.
来源:mcp/README.md,提交 1b48694
List LLM models and prices
List current OpenAI, Anthropic and Google API models with standard, cached-input and batch prices in USD per million tokens.
tierproviderGet one model's full pricing
Full pricing for one model: standard, cached input, cache write, batch, long-context surcharge, announced future price changes and the provider's source page.
model必填Estimate the cost of LLM requests
Cost in USD of N requests on one model, with input/output breakdown, caching, batch, long-context surcharges and announced price changes.
datebatchmodel必填requestsinput_tokens必填output_tokens必填cached_input_tokensCompare the same workload across models
Price the same request on every model (optionally one provider or tier), cheapest first. Use to choose a model on cost before testing quality.
datetierbatchproviderrequestsinput_tokens必填output_tokens必填cached_input_tokensLanguage token tax
How many more tokens the same text takes in a language than in English, on each measured model (OpenAI GPT-6, Claude 5.x, Gemini 3.x, Gemini 4 Argon). 22 languages incl. Hindi, Tamil, German, Japanese. Omit language to list all.
languageEstimate tokens and cost for a text in any measured language
Estimate how many tokens a text takes on a model and what N such messages cost as input or output, using measured tokens-per-character for its language. Detects the script if language is omitted.
astext必填model必填languagemessagesRecent LLM API price changes
Dated, sourced log of LLM API price changes and pricing announcements (newest first).
limit已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
{ "mcpServers": { "aiganak-llm-cost": { "command": "npx", "args": ["-y", "@aiganak/llm-cost-mcp"] } }}claude mcp add aiganak-llm-cost -- npx -y @aiganak/llm-cost-mcpgit clone https://github.com/AiGanak/llm-prices && cd llm-prices/mcp && npm install# then use: "command": "node", "args": ["/path/to/llm-prices/mcp/index.js"]