mcpField
A
AiGanak LLM Cost

AiGanak LLM Cost

Local
aiganak.comAI & Agents0Updated 2d ago

About AiGanak LLM Cost

AiGanak LLM Cost is an MCP server for teams estimating and comparing API spend across OpenAI, Anthropic, and Google models. It combines sourced pricing with workload estimates and language token measurements.

Key features

  1. 01Current model pricing
  2. 02Workload cost estimates
  3. 03Cheapest-model comparisons
  4. 04Token overhead across 22 languages
  5. 05Text token and cost estimates
  6. 06Dated price-change history

Use cases

  1. 01Estimate API spend for a request volume
  2. 02Compare model costs for the same workload
  3. 03Assess token overhead for non-English text

MCP support

Exposes pricing, cost-estimation, comparison, and token-language tools to MCP clients. It works without an API key or account.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"aiganak-llm-cost": {
"command": "npx",
"args": [
"-y",
"@aiganak/llm-cost-mcp"
]
}
}
}
Run commandnpx -y @aiganak/llm-cost-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@aiganak/llm-cost-mcp2026.11.5

Tools

7

Saved tool list · updated 4d ago

ParameterTypeRequiredDescription
tierenumNoflagship | mid | small
providerenumNoOpenAI | Anthropic | Google

Details

From the project README

AiGanak LLM Cost MCP server

Ask your AI assistant what an LLM workload will cost, which model is cheapest for it, and how much more the same text costs in Hindi, German or Japanese, using current, sourced prices for OpenAI, Anthropic and Google models.

Works with any MCP client: Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and others. No API key, no account.

Tools

ToolWhat it answers
list_modelsCurrent models with standard, cached-input and batch prices per million tokens
get_model_priceFull pricing for one model: cache writes, long-context surcharges, announced price changes, source page
estimate_costCost of N requests on one model, with caching, batch and future-dated prices
compare_modelsThe same workload priced on every model, cheapest first
token_taxHow many more tokens a language takes than English, per model family (22 languages)
estimate_text_costTokens and cost for a piece of text in any measured language, script detected automatically
price_changesDated, sourced log of LLM API price changes

Example questions:

  • "What will 50,000 requests of 6,000 input tokens (4,000 cached) and 500 output cost on Claude Sonnet 5.5 vs GPT-6.1 Sol?"
  • "Which model is cheapest for a Tamil support bot?"
  • "What does Gemini 4 Argon cost per request after its December price change?"

Install

Requires Node.js 18 or later.

Claude Desktop: add to claude_desktop_config.json:

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

Claude Code:

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

Cursor: add the same mcpServers entry to ~/.cursor/mcp.json.

From source (no npm needed):

git clone https://github.com/AiGanak/llm-prices && cd llm-prices/mcp && npm install
# then use: "command": "node", "args": ["/path/to/llm-prices/mcp/index.js"]

Data

Prices, the price change log and the token tax index come from AiGanak/llm-prices (CC BY 4.0). The server fetches the latest data at start-up and falls back to the copy bundled with the package if it is offline (set LLM_PRICES_OFFLINE=1 to always use the bundled copy). Prices are checked weekly against each provider's own pricing page; the token tax is re-measured monthly with each provider's official token counter.

Prices change. Confirm on the provider's page before committing to a budget.

About

Built by AiGanak. We help teams cut LLM spend without losing quality: free tools at aiganak.com/tools, the LLM Cost Report and cost audits.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.