# apipriceindex.com

> apipriceindex.com is a free MCP server for ai models and llm tooling. Live LLM API prices, free models and discounts across 65 providers for your agent. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI, API
- **Website:** https://apipriceindex.com
- **Repository:** https://github.com/apipriceindex/mcp
- **MCP Registry name:** io.github.apipriceindex/mcp
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm), [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-11-21

## About

Every answer from apipriceindex-mcp comes from a daily-checked index of LLM API offers, with the verification date, a cross-check confidence and the source URL attached. The site tracks 794 offers across 65 providers, read from each provider's own price list or API and compared against OpenRouter, models.dev and LiteLLM. Data is published under CC BY 4.0.

Beyond looking up one price, the tools can estimate a monthly bill for a given token workload and rank models cheapest first, compare two to four models side by side, list every host serving one model, and find the cheapest model that reaches a given Epoch Capabilities Index score. Deals always carry an end date, or say no end date, with a link to the host's own page.

Behaviour is deliberately cautious. If the index cannot be reached you get an explicit error rather than a cached or invented price, and if the index is more than 14 days old answers come with a warning. A model that is not tracked is reported as such. It ranks cost only, not model quality. Install with pip install apipriceindex-mcp.

## Features

- **Verified prices:** Input, output and cached-input prices per million tokens with date, confidence and source.
- **Cost estimates:** Estimates a monthly bill for a workload and ranks chosen models or the whole catalogue.
- **Deals and free models:** Lists free endpoints, discounts, free credits and tiers with end dates.
- **Model comparison:** Compares two to four models and shows every host for one model.
- **Level-based search:** Finds the cheapest models reaching an Epoch Capabilities Index score.
- **Price changes:** Shows price drops, rises and new models over recent days.

## Good for

- Find where a given model is cheapest today
- Compare monthly cost of two models for a token workload
- List LLMs that are free to call right now
- Find the cheapest model at least as good as a named one
- Spot price drops across providers this week

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp -- uvx apipriceindex-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "apipriceindex-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "apipriceindex-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "apipriceindex-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "apipriceindex-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "apipriceindex-mcp"
      ]
    }
  }
}
```

## Tools

- `search_models`: Finds model ids by name or provider with filters for context, price and capabilities.
- `get_price`: Returns the verified price of one model with date, confidence and source.
- `estimate_cost`: Estimates the monthly bill of a workload and ranks models cheapest first.
- `list_deals`: Lists free models, discounts, free credits and tiers with end dates.
- `offers_table`: Shows every host serving one model with chosen columns.
- `compare_models`: Compares two to four models side by side.
- `cheapest_at_level`: Finds the cheapest models reaching an Epoch Capabilities Index score.
- `price_changes`: Lists price drops and rises and new models over recent days.

## FAQ

### Where does the data come from?

From each provider's own price list or API, and OpenRouter's per-provider data, with a source URL on every price.

### What happens if the index is down?

The server returns an explicit error and never serves a cached or invented price.

### Does apipriceindex.com rank model quality?

No. It reports cost only, plus the Epoch Capabilities Index score credited to Epoch AI.

### How is apipriceindex.com installed?

pip install apipriceindex-mcp, then add it with claude mcp add apipriceindex -- apipriceindex-mcp.

### What licence is the data under?

CC BY 4.0.

### Is apipriceindex.com free?

Yes. apipriceindex.com is free to use.

### How do I add apipriceindex.com to Claude Code?

Run this command in your terminal: claude mcp add mcp -- uvx apipriceindex-mcp

### What are the best alternatives to apipriceindex.com?

The closest alternatives to apipriceindex.com are ModelCostComparison, Cheapest LLM API, easiapiai - LLM API prices, SLXD AI API Pricing and Open Weights Index.

## Where this comes from

- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [ModelCostComparison](https://ai-powered.com/mcp/modelcostcomparison): ModelCostComparison is a free MCP server for ai models and llm tooling.
- [Cheapest LLM API](https://ai-powered.com/mcp/cheapest-llm-api): Cheapest LLM API is a free MCP server for ai models and llm tooling.
- [easiapiai - LLM API prices](https://ai-powered.com/mcp/easiapiai-llm-api-prices): easiapiai - LLM API prices is a free MCP server for ai models and llm tooling.
- [SLXD AI API Pricing](https://ai-powered.com/mcp/slxd-ai-api-pricing): SLXD AI API Pricing is a free MCP server for ai models and llm tooling.
- [Open Weights Index](https://ai-powered.com/mcp/open-weights-index): Open Weights Index is an MCP server for ai models and llm tooling.
- [Modelprice](https://ai-powered.com/mcp/modelprice): Modelprice is an open-source MCP server for ai models and llm tooling.
- [InferCPI](https://ai-powered.com/mcp/infercpi): InferCPI is a free MCP server for analytics and data.
- [AI API Prices](https://ai-powered.com/mcp/ai-api-prices): AI API Prices is an open-source MCP server for design and media.

---
Source: https://ai-powered.com/mcp/apipriceindex-com
