ModelCostComparison

io.github.Lazige由 GitHub 账号 Lazige 发布v1.0.1更新于 Oct 26, 2026

Find AI model pricing, estimate token costs and compare offers. No API key required.

发布方自己的服务:model.tools — Zero-Auth Agent Utilities

已验证Streamable HTTP可网页运行金融AI 与机器学习

概览

AI 生成的概览

远程 MCP 服务器,用于查询 AI 模型价格、估算美元文本 token 成本并比较不同供应商的报价。

可以做什么
  • 查询供应商与模型,含报价数量及当前输入/输出价格区间
  • 查看具体报价的费率、来源与审核日期
  • 按单个报价计算输入、输出与缓存输入 token 的小计
  • 在同一 token 用量与价格快照下比较 2–20 个报价
  • 按给定用量对符合条件的已审核报价进行成本排序
适用场景
适合在选型前让助手估算或比较大模型 API 成本,或在预算讨论中引用价格来源与审核日期。它是价格查询与估算工具,不是账单,也不评价模型质量。
运行要求
需要一个远程 Streamable HTTP 端点;无需 API 密钥、本地安装包或供应商凭据。服务有速率限制,遇到 HTTP 429 时应按 Retry-After 等待后重试。
安装前请注意
结果仅为美元文本 token 小计估算,不含缓存写入、存储、搜索、工具费用与税费,过期或未审核的报价无法计算。价格来自网站审核过的快照,而非实时抓取供应商数据。请求会发送给第三方托管服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 ModelCostComparison,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.Lazige%2Fmodelcostcomparison/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "modelcostcomparison": {
      "type": "http",
      "url": "https://modelcostcomparison.com/api/v1/mcp"
    }
  }
}

README

ModelCostComparison MCP

Measured by MCPmetrics:

[MCPmetrics: measured MCP protocol support]

Connect your AI client to the same pricing source and calculation engine used by ModelCostComparison.

Install in Cursor

Connect

Remote endpoint: https://modelcostcomparison.com/api/v1/mcp
Transport: Streamable HTTP. No API key or local package required.

Cursor

Use the install link above and confirm the server in Cursor. Alternatively, merge the contents of mcp.json into your Cursor MCP configuration, preserving existing servers. Enable ModelCostComparison in the agent's tools.

Claude

Open Connectors, choose Add custom connector, name it ModelCostComparison and paste the endpoint above. Connect it and enable its tools for your conversation. Organization settings may require an administrator to add it.

Other clients

Add a remote MCP server with the endpoint above and Streamable HTTP transport.

Tools

ToolPurpose
list_modelsFind model and exact tariff identifiers.
get_model_pricingGet rates, sources and review dates.
calculate_costCalculate input, output and cached-input token costs.
compare_model_costsCompare offers for the same token workload.
find_cheapest_modelsRank eligible reviewed offers for a token workload.
list_providersSummarize providers, offers and current price ranges.

Try it

  • “Use ModelCostComparison to list available OpenAI models and show pricing sources and review dates.”
  • “Find reviewed offers for OpenAI, Anthropic and Google. Compare 1 million input tokens and 200,000 output tokens, with no cache and at most 8,000 input tokens per request.”
  • “For the selected offer, estimate 1 million input tokens including 500,000 cached input tokens, plus 100,000 output tokens. Maximum input per request is 8,000 tokens.”

Start with model discovery; use the exact offer IDs returned by the service. Missing or ambiguous workload details should be clarified before calculating.

Scope

Results are estimates of text-token subtotals in USD, not invoices or model-quality rankings. Cache writes, storage, tools, search and taxes are excluded. Expired or unreviewed offers cannot be calculated. Unsupported offers are reported separately in comparisons. Pricing is served from the website's reviewed deployment snapshot, not fetched from providers on every request.

The service is rate limited. On HTTP 429, wait for Retry-After before retrying. HTTP 503 indicates temporary unavailability. No provider credentials are needed, and tools do not call provider models.

This repository contains connection settings and documentation only. Pricing and calculations remain on the hosted service.

References

Official MCP Registry

Published as io.github.Lazige/modelcostcomparison, version 1.0.1. Registry entry. The registry metadata lives in server.json.

来源:README.md,提交 480bd4d

工具

6

list_models

Use first when you know a model name or provider but need exact pricing-offer IDs for pricing or calculations. Search recorded labels and API IDs; case, spacing and punctuation variants are accepted. Multiple tariffs are returned as separate choices. Defaults to current reviewed offers; check costing_supported before calculating. This discovers pricing offers, not model capability recommendations.

输入参数limitquerycursorstatusprovider_idpricing_tier

get_model_pricing

Use after list_models when you need the rates, tariff identity, sources and freshness of one exact offer, without calculating a workload. Supply the returned model_id. Prices are recorded USD text-token rates; expired or unreviewed rates are informational only. Use calculate_cost for a workload estimate.

输入参数model_id必填

calculate_cost

Use when you have one exact offer ID and token usage and want its USD text-token subtotal. Discover the ID with list_models first. Total input includes cached input; do not add cached tokens twice. Excludes cache writes, storage, search, tool fees and taxes. Requires current reviewed, supported rates; does not invoke a model. Use compare_model_costs for several known offers.

输入参数usage必填model_id必填expected_dataset_revision

compare_model_costs

Use when you already have 2–20 exact offer IDs and want their USD text-token subtotals for the same usage and pricing snapshot. Equal token counts are a comparison assumption, not equivalent tokenization of the same text. Returns supported results and per-offer exclusions. Excludes cache writes, storage, search, tool fees and taxes; does not rank quality. Use find_cheapest_models to search without a shortlist.

输入参数usage必填model_ids必填expected_dataset_revision

find_cheapest_models

Use when you know your token workload but have not selected offers: rank eligible current reviewed offers by USD text-token subtotal and return their exact IDs. Defaults to standard tariffs. Cheapest means within the eligible catalogue and supplied filters, not best quality or the entire market. Equal token counts do not imply tokenizer equivalence. Excludes cache writes, storage, search, tool fees and taxes; reports exclusion counts. Optional capacity filtering uses reviewed pricing input limits, not full context windows.

输入参数limitusage必填provider_idpricing_tierexpected_dataset_revisionmin_input_tokens_per_request

list_providers

Use to discover provider IDs and catalogue coverage before filtering model searches. Returns distinct API model counts, offer counts and current supported input/output rate ranges in USD per million tokens. The two rate minima may belong to different offers. For a workload estimate use find_cheapest_models or calculate_cost; ranges are not capability rankings.

输入参数provider_idpricing_tier

版本历史

2
  1. v1.0.1最新Oct 2, 2026
  2. v1.0.0Sep 25, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。

其他 Model 集成