list_models
List models
List LLMs tracked by Agent Cost Hub with API list prices per 1M tokens. Optional filter by provider or text.
searchproviderpopular_only
com.agentcosthub由 agentcosthub.com 發布官方發布者v1.0.1更新於 Nov 3, 2026
每日核驗的LLM API價格與AI代理程式成本估算。唯讀成本查詢工具。
AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。
LLM API prices and AI agent cost estimates, verified daily. Read-only cost lookup tools.
Agent Cost Hub 的託管 MCP 服務(agentcosthub.com),由 agentcosthub.com 發布;無需登入;Streamable HTTP;5 個工具。
暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/com.agentcosthub%2Fagent-cost-hub/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"agent-cost-hub": {
"type": "http",
"url": "https://agentcosthub.com/mcp"
}
}
}A free, read-only MCP server that lets AI assistants (Claude, Cursor, and other MCP clients) answer: "What will this AI agent cost me per month?"
It uses the same price list and formula as agentcosthub.com. The price list covers 79 models and is checked daily.
https://agentcosthub.com/mcp (Streamable HTTP, no sign-in, no API key)com.agentcosthub/agent-cost-hubClaude (claude.ai: Pro, Max, Team)
Settings → Connectors → Add custom connector → paste https://agentcosthub.com/mcp → choose No sign-in.
Claude Desktop (claude_desktop_config.json; Desktop uses stdio, so it bridges with mcp-remote):
Cursor (~/.cursor/mcp.json):
Then ask, for example: "What's the cheapest model for a coding agent?" or "Compare Claude Sonnet 5.5 and GPT-5 for a RAG chatbot."
Presets
Formula
steps × (in × (1−cached%) × in_price + in × cached% × cached_price + out × out_price) ÷ 1M × calls/day × 30
The estimate uses list prices and leaves out cache-write fees. Every result includes prices_last_verified and a link to the matching agentcosthub.com page.
cheapest_models_for { "preset": "coding_agent" }, top 5:
estimate_cost { "model": "anthropic/claude-opus-5.5", "preset": "coding_agent" } → $1,620/month. With "cached_percent": 90 it drops to $936/month.
The trimmed raw response looks like this:
Prices change, so these numbers are a snapshot. A live call always returns the current figures.
Try it from a terminal:
Or use the MCP Inspector:
src/mcp-core.mjs is the JSON-RPC MCP server, written with no SDK. It's a source reference: it imports the price data and formula from the agentcosthub.com site build, which isn't in this repo.dist/mcp-core.js is a self-contained bundle that includes a price snapshot. The hosted endpoint is always the current version.src/worker.mjs and src/wrangler.toml are an optional standalone Cloudflare Worker.server.json is the MCP Registry manifest.MIT licensed. Made by Agent Cost Hub.
來源:README.md,提交 2b08aeb
List models
List LLMs tracked by Agent Cost Hub with API list prices per 1M tokens. Optional filter by provider or text.
searchproviderpopular_onlyGet model price
Current API list price of one model (input, output, cached input per 1M tokens) plus example monthly agent costs.
model必填Estimate agent cost
Estimate the monthly API cost of an AI agent or chatbot on one model. Easiest: pass model + preset (chatbot, rag, coding_agent, research_agent). Or give input_tokens, output_tokens and calls_per_day (plus optional steps_per_task, cached_percent); explicit numbers override the preset.
model必填presetinput_tokenscalls_per_dayoutput_tokenscached_percentsteps_per_taskCompare models
Compare 2-5 models on price and (optionally) on the monthly cost of one workload.
models必填presetinput_tokenscalls_per_dayoutput_tokenscached_percentsteps_per_taskCheapest models for a workload
Rank models by monthly cost for a workload. Use a preset (chatbot, rag, coding_agent, research_agent) or give token numbers.
limitpresetinput_tokenspopular_onlycalls_per_dayoutput_tokenscached_percentsteps_per_task已滿足適用檢查項的 100%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
{ "mcpServers": { "agentcosthub": { "command": "npx", "args": ["-y", "mcp-remote", "https://agentcosthub.com/mcp"] } } }{ "mcpServers": { "agentcosthub": { "url": "https://agentcosthub.com/mcp" } } }{ "workload": { "input_tokens": 20000, "output_tokens": 1500, "calls_per_day": 50, "steps_per_task": 15, "cached_percent": 50, "preset": "coding_agent" }, "ranking": [ { "model": "anthropic/claude-haiku-5.5", "name": "Claude Haiku 5.5", "monthly_usd": 41.625, "monthly": "$41.63", "per_task_usd": 0.02775, "page": "https://agentcosthub.com/models/anthropic--claude-haiku-5.5/" } ], "prices_last_verified": "2026-11-02", "source": "https://agentcosthub.com"}curl -s https://agentcosthub.com/mcp -H 'content-type: application/json' \ -H 'accept: application/json, text/event-stream' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cheapest_models_for","arguments":{"preset":"chatbot"}}}'npx @modelcontextprotocol/inspector --cli https://agentcosthub.com/mcp --transport http --method tools/list