Skip to content
MCP server

AiGanak LLM Cost

LLM API prices, workload cost estimates and the extra tokens non-English text uses

Runs locallyStatus and history
Install
Pricing
Free
Platforms
CLI, API
Runs
Locally
Version
2026.11.5
Listing updated
3 days ago

About AiGanak LLM Cost

AiGanak LLM Cost is a free MCP server for ai models and llm tooling. It runs locally on your machine and is started by your AI client.

Most price lists stop at the per-million-token rate. This server also answers what a given workload will cost, with caching and batch discounts applied, and how much more the same text costs in another language. The README gives the example of asking which model is cheapest for a Tamil support bot, or what 50,000 requests of 6,000 input tokens (4,000 cached) and 500 output tokens cost on two models.

Seven tools cover model listings, single-model pricing (cache writes, long-context surcharges, announced changes and the source page), cost estimates, a cheapest-first comparison across models, a token_tax measure across 22 languages, text cost estimates with script detection and a dated log of price changes. Data comes from the open AiGanak llm-prices repository under CC BY 4.0; the server fetches the latest copy at start-up and falls back to a bundled one when offline. Prices are re-checked weekly against provider pages and token counts re-measured monthly.

No key or account is needed. It runs through npx and needs Node.js 18 or newer.

Install

Run in a terminal

claude mcp add llm-cost -- npx -y @aiganak/llm-cost-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "llm-cost": {
      "command": "npx",
      "args": [
        "-y",
        "@aiganak/llm-cost-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "llm-cost": {
      "command": "npx",
      "args": [
        "-y",
        "@aiganak/llm-cost-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "llm-cost": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@aiganak/llm-cost-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "llm-cost": {
      "command": "npx",
      "args": [
        "-y",
        "@aiganak/llm-cost-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "llm-cost": {
      "command": "npx",
      "args": [
        "-y",
        "@aiganak/llm-cost-mcp"
      ]
    }
  }
}

Tools this server provides (7)

Taken from the project documentation; the running server may differ.

list_models
Lists current models with standard, cached-input and batch prices per million tokens.
get_model_price
Returns full pricing for one model, including cache writes and announced changes.
estimate_cost
Estimates the cost of N requests on one model.
compare_models
Prices the same workload on every model, cheapest first.
token_tax
Shows how many more tokens a language needs than English per model family.
estimate_text_cost
Estimates tokens and cost for a text in any measured language.
price_changes
Returns a dated log of LLM API price changes.

What it does

Workload costing
Prices N requests with cached input and batch tiers.
Cheapest-first comparison
Prices one workload on every tracked model.
Language token tax
Shows how many more tokens a language uses than English, per model family.
Announced changes
Includes dated future price changes in per-model details.
Offline fallback
Uses a bundled data copy if the live fetch fails.
No key required
Runs locally with no account.

Good for

  • Compare monthly cost of a chat workload across providers
  • Check what a December price rise does to your bill
  • Estimate cost of the same prompt in Hindi or Japanese
  • Find the cheapest model for a long-context job

Pricing

Free

Free; no key or account

Prices change. Check aiganak.com before you buy.

AiGanak LLM Cost FAQ

Does it need an API key?

No. The README says no API key and no account.

How current are the prices?

The data repo says prices are checked weekly against each provider's pricing page; the server pulls the latest at start-up.

Which languages does token tax cover?

22 languages, measured monthly with each provider's official token counter.

What licence is the data under?

CC BY 4.0, from the AiGanak llm-prices repository.

Is AiGanak LLM Cost free?

Yes. AiGanak LLM Cost is free to use.

How do I add AiGanak LLM Cost to Claude Code?

Run this command in your terminal: claude mcp add llm-cost -- npx -y @aiganak/llm-cost-mcp

What are the best alternatives to AiGanak LLM Cost?

The closest alternatives to AiGanak LLM Cost are Claude Code Ultimate Guide, signafAIde, Toolkien, Lugh and HypePaper.

Alternatives to AiGanak LLM Cost

  1. MCP server for searching the Claude Code Ultimate Guide from any MCP client

    Runs locally
    • Open source
    • 6.5K GitHub stars
    • AI models and LLM tooling
  2. signafAIde

    MCP server

    Local MCP server to set up, verify and check coverage of signed agent action records

    Runs locally
    • 5 tools
    • Freemium
    • Security
  3. Toolkien

    MCP server

    One MCP gateway for all your MCP servers, with code mode, permissions and audit

    Not checked yet
    • 3 tools
    • Remote
    • Open source
    • AI models and LLM tooling
  4. Lugh

    MCP server

    Write, check and dry-run Lugh agent programs with policy, budgets and approvals

    Runs locally
    • 5 tools
    • Open source
    • AI models and LLM tooling
  5. HypePaper

    MCP server

    Research papers, benchmarks, citations and topic experts for AI assistants

    • 58 tools
    • Remote
    • Freemium
    • AI models and LLM tooling