LLM pricing oracle β model lookup, cost estimation, and comparison via LiteLLM
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Tokencost Dev.
get_model_detailsLook up pricing, context window, and capabilities for any model. Fuzzy matching means `"sonnet 4.5"` works just as well as `"claude-sonnet-4-5-20250514"`.
calculate_estimateEstimate cost for a given number of input and output tokens.
compare_modelsFind the most cost-effective models matching your requirements.
refresh_pricesForce re-fetch pricing data from the LiteLLM registry (cache is refreshed automatically every 24h).
Ask your AI assistant "how much does GPT-4o cost?" β get an instant, accurate answer.
Claude Code:
Then ask: "How much would 1M input tokens cost on claude-sonnet-4-5?"
Cursor (.cursor/mcp.json):
No API keys. No accounts. No configuration files. Pricing data is fetched from the LiteLLM community registry and cached locally for 24 hours.
get_model_detailsLook up pricing, context window, and capabilities for any model. Fuzzy matching means "sonnet 4.5" works just as well as "claude-sonnet-4-5-20250514".
calculate_estimateEstimate cost for a given number of input and output tokens.
compare_modelsFind the most cost-effective models matching your requirements.
refresh_pricesForce re-fetch pricing data from the LiteLLM registry (cache is refreshed automatically every 24h).
Full documentation at tokencost.dev
MIT
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/tokencost-dev)<a href="https://allmcps.com/mcp/tokencost-dev"><img src="https://allmcps.com/api/badge/tokencost-dev?style=directory" alt="Tokencost Dev on AllMCPs" /></a>