TokensWatch LLM API pricing
v1.0.1Current LLM API prices with cache, batch and long-context rates, cost estimates and change history.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_models List LLM API prices
List current first-party API list prices (USD per million tokens) for LLMs from Anthropic, OpenAI, Google, xAI, DeepSeek and Mistral, including cached-input and Batch API rates. Filter by provider, tier or minimum context window and sort by price.
| Parameter | Type | Description |
|---|---|---|
minContextWindow | integer | Only models whose context window is at least this many tokens. |
provider | string | Provider name, e.g. "Anthropic", "OpenAI", "Google", "xAI", "DeepSeek", "Mistral". |
sortBy | string | input, output, blended (3:1 input:output, the default) or context (largest first). |
tier | string | Model tier: fast (cheap/small), workhorse (mid-range) or frontier (most capable). |
get_model_pricing Get one model’s full pricing
Full pricing for one LLM: standard input/output, cached input, cache writes, Batch API, long-context surcharges, off-peak rates, context window, upcoming announced changes and the provider’s pricing page. Accepts an id ("claude-sonnet-5-5") or a name ("Claude Sonnet 5.5").
| Parameter | Type | Description |
|---|---|---|
model * | string | Model id or display name. |
estimate_cost Estimate and compare LLM API cost
Estimate the cost of a workload per request, per day and per 30-day month. Pass specific models to compare them, or omit models to rank the cheapest ones (optionally filtered by provider, tier or context window). Applies prompt-cache, Batch API, long-context and off-peak pricing where the provider publishes it.
| Parameter | Type | Description |
|---|---|---|
inputTokens * | integer | Prompt tokens per request. |
outputTokens * | integer | Output tokens per request. |
batch | boolean | Use Batch API prices where offered. |
cachedInputShare | number | Fraction of input tokens served from the prompt cache, 0 to 1 (default 0). |
limit | integer | How many ranked results to return when models is omitted (default 10). |
minContextWindow | integer | |
models | array | Model ids or names to compare. Omit to rank all models. |
offPeak | boolean | Use off-peak prices where offered (DeepSeek). |
provider | string | Provider name, e.g. "Anthropic", "OpenAI", "Google", "xAI", "DeepSeek", "Mistral". |
requestsPerDay | integer | Requests per day (default 1). |
tier | string | Model tier: fast (cheap/small), workhorse (mid-range) or frontier (most capable). |
price_changes Recent LLM API price changes
Dated history of LLM API price changes recorded by TokensWatch, newest first. Optionally filter by model and start date. Entries with a note were not confirmed on the provider’s own page.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum entries (default 20). |
model | string | Model id or name. |
since | string | Only changes on or after this date (YYYY-MM-DD). |