TokenBudget

io.github.adamhursey/tokenbudget · v0.2.0 · agents-and-memory

TokenBudget is healthy: it completed an MCP handshake in 2528 ms and exposes 7 tools.

Sourced LLM API prices and cost budgets for agent runs across OpenAI, Claude, Gemini and more.

Endpoint: https://tokenbudget.netlify.app/mcp (streamable-http)

No repository listed · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count7
Latency2528 ms
Last checked (UTC)2026-11-29T18:55:25.547Z

Health history

Checked (UTC)StatusLatencyError
2026-11-29T18:55:25.547ZHealthy2528
2026-11-27T10:05:52.200ZHealthy331
2026-11-25T02:45:19.245ZHealthy2252

Tools (7)

estimate_costPrice one LLM request (input + expected output) on many models at once, cheapest first, with current list prices from each provider's own pricing page (source URL and check date included), prompt-cache and batch discounts, long-prompt surcharges and announced price changes. Also says whether the req
plan_agent_runEstimate the total cost of an agent loop that re-sends its growing context every turn, with prompt caching, on many models. Returns total cost, peak context, how many turns fit in each model's context window, how many turns fit in a budget, and a recommended model. Use before starting a long agent t
check_context_fitSay which models can take this input plus the output you want to reserve, which cannot, and which do not publish a context window. Use before sending a very large document or conversation.
count_tokensEstimate how many tokens a text is for each tokenizer family (OpenAI o200k, Claude legacy and 2026, Gemini, DeepSeek, Mistral, Qwen), with an error band. Estimates only; for exact counts use the provider's count endpoint.
list_modelsList every model this tool prices, with input, output, cache and batch prices per 1M tokens, context window, max output, source URL and the day the price was checked.
get_model_pricingPrice, context window, long-prompt surcharge, announced price changes and source for one model id.
send_feedbackReport a wrong price, a missing model, a bug or an idea. Read by a person. Keep it under 1000 characters and do not include prompts, secrets or personal data (they are scrubbed anyway).