LLM Pricing
by llm-pricing-api.fly.dev in AI models & inference
Real-time, drift-verified LLM pricing across 26 providers with cost+quality model routing.
https://llm-pricing-api.fly.dev/mcp- Tools
- 29
- open to any client
- Uptime
- 100%
- last 30 days
- Response time
- 276 ms
- 517 ms slowest 5%
- Last check
- Passed
- 5 h ago, next in 2 h
Reliability
Status and outage history · Atom feed · Watch with other listings
How to connect
Add it to any MCP client that supports remote servers.
{
"mcpServers": {
"llm-pricing": {
"type": "http",
"url": "https://llm-pricing-api.fly.dev/mcp"
}
}
}29 tools
- get_all_pricing
Get current pricing for all LLM models from all providers
- estimate_cost
Estimate the cost of using a specific LLM model
- compare_costs
Compare costs for multiple LLM models
- get_performance_metrics
Get performance metrics (throughput, latency, context window) for models
- get_use_cases
Get recommended use cases and strengths for LLM models
- get_telemetry
Get MCP server telemetry and usage statistics including tool usage, response times, and error rates
- get_pricing_history
Query historical pricing snapshots recorded over time. Use this to look up past prices for a model or provider, or to see how prices have changed over a given number of days.
- get_pricing_trends
Find models whose prices changed the most over a given period. Returns models sorted by absolute percentage price change with a direction label ('increased', 'decreased', or 'unchanged'). Use this to answer questions like 'which models got cheaper this month?' or 'which…
- register_price_alert
Register a webhook URL to receive notifications when a model's price changes by more than a specified percentage. Optionally scope the alert to a specific provider or model. Returns the alert ID.
- list_price_alerts
List all registered price-change webhook alerts with their IDs and settings.
- delete_price_alert
Delete a registered price-change alert by its ID.
- get_pricing_export_url
Generate a download URL for the pricing history export. Returns a URL the user can open in their browser to download snapshot history as CSV (for spreadsheets) or JSON (for code). Use this when the user asks to export, download, or save pricing data.
- list_conversations
List stored chat conversation sessions with their IDs, last-updated timestamp, turn count, and a preview of the most recent user message. Use this when the user asks to see their past conversations or chat history.
- delete_conversation
Delete a specific chat conversation by its ID. Use when the user asks to delete, clear, or remove a past conversation. Use list_conversations first to find the conversation ID.
- get_ide_pricing
Get subscription pricing for AI coding IDE tools: GitHub Copilot, Cursor, Windsurf, Claude.ai, JetBrains AI, Amazon Q Developer, and Tabnine. Returns monthly subscription cost, inline completion support, context window, and per-tool strengths. Use this when the user asks to…
- predict_cost
Predict the real cost of an LLM call from your actual prompt text — no need to know token counts in advance. Counts tokens locally, infers the task type (or accepts one explicitly), estimates output length from empirical I/O profiles, and returns all models ranked cheapest-first…
- optimize_workload
Optimise a multi-task LLM workload by assigning the cheapest qualifying model to each task instead of running everything through one model. Takes a list of workloads (task type + monthly volume + optional quality floor and capability requirements) and returns a per-task model…
- recommend_model
Recommend the optimal LLM model from a free-text description of your use case — no need to already know the routing engine's task_type vocabulary. Classifies the description into a task type, then runs it through the same routing engine behind /router/recommend (live pricing +…
- check_price_drift
Audit this server's own pricing data against an external reference registry. Prices here are hand-maintained and go stale silently; a price that disagrees with the registry by more than the threshold is automatically withheld from serving the moment it's detected, not just when…
- get_data_quality
Report an aggregate accuracy summary for the pricing catalogue: what percentage of models have a confirmed, fresh price, how many are currently withheld due to price drift, how many are newly discovered and not yet priced, and how many confirmed prices are over 90 days old. A…
- get_cache_stats
Report process-lifetime hit/miss counts, total lookups, and hit rate for the ~5-minute recommendation cache, separately for the recommend_model tool and POST /router/recommend (never combined). Server-operations introspection for confirming the cache is reducing recomputation in…
- record_usage
Record actual token usage for a completed LLM call. Cost is computed server-side from current pricing, never trusted from the caller — this is the 'actual spend' counterpart to estimate_cost's hypothetical numbers. Optionally scope to an org_id for per-org spend tracking…
- get_usage_summary
Get a summary of actual recorded LLM spend: total cost, request count, and breakdowns by model and provider, from usage events previously logged via record_usage. Use when the user asks what they've actually spent, as opposed to a hypothetical cost estimate.
- analyze_session_usage
Analyze one specific session's actual recorded LLM usage (tagged via record_usage's session_id) on demand: total input/output tokens, total actual cost, and a per-model breakdown if more than one model was used. Also runs the session's own observed token pattern through the same…
- import_session_usage
Bulk-import a completed session's usage in a single call — the retroactive counterpart to record_usage, for when a session wasn't instrumented live. Use when a calling agent (e.g. VS Code Copilot Chat) already has a session's turn-by-turn history in its own local store and wants…
- register_budget_alert
Register a webhook URL to receive notifications when actual recorded spend (from record_usage) crosses a USD threshold within a rolling window. Optionally scope to a specific org_id (omit for total spend across all orgs). Fires at most once per period_days while spend stays over…
- list_budget_alerts
List all registered budget-spend webhook alerts with their IDs and settings.
- delete_budget_alert
Delete a registered budget-spend alert by its ID.
- ask_agent
Ask the LLM Pricing AI agent a question in natural language. Use for complex queries about pricing, model recommendations, cost optimisation advice, or anything that benefits from multi-step reasoning.
Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time |
|---|---|---|---|
| 5 h ago | Passed | 200 | 297 ms |
| 14 h ago | Passed | 200 | 270 ms |
| 23 h ago | Passed | 200 | 276 ms |
| 33 h ago | Passed | 200 | 517 ms |