AiGanak LLM Cost

io.github.AiGanakPublished by GitHub account AiGanakv2026.11.5Updated Nov 7, 2026

LLM API prices, cost estimates, model comparisons and language token tax for GPT, Claude and Gemini.

VerifiedSTDIODesktop onlyFinanceAI & ML

Overview

AI-generated overview

Local MCP server that gives an assistant current OpenAI, Anthropic and Google LLM API prices, cost estimates, model comparisons and language token-tax figures.

What you can do
  • List models with standard, cached-input and batch prices per million tokens
  • Get full pricing for one model, including cache writes, long-context surcharges and announced changes
  • Estimate the cost of N requests on a model, with caching, batch and future-dated prices
  • Compare the same workload across all models, cheapest first
  • Measure how many more tokens a text takes in 22 languages than in English, and estimate tokens and cost for a given text
  • Read a dated, sourced log of LLM API price changes
When to use it
Useful when planning or budgeting LLM workloads: comparing models on cost, sizing a request volume, checking what a price change means, or estimating multilingual token overhead before committing to a model.
Requirements
Runs locally over stdio via the npm package @aiganak/llm-cost-mcp; needs Node.js 18 or later. No API key or account. Fetches the latest price data at start-up and falls back to a bundled copy when offline; LLM_PRICES_OFFLINE=1 forces the bundled copy.
Before you install
Figures are third-party data from AiGanak (CC BY 4.0) and the server asks that AiGanak and the check date be cited when quoting them. Prices change, so confirm on the provider's own page before committing to a budget. Read-only: it estimates costs and does not call provider APIs or spend money.

Installation

In SourceWeft

  1. Open AiGanak LLM Cost in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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:

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

Claude Code:

bash
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):

bash
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.

Source: mcp/README.md at commit 1b48694

Tools

7

list_models

List LLM models and prices

List current OpenAI, Anthropic and Google API models with standard, cached-input and batch prices in USD per million tokens.

Parameterstierprovider

get_model_price

Get one model's full pricing

Full pricing for one model: standard, cached input, cache write, batch, long-context surcharge, announced future price changes and the provider's source page.

Parametersmodelrequired

estimate_cost

Estimate the cost of LLM requests

Cost in USD of N requests on one model, with input/output breakdown, caching, batch, long-context surcharges and announced price changes.

Parametersdatebatchmodelrequiredrequestsinput_tokensrequiredoutput_tokensrequiredcached_input_tokens

compare_models

Compare the same workload across models

Price the same request on every model (optionally one provider or tier), cheapest first. Use to choose a model on cost before testing quality.

Parametersdatetierbatchproviderrequestsinput_tokensrequiredoutput_tokensrequiredcached_input_tokens

token_tax

Language token tax

How many more tokens the same text takes in a language than in English, on each measured model (OpenAI GPT-6, Claude 5.x, Gemini 3.x, Gemini 4 Argon). 22 languages incl. Hindi, Tamil, German, Japanese. Omit language to list all.

Parameterslanguage

estimate_text_cost

Estimate tokens and cost for a text in any measured language

Estimate how many tokens a text takes on a model and what N such messages cost as input or output, using measured tokens-per-character for its language. Detects the script if language is omitted.

Parametersastextrequiredmodelrequiredlanguagemessages

price_changes

Recent LLM API price changes

Dated, sourced log of LLM API price changes and pricing announcements (newest first).

Parameterslimit

Version history

1
  1. v2026.11.5LatestNov 6, 2026

Score

90% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts
  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts