# AICostBudget AI API Pricing

AICostBudget AI API Pricing is an MCP server for Claude Code that retrieves AI model rates, compares options, and estimates spend. The agent can call it to check a provider’s prices or price changes.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5 repo stars
- Author: aicostbudget
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/aicostbudget/ai-api-pricing-data/tree/HEAD/packages/mcp-server
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/aicostbudget-ai-api-pricing

## What it does

The server returns model rates, filtered model lists, comparisons, and price-change events. Monthly estimates use the selected model, input and output token counts, and request volume. Successful results include official provider links and a verification date.

Node.js 18 or newer and `npx` are required. At runtime, the server fetches public data from the dataset, GitHub, and `aicostbudget.com`; corporate proxies must allow the npm registry and those endpoints. If live data cannot be loaded, the response says it used the bundled fallback, which may be older. When a required rate is missing, the server stops the estimate rather than substituting another rate.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add ai-api-pricing-mcp -- npx -y ai-api-pricing-mcp
```

### Codex

**Platform CLI**
```bash
codex mcp add mcp-server -- npx -y ai-api-pricing-mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "ai-api-pricing-mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp-server": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "ai-api-pricing-mcp"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add mcp-server npx -y ai-api-pricing-mcp
```

## When to use it
- look up a model’s API price
- filter models by input or output rates
- estimate monthly spend for a request workload
- compare estimated costs across models
- find a provider’s price changes

## Example prompts
- Get the price for `gpt-4.1`.
- Estimate monthly spend for `gpt-4.1` using this request and token volume.
- Show OpenAI price changes from `2026-01-01`.

## Similar
- [OCI Pricing](https://affpapa.org/en/nevibecode/mcp/oci-pricing.md) — MCP server · ★ 5 repo stars
- [BuyAPI](https://affpapa.org/en/nevibecode/mcp/buyapi.md) — MCP server · 1066 installs
- [ATOM Pricing Intelligence](https://affpapa.org/en/nevibecode/mcp/atom-pricing-intelligence.md) — MCP server · 4780 installs
- [azure-pricing](https://affpapa.org/en/nevibecode/skills/azure-pricing.md) — skill · 4700 installs
- [Claude API Pricing](https://affpapa.org/en/nevibecode/mcp/claude-api-pricing.md) — MCP server
- [catalyst-pricing](https://affpapa.org/en/nevibecode/skills/catalyst-pricing.md) — skill · 1200 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
