SuperAPIAI Directory

mcp

github.com · AI developer platforms

Live, verified LLM API prices: search models, get sourced prices, estimate monthly workload costs.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose

This MCP server is designed to provide any AI agent with real-time, verified LLM API pricing information. It connects to the apipriceindex.com dataset, enabling assistants to answer questions about model pricing and cost estimates, such as "how much would 200M input tokens and 15M output tokens per month cost on Sonnet versus GPT."

Key Capabilities

  • Provides real-time pricing: prices are fetched live from the index, using a 15-minute in-memory cache to avoid using outdated training data.
  • Includes verification information: each price includes a verification date, cross-check confidence, and source URL.
  • Cost estimation: supports estimating monthly workload costs based on input/output token volumes.
  • Cache discounts: provides cache discounts only when the provider publishes cached input pricing.
  • Error handling: returns a clear error when the index is unreachable, and does not silently provide cached or fabricated prices; when the index is more than 14 days old, it still answers but includes a warning and points to the index's health check endpoint; when a model is not included, it clearly states so and links to the dataset, without inventing prices.

Usage

This server can be used with Claude Code / Claude Desktop, and can also be used in any MCP client configuration. For specific installation and configuration commands, refer to the project repository. Environment variable APIPRICEINDEX_URL can override the dataset URL (for testing).

Use Cases

  • An AI assistant needs to answer questions about LLM API pricing or cost estimation.
  • A developer or team needs to plan a budget based on the latest prices.
  • Traceable pricing data with sources and verification dates is needed.

Limitations

  • Provides cost information only, and does not evaluate or rank model quality.
  • Does not distribute third-party benchmark scores.
  • Pricing data comes from apipriceindex.com, is licensed under CC BY 4.0, and requires attribution to "API Price Index."
  • The code is licensed under MIT.
  • Specific installation commands, configuration details, and the list of supported models are not provided at this time.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools