
ComparEdge LLM Cost
io.github.imkemit-ops由 GitHub 账号 imkemit-ops 发布v1.0.0更新于 Oct 25, 2026
Token cost math for LLM API calls: verified per-1M-token rates for 69 models, 17 providers.
发布方自己的服务:Edge Network
概览
一个本地 MCP 服务器,为助手提供 69 个模型的每百万 token 已验证费率,并计算单次调用、工作负载和预算成本。
- 可以做什么
- 按模型和 token 数量估算单次调用或多次相同调用的美元成本,并在模型支持时给出缓存与批量价格。将同一次调用在 2 到 6 个模型间比价,按最便宜排序。根据调用量和平均 token 数推算每日、每月和每年支出。查找成本最低的模型(可设上下文长度下限),并列出已收录的模型与提供商及其费率和上下文。
- 适用场景
- 适合在规划或说明 AI 功能规模化后的成本、按价格挑选模型、或预测每月 LLM 账单时使用,并希望数字来自带日期的价格源,而不是模型凭记忆给出的价格。
- 运行要求
- 通过 stdio 在本地运行,通常用 npx 从 npm 包启动,因此需要 Node.js。无需 API 密钥或账号。它会联网获取一个公开价格源并缓存约六小时,获取失败时使用上一份可用副本。
安装
在 SourceWeft 中
- 打开 控制台中的 ComparEdge LLM Cost,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Someone asks what the AI feature will cost at scale, and the honest answer around most teams is a shrug. Rates moved twice since anyone last checked, and the model itself will happily quote prices from its training data. This MCP server keeps current per-million-token rates for 69 models where your assistant can reach them, and does the arithmetic itself.
Watch it work
Nothing here is rounded or guessed. The rate is verified, date-stamped, and the server multiplied.
Open a second session: same call across four models, ranked
The gap it closes
The same numbers answer in a browser through the LLM calculator, and the LLM category hub ranks every tracked model by rating and price.
Where the numbers travel
The server never calls a provider API. It reads one public feed, llms-model-prices.json, and computes locally. Nothing to rate-limit, no key to leak, and a network hiccup serves the last good copy instead of an error. How each price gets checked is written up in the methodology, and the catalog behind it ships as an open dataset under CC BY 4.0.
The six tools
Four do the math. Two help you find the exact model id the math wants.
Token rules of thumb, for when nobody knows the counts
- A page of English prose is roughly 500 tokens; one token is about four characters.
- Model references are forgiving:
claude-opus-4-8,Opus 4.8andanthropic/opusresolve to the same model. When the resolver is unsure, it returns candidates instead of guessing. cheapest_modelsranks by a blended rate weighting input to output 3 to 1, because real workloads read far more than they write. Confirm the winner withestimate_coston your actual split.
Prompts
Wire it up
Claude Desktop keeps this file at ~/Library/Application Support/Claude/claude_desktop_config.json. Cursor: Settings, then MCP. VS Code with Copilot reads .vscode/mcp.json. Restart the client; six tools appear. No API key, no account. Per-client walkthroughs live in the setup guide.
Family
Built by ComparEdge, where software prices are checked against vendor pages before anyone quotes them. Two siblings share the data: the full catalog server and a price-change watcher, both on ComparEdge MCP.
MIT licensed. JSON-RPC 2.0 over stdio, standard Model Context Protocol.
来源:README.md,提交 c413e54
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Edge 集成
Edge Network
network.edge官方发布者
Edge Network 云平台的远程 MCP 服务器:助手可在同一账户上部署站点与应用、管理虚拟机、存储桶、DNS 以及 Shield/Assist 组件。

Historical Edge
由 GitHub 账号 joachimglassell-ship-it 发布
远程 MCP 服务器,按受支持的研究与时间跨度返回预先计算、可溯源的历史股票研究统计数据。

Edge Actors: email verifier, DNS facts, URL to Markdown
由 GitHub 账号 EdgeF-4 发布
由 Apify 托管的远程 MCP 服务器,在你的 Apify 账户上提供邮箱验证、SPF/DMARC/MX DNS 查询和网页转 Markdown 功能。

Betting Edge — NFL Elo Research
由 GitHub 账号 FedX19 发布
远程 MCP 服务器,提供归档的 NFL Elo 预测、赔率对比、评分、校准与公开战绩,用于博彩研究。

ValuEdge Stock Research MCP
由 GitHub 账号 kkfir13 发布
只读的股票研究服务器,让助手使用 ValuEdge 的搜索、公允价值、基本面、对比和筛选工具,并查看登录用户自己的投资组合、自选股和提醒。