Latest updates, new providers, features, and fixes — one place for every release.
mindai/macaron entries, and five DeepInfra entries including anthropic/claude-sonnet-5 ($2.00→$3.00 per 1M input), google/gemma-4-31B-it, mistralai/Mistral-Nemo-Instruct-2407 and two NVIDIA Nemotron modelsget_all_pricing tool returns model, provider, USD per 1M input and output tokens, context window and price status, filtered by provider or name match, sorted by average, input or output price, and capped at 100 rows (25 by default) with a count of how many more matched. Unpriced models sort last, so “cheapest” is never a model without a priceget_all_pricing tool itself is unchanged.pptx with native tables, a native column chart and speaker notes on every slide.docx with native tables and a numbered Notes section; a deck can also be saved as a Word handout with its speaker notesGET /documents/types and the artefact list now show which formats each kind offers; the operator Documents panel links themSUPPRESSION_HASH_KEY secret keys the deletion marker outside the database; existing markers keep workingrequirements.txt so the scan evaluates the versions that are actually installed instead of the oldest ones that satisfy the range. gunicorn moves to 26.2. The product's behaviour is unchangedOrigin in their Vary header, which the web framework adds for cross-origin cachingclaude-haiku-5-5, claude-sonnet-5-5, claude-opus-5-5, claude-fable-5-1 and claude-mythos-5-1 were priced but unscored, so recommend_model, /router/recommend and optimize_workload ranked the previous generation first; a Claude Code session asking for a cheap model was told to use claude-haiku-4-5 at ten times the price of claude-haiku-5-5. The five models now carry tier-relative scores placed from the public launch benchmarks, each above its predecessor, and the undated claude-haiku-4-5 registry entry is scored like its dated twinPOST /documents/generate, GET /documents/types, GET /documents/artifacts, GET /documents/artifacts/{id} and .../download, plus a Documents panel in the admin console. Each document waits for the owner's publish approval; approving marks it published, rejecting discards it, and it stays downloadable either way. Nothing is sent anywhereclaude-haiku-5-5 by default, claude-sonnet-5-5 on request) inside the orchestrator budget. With the budget spent, no key or the backend down, the document is still produced from templates and is visibly labelled “Data-only edition”POST /audit/run, GET /audit/reports, GET /audit/reports/{id} (and latest), plus a Compliance audit panel in the admin console with a Run audit now button. A failing check opens one approval in the owner queue with the failing check ids and a link to the report; a passing or warning-only report asks for nothingGET /billing/account/export. With your service key it returns one JSON file: account record, metadata of the provider keys you stored (never the keys), usage events, dispatch receipts, budget alerts, routing history and feedback, and the support conversations held under your key. Never your service key and never another organisation's rowsPOST /billing/account/delete with {"confirm": "DELETE", "org_id": "..."}. It is irreversible: every record above is erased, your key stops working at once, and only a dated marker (a one-way hash of your email, no key, no Stripe ids) remains. A paid subscription is ended immediately so no further charge occurs; if Stripe cannot be reached nothing is deleted. Deleting within the 14-day refund window opens a refund review in the owner queue and returns its reference; nothing is refunded automatically. You can sign up again with the same emailCONVERSATION_RETENTION_DAYS, 0 disables). They are stored in a fourth database, conversations.db, which is included in the off-site replication, and they are erased with the accountdevelop, matching the repository's branch flow (the first run had opened them against master)SECURITY.md points to itdocs/LAUNCH_CHECKLIST.md) and a guard that fails the build if a database is added without being replicatedGET /billing/config gains legal_pages_live and checkout_disabled_reason (stripe_not_configured or legal_pages_not_live); POST /billing/checkout returns the same 503 as without Stripe until then. The customer portal is unaffected. The pages count as in force only when the operator flag is on and no placeholder remains, otherwise they stay draftclient parameter on recommend_model, optimize_workload, compare_costs and the REST router (POST /router/recommend and /router/recommend/stream). Tell the service which tool you run and the candidate set is cut to the models that tool can run before ranking. Recognised: Claude Code, Claude Desktop / claude.ai, Cursor, GitHub Copilot, Windsurf, Cline, Continue, Zed, JetBrains AI, Gemini CLI, Codex CLI, Aider, Amazon Q Developer and ChatGPT desktop. Names are case- and separator-insensitive (Claude Code, claude-code, claude_code). Claude Code gets Anthropic models only, including claude-haiku-5-5, claude-sonnet-5-5, claude-opus-5-5 and claude-fable-5-1/mcp endpoint now returns an Mcp-Session-Id from initialize; clients that echo it have their clientInfo.name used when you omit client. An explicit client always wins. Best effort and held in memory only, so after a server restart it falls back to unfiltered results plus a note. STDIO infers from the same handshakecompare_costs flags, never filters. Every model you name is still priced; with a client each found model carries runnable_in_clientapplied_client, client_source (explicit, inferred or none), client_as_of (when the hand-maintained client table was last checked) and client_note. An unrecognised client returns the unfiltered result plus a note listing the recognised names; an empty restricted set returns no_runnable_model_for_client naming the clientide_context used to only boost your IDE's own plan 5x (and same-vendor models 1.15x), so Claude Code could still be told to use codestral or Llama. A recognised client now restricts the candidate set before ranking, on the MCP tools and POST /router/recommend (and /stream) alike; the native-plan preference still applies inside the set. The six old values keep working as aliases of client; omit the hint or pass an unknown one and you get the previous unfiltered ranking plus a note saying sosupport_chat MCP tool. Answers plan, billing, key, rate-limit, how-to and data-accuracy questions only from the published FAQ, the plan catalogue and, when you send your service key, your own account (plan, payment status, rate limit, key preview, 30-day savings). It says "I don't know" instead of inventing a policy, never reveals or repeats a key, never sees another customer's data, and treats everything you type as data, not instructionsorc_…). The assistant changes nothing itself; the owner replies from /admin and you can read the reply by asking for the reference's status. Response time is best effort on every plandocs/FAQ.md so the assistant and the page cannot disagreeGET /billing/config says so) instead of "Coming soon"POST /billing/key/rotate (Rotate key on the dashboard) issues a new service key with the current one; the owner can rotate a verified customer's key from /admin. Keys are still shown exactly onceinvoice.paid, invoice.payment_failed (14-day grace period as past_due, then the free rate limit until paid), charge.refunded and charge.dispute.created (both escalate to the owner), ignores duplicate deliveries, and /billing/me reports billing_status and effective_tierSUPPORT_ENABLED, SUPPORT_DAILY_CAP_ANONYMOUS_USD / _FREE_USD / _PRO_USD / _ENTERPRISE_USD, SUPPORT_MAX_ESCALATIONS_PER_DAY, SUPPORT_FALLBACK_PRICE_PER_1M_IN_USD / _OUT_USD and BILLING_PAST_DUE_GRACE_DAYS. Checkout stays disabled until the Stripe secrets are set; subscribe the webhook to the seven event types listed in docs/DEPLOYMENT.mdclaude-sonnet-5-5, claude-opus-5-5, claude-fable-5-1 and the other current Claude 5.x models now have registry-sourced prices, so compare_costs, estimate_cost and the router can price the models that Claude Code itself runscompare_costs before choosing a model for a task, with cheaper models for mechanical work and the strongest model reserved for design and security reviewaccepted, the weekly price audit and owner requests now become runs with a stable reference id, routed from the trigger and owner-applied labels only. Issue text is stored redacted and never decides what runs; a repeated delivery attaches to the existing run and causes nothing new/admin. Approve, reject, edit-then-approve, mark done manually or skip; resume or close runs that need the owner; filter and export the run log as CSV; pause everything with one switch. Every approval is bound to the exact artifact and recipient it was given for/release-feature command to run; the pull request it opens completes the run and posts a single status comment on the issue. Merging stays with the owner, as beforeORCHESTRATOR_DB_PATH, ORCHESTRATOR_INTAKE_KEY (a separate credential for the GitHub Actions executor, accepted on three routes only), ORCHESTRATOR_RUN_RETENTION_DAYS and ORCHESTRATOR_IO_RETENTION_DAYS. Without the intake key the GitHub jobs print one line and exit cleanlygpt-4-turbo (Azure OpenAI) and four Databricks models whose registry prices changed this week. Azure's rate is corrected to $11 / $33 per 1M tokens, and the Databricks registry-sourced entries are re-synced from the refreshed registry snapshot, so check_price_drift now reports no findingsdatabricks-claude-sonnet-5-5, databricks-gemini-3-8-flash and databricks-gpt-6-astravX.Y.Z and publishes a GitHub Release whose notes are that version's entry on this page. The Releases page had stopped at v1.11.1 because nothing published releases; from now on it matches productiondocs/archive/, unchanged.env are caught at startup again.env keys fail fast. Since v1.81.2 a misspelled key in .env (for example MCP_APIKEY) was silently ignored, so the server could start without the setting you meant to apply. Startup now stops with an error naming the unknown key. Keys of retired settings, such as the old Anyscale key, are still accepted, and environment variables set outside .env behave as beforePOST /cost-estimate and /cost-estimate/batch are public. They return the same numbers as the public estimate_cost and compare_costs MCP tools, so the key requirement only got in the way. Anonymous calls are rate-limited per IP; send your service key and you get your plan's limit instead/cost-estimate/batch and the compare_costs tool now accept 1 to 50 model names; larger requests are refused with a clear errorci-cd.yml and the Azure-era run.sh startup script are gone from the repository root, and two VS Code tasks that pointed at missing scripts were removed. The server itself is unchanged/admin/stats and /admin/rate-limits now need the operator key. They were reachable without a key, and the rate-limit snapshot listed the busiest callers by IP address or customer id. Both now return 401 to anyone without the server's MCP_API_KEY (a free service key is not enough), and 503 if it is not configured. The admin dashboard already sends the operator key, so it works as before/ide-compare loads for everyone. The IDE subscription comparison page returned 401 whenever the server had an operator key set503 Service is shutting down instead of a 500/api/versions now links to the backwards-compatibility guide instead of a missing pageurl entry in claude_desktop_config.json is ignored. To send your service key from Claude Desktop, use the npx -y llm-pricing-mcp bridge with LLM_PRICING_API_KEYprovider=anyscale returns an empty list. Filtering by Anyscale now works like any unknown provider: a successful, empty result, not an errorANYSCALE_API_KEY is ignored. Deployments that still set it, in the environment or a .env file, start normallyget_data_quality against the vendored registry snapshot. The drift-withheld Anyscale Mixtral-8x7B is gone from check_price_drift, which leaves the Azure gpt-4-turbo finding as the only onealert_token self-service described below ships in this build. There is no change in behavior from v1.81.0alert_tokenPOST /pricing/alerts, register_price_alert or the chat agent) now also returns an alert_token. It is shown only once and cannot be recovered later, not even by the operator, so save it{"alert_token": "lpa_..."} in the JSON body of POST /pricing/alerts/self/view or /pricing/alerts/self/delete, use the new public manage_price_alert MCP tool (action: view or delete), or give the token to the chat agent. A token covers exactly one alert, and never goes in a URLinvalid_alert_token refusal (404 over HTTP), so it reveals nothing about which alerts exist. The self-service routes share the per-IP rate limit of registrationPOST /pricing/alerts, POST /usage/alerts, register_price_alert, register_budget_alert and the chat agent) now refuse webhook URLs that use plain http, point at a private, loopback, link-local, cloud-metadata or internal host (in any IP spelling, or via a hostname that resolves to one), or do not resolve. Nothing is stored; you get 422 invalid_webhook_url over HTTP or error_code: invalid_webhook_url over MCP, with a reason categoryX-LLM-Pricing-Signature HMAC and the same 10s timeout; custom ports, paths and query strings still workdispatch tooldispatch MCP tool sends a text chat request through the dispatch gateway: your policy picks the best eligible model, and you get the completion, usage and the same dispatch_receipt as POST /v1/chat/completions (chosen model, reason, cost, savings, attempts)POST /dispatch/keys and needs your service key on the MCP connection; spend lands on your org exactly as over HTTP — receipts, usage, budget alerts and hard_stop included. Provider keys are never tool argumentsdispatch_requires_api_key, no_eligible_candidate, budget_hard_stop, unsupported_feature, ...), and one shared per-customer rate limit across HTTP and MCP. Text-only and non-streaming/mcp and the npx bridge (set LLM_PRICING_MCP_TIMEOUT_MS=120000; no bridge upgrade needed). The local STDIO server returns dispatch_requires_hosted_mcp, and the chat agent cannot call itlist_price_alerts and delete_price_alert over MCP, and GET /pricing/alerts / DELETE /pricing/alerts/{id} over HTTP, now need the server operator's key. Until now anyone could read every subscriber's webhook URL and delete any alert. Other MCP callers get operator_key_required; other HTTP callers get 401list_conversations, delete_conversation, GET /agent/conversations and DELETE /agent/conversations/{id} need the operator key too — a free-tier service key no longer deletes conversations. The /conversations page is now an operator management page and asks for the key; the landing page no longer links to itregister_price_alert, POST /pricing/alerts and /agent/chat still need no key. POST /pricing/alerts is now rate-limited per IP and body-cappedPOST /mcp body cap. Requests over 1,000,000 bytes get 413 before anything runs. A 500-entry import_session_usage batch fits comfortably; split larger text-mode imports across calls with the same session_idrecord_usage, import_session_usage, get_usage_summary, analyze_session_usage, register_budget_alert, list_budget_alerts and delete_budget_alert read or write per-org data, so over MCP they now need your service API key as an x-api-key or Authorization: Bearer header. Until now they trusted whatever org_id was typed into the arguments, so anyone could list, delete or add to another org's budget alerts and usageorg_id defaults to it, another org's is refused with org_mismatch, and another org's budget alert reads as not found. Without a key they return customer_key_required with setup hints. The local STDIO server and the chat agent are always anonymous, so these tools refuse therenpx -y llm-pricing-mcp forwards an optional LLM_PRICING_API_KEY env var as x-api-key and never logs it. The local STDIO server no longer logs full request and response bodies at debug levelPOST /dispatch/keys with {"provider": "OpenAI", "api_key": "..."} and your service key in x-api-key stores the key for your org. After that a stock chat UI or the plain OpenAI SDK can call /v1/chat/completions with only your service key and a dispatch object — no per-provider headers. Works for all nine executable providers, on every tier including freeGET /dispatch/keys lists provider, a last-4 fingerprint, when each key was stored or rotated and when dispatch last used it; PUT /dispatch/keys/{provider} rotates and DELETE removes. The key itself is never returned by any endpoint, including the one that stored itX-Provider-Key-<Provider> header is used ahead of the stored key, and a rejected key is never retried with the other one. Every receipt attempt — inline, in the streamed trailing chunk and in the GET /dispatch/receipts JSON/CSV export — now says key_source: "header" or "stored"POST /billing/signup is public, and until now signing up again with a registered email returned that account's key. Anyone who knew your email could get your key and read your dispatch receipts or change your budget alerts. A repeat signup now returns 409 with no key. Keep your key safe, and use it on the Dashboard tab to sign inGET /admin/customers lists every account's email and org ID. It used to accept any customer key, so any free account could read it. It now needs the operator keyPOST /billing/signup now goes through the same per-IP rate limit and request-size cap as other public endpointsstream: true works in dispatch mode. Point an OpenAI SDK or any chat UI built around stream=True at the gateway with extra_body={"dispatch": {...}} and the completion arrives as standard chat.completion.chunk events: every content delta the instant the provider sends it, a final empty-delta chunk carrying finish_reason, then data: [DONE]. All three wire families stream — OpenAI-format hosts, Anthropic Messages and Gemini[DONE] has choices: [] plus usage (the shape OpenAI's own include_usage uses, so SDK stream readers accept it) and additionally carries routing_metadata and the full dispatch_receipt — chosen model, reason, candidates, cost, savings, attempts and the shadow comparison. Receipts and the GET /dispatch/receipts export gain streamed and usage_estimated columns so an operator can tell streamed from buffered dispatches and measured from counted usagedata: {"error": {...}} event naming the outcome, model, provider and attempts. Shadow A/B still runs concurrently and never delays a deltausage.estimated: true in the receipt, is_estimated on the ledger event). A stream that fails or is abandoned after content was sent still records the tokens delivered so far as estimated spend — the provider bills themtools / functions / tool_choice, n > 1, non-text response_format and image content parts. The plain proxy (no dispatch) keeps ignoring streamfireworks_ai, which the validator protects, so the tests started asserting the wrong outcome. They now synthesise their own throwaway provider namespace, so the next snapshot refresh cannot break them again1 USD = 0.92 EUR, 84 INR). Those tests now derive their expectations from whatever table is vendored and allow for six-decimal rounding, so the weekly rate PR can be opened and, once merged, converted prices stop carrying the "placeholder rates" noteopenrouter/* entry (486 keys, 15% of the file) and the refresh guard's 10% removal limit had rejected three weekly refreshes in a row, freezing the registry the catalogue is checked against. A provider namespace that vanishes wholesale is now discounted from that limit and called out in the refresh PR; a 40% hard ceiling stays, and a provider the catalogue is priced from vanishing is still treated as a bad fetchPOST /v1/chat/completions. Add a dispatch policy to the body (OpenAI SDK: extra_body) and your own provider keys as X-Provider-Key-OpenAI, -Anthropic, -Google, -Groq, -Together, -Fireworks, -DeepSeek, -Mistral or -XAI headers, and the best eligible model is executed for real. The response is a normal chat.completion with real usage, so an OpenAI-style client consumes it unchanged. Without dispatch the endpoint behaves exactly as beforebalanced (default), cheapest, best_quality, lowest_latency and pinned; the router's hard constraints (min_quality_score, max_cost_per_1m_tokens, min_context_window, task_type, preferred_provider, exclude_reasoning_models) plus allow / deny lists and a max_request_cost_usd cap. "Cheapest with quality ≥ 70", "fastest under $2/1M", "pin gpt-4o but tell me what I could have saved" are each one objectdispatch_receipt: the chosen model and why, ranked candidates with quality and blended price, every exclusion with its reason, actual USD cost from the provider's token counts × the catalogue price, savings against the most expensive eligible candidate and against the model you asked for (or the forgone savings when you pinned one), end-to-end and provider latency, and every attempt. State a currency or country and the money figures come in your currency tooGET /dispatch/providers lists the nine executable providers, the header each key goes in, and which catalogue models are dispatchableGET /usage/summary, GET /telemetry/savings, the acceptance rate and budget alerts now reflect dispatched traffic. A request_id dedupes the spend record on retrieshard_stop: true using your customer API key and dispatch for your org is refused (402) once recorded spend reaches the threshold — the alert is bound to your own org, webhooks still fire as before, and alerts without an org stay notify-onlyshadow: {model} or shadow: {objective} runs a second model concurrently; you get the primary's answer only, and the receipt carries both models' cost, latency and outcome with the deltas. A shadow failure never fails your request; the cost cap applies to both combinedGET /dispatch/receipts?format=csv|json returns your org's receipts as metadata rows — never a prompt, a completion or a keyPOST /billing/signup) sent as x-api-key or Authorization: Bearer; anonymous calls and the operator key are refused with a pointer to signup. Non-streaming, text-only, single-choice chat completions in this release: stream, tools/functions, n > 1, a non-text response_format and image content are rejected up front with the feature named — nothing is silently droppednpx -y llm-pricing-mcp runs the zero-dependency bridge to the hosted server for clients that cannot speak HTTP, with the two optional env vars (LLM_PRICING_MCP_URL, LLM_PRICING_MCP_TIMEOUT_MS), the Node floor (22.23.4+ / 24.22.1+ / 26.12.1+), the npm version and the MCP Registry namenpxGET /pricing, POST /cost-estimate, POST /cost-estimate/batch, GET /use-cases, POST /router/recommend and GET /pricing/public accept currency / country (query or X-Currency / X-Country headers) and return converted figures as additive local_* fields next to the unchanged USD ones, plus a currency_conversion block (rate, as-of date, staleness, source, country, fallback). Precedence: stated currency > stated country > platform geo header > best-effort IP lookup > USD. An unsupported code is a 400 that lists the supported set; a country whose currency isn't supported gets USD with fallback_to_usd: true. No currency, no country, nothing detected: the response is exactly what it was beforeget_all_pricing, estimate_cost, compare_costs, get_use_cases and recommend_model take optional currency and country arguments with the same behaviour. Omit both and the output is unchangedGET /locale (what the request resolves to) and GET /currency/rates (the table itself)data/exchange_rates.json is refreshed weekly by the audit workflow (Frankfurter, falling back to ECB reference rates) through a PR a human merges; a rate older than 7 days is still served but flagged stale in the response and the page. Until the first refresh merges the table is an authored placeholder and says so$$2.50 for per-million rates, and embedding models (no output price) are excluded from the cheapest-chat-model ranking they used to wincode and bold span into its own columndeepinfra, novita, vercel, nebius, databricks); every tool that reads the catalogue sees themprice_source_kind: "registry" plus the registry_key and registry date. They are usable in estimates, comparisons and routing, but are never presented or counted as provider-confirmed. Provider-confirmed prices carry price_source_kind: "provider". get_all_pricing now returns source, price_as_of, price_is_stale, price_confirmed and both new fields per modelget_data_quality splits confirmed prices into provider_confirmed and registry_sourced (they always sum to confirmed_models), so the share of the catalogue checked against a provider's own rate card is a published numbergpt-4, gpt-4-turbo, gpt-3.5-turbo, o1, o3-mini, o4-mini, gpt-4.1-nano), Anthropic's Claude 2.1 / 3 / 3.5 / 3.7 line, Gemini 1.0 and 1.5 (Google and Vertex), DeepSeek's legacy deepseek-chat / deepseek-reasoner ids, five Together sunsets, Cohere Command legacy, Jurassic-2, xAI grok-2, four Groq previews, three Mistral legacy ids, three Bedrock EOLs, five retired Cloudflare entries. DeepSeek's current ids (deepseek-flash, deepseek-v4-pro) are listed and priced from the registryretired_on field. The weekly audit opens a PR deleting entries retired more than 30 days earlier, and lists models the registry no longer knows at all as candidates for a human to checkcheck_price_drift findings carry a basis field and both output pricesget_data_quality gains registry_coverage_pct, unmatched_confirmed and retired_listed, so the share of prices the registry independently confirms (53% today) is a published number rather than an unknownagentforce and einstein-copilot are per-conversation / per-request products; their derived per-token estimates (up to $1,330 per 1M) are no longer served as prices. Both stay listed as unconfirmedllama-3.2-1b, llama-3.2-3b, mistral-7b-instruct-v0.1, deepseek-r1-distill-qwen-32b); six with no verifiable current rate (retired on Workers AI, or an image model) are now listed as unconfirmed and excluded from cost math rather than priced from a 2024 estimate/name suffix and the last slash segment, and provider aliases are keyed by the catalogue's display names (AI21 Labs, Oracle OCI, Snowflake)gemini-2.0-flash (Google and Vertex AI) and gemini-2.0-flash-lite (Vertex AI), which Google shut down on 2026-06-01. Google-catalogue prices are now compared with Gemini Developer API registry entries first and Vertex entries only as a fallback, since the two price lists differget_data_quality before → after: stale 139 → 92, confirmed 98.6% → 95.2% (the drop is the 7 Cloudflare and 1 Anyscale models that were wrong and are now withheld, not a regression), drift findings 1 → 2 (the retired Anyscale Mixtral joins the retiring Azure gpt-4-turbo)llm-pricing-mcp is on npm — STDIO-only clients can now use npxllm-pricing-mcp. Clients that only support command-based servers can add {"command": "npx", "args": ["-y", "llm-pricing-mcp"]} — no clone, no Python, nothing to keep in sync; it forwards each request to the hosted /mcp endpointhttps://llm-pricing-api.fly.dev/mcp — the package exists only for the ones that can'tengines field at install timeX-Api-Key-Tier no longer raises an anonymous caller's rate limitX-Api-Key-Tier: enterprise and get 600/min instead of the 60/min default. It is now honored only when the request also carries the valid global MCP_API_KEY; anonymous requests always use the default bucketMCP_API_KEY configured: the header is ignored there too, since there is nothing to verify it againstazure/eu/…, azure/us/…) for gpt-4o, gpt-4o-mini, o1 and o3-mini at Azure's Data Zone tier — exactly 10% above Global Standard. The drift check let those outvote the registry's own bare entry, flagged our correct Global Standard prices as 9% understated, and withheld all four from serving. They're backPOST /agent/chat and POST /agent/chat/stream (the API behind the /chat UI) now go through the same per-IP rate limiter as every other anonymous endpoint. They previously bypassed it entirely — along with the request-size cap — even though each call runs a full agent loop against a hosted LLM429 Rate limit exceeded instead of an unbounded queue; the limit is the standard anonymous bucket (default 60/min per IP, tier-adjustable via X-Api-Key-Tier)/chat page itself is unaffected and always loads, so a throttled visitor still sees the UInpx -y llm-pricing-mcp — STDIO access with no clone, no Pythonllm-pricing-mcp (npm/llm-pricing-mcp in this repo) — a zero-dependency Node.js bridge for MCP clients that only support command-based STDIO servers, not a direct remote/HTTP url configPOST /mcp endpoint and the JSON-RPC response is written back to stdout, so it has nothing to keep in sync as tools or pricing change server-side{"command": "npx", "args": ["-y", "llm-pricing-mcp"]} — no git clone, Python, or pip install neededtools/call never blocks other in-flight requests from completing firsturl config and running mcp/server.py locally — are unchanged; this is a third, lower-friction path for STDIO-only clients, not a replacementcheck_price_drift and get_data_quality now report these prices as confirmed againimport_session_usage tool backfills a session's usage after the fact — plus org-wide estimated-usage visibilityimport_session_usage accepts a batch of usage entries under one shared session_id in a single call — the retroactive counterpart to record_usage, for a session (e.g. a VS Code Copilot Chat session) that wasn't instrumented live. Each entry resolves its input/output tokens from an exact count when known, or estimates them from raw turn text using this server's existing token counterrecord_usage — never trusted from the callerrecord_usage: when a caller omits request_id, a deterministic one is derived so resubmitting an identical batch is safely a no-opanalyze_session_usage tool and GET /usage/session/{session_id} — no change to how either is invokedanalyze_session_usage / GET /usage/session/{session_id} and get_usage_summary / GET /usage/summary now also report has_estimated_usage and estimated_request_count, so both session-level and org-wide views surface how much of the reported usage is estimated vs. exactanalyze_session_usage and GET /usage/session/{session_id} could recommend switching to a materially lower-quality model purely because it's cheaper, showing a dollar savings figure with no indication that quality was being traded away — the equivalent recommend_model caveat never made it to this shared code pathquality_tradeoff caveat in the recommendation object whenever the recommended model's quality_score falls below ~75, using the identical threshold and message wording as recommend_model's existing caveat, so the two entry points can't driftquality_score is at or above the threshold — every other recommendation field is unchangedrecommend_model now flags classification uncertainty and quality-per-dollar tradeoffscaveats entry naming both the inferred category and the plausible higher-stakes alternative — a nudge to double-check with an explicit task_type rather than a silent misclassificationquality_score falls below ~75, the response now includes a separate caveats entry noting that ranking by quality-per-dollar can understate risk for tasks where a wrong answer is costly to discover and fix downstreamcaveats is omitted entirely when neither condition appliesrecommend_model only — analyze_session_usage, POST /router/recommend, and every other caller of the routing engine are unaffectedcompare_costs now suggests real model names when yours doesn't match exactlycompare_costs' model_names doesn't exactly match a catalogued model (e.g. "claude" or "claude sonnet"), that entry's response now includes a candidates list of real catalogued model names it likely refers to, capped to 8, instead of a bare "not found"candidates list — never a fabricated guesscompare_costs still never returns a computed cost for anything but an exact, case-insensitive match, and mixing an exact match with an unresolved name in one call resolves each independentlyoptimize_workload's allocation/monthly-cost/budget checks and the repo cost auditor's (scripts/audit_repo.py) per-call-site cost and cheaper-model recommendations — both are now fixed to match every other cost-calculating toolpredict_cost's "best value" pick now enriches its ranked candidates with real quality-benchmark data before scoring, the same way recommend_model and optimize_workload already do, so it resolves to an actual model instead of always coming back emptyanalyze_session_usage / GET /usage/session/{session_id} — turn one session's actual usage into a recommendationrecord_usage (and POST /usage / POST /usage/batch) now accept an optional session_id to tag a usage event, so a bounded burst of calls — a coding-agent run, a chat session, or any tagged workload — can be grouped and retrieved lateranalyze_session_usage and REST endpoint GET /usage/session/{session_id} read back one session's real recorded usage on demand: total input/output tokens, total actual cost, and a per-model breakdown if more than one model was usedrecommend_model / POST /router/recommend to produce a grounded recommendation — or confirm the current choice is already optimal — with the estimated dollar savings or increase versus that session's actual cost; the rationale cites the session's own request count, token volume, and blended cost profile, not generic boilerplatehas_data: false and no recommendation rather than fabricating one. Advisory only — never re-prices history or switches anythingget_cache_stats / GET /cache-stats — see whether the recommendation cache is actually workingget_cache_stats and REST endpoint GET /cache-stats report process-lifetime hit counts, miss counts, total lookups, and hit rate for the ~5-minute recommendation cache introduced in v1.67.0 — separately for recommend_model and POST /router/recommend, never combined into one figurecached field is unchangedrecommend_model (MCP tool) and POST /router/recommend now cache the routing decision for ~5 minutes, so an IDE re-asking on every keystroke pause — or an agent re-checking the best model for the same recurring task — gets the same answer back without recomputing the full routing pass each timecached field so a caller can tell whether a given recommendation was served from cache or freshly computed; cached and fresh responses have identical recommended/score/reason/alternatives for the same normalized inputsPOST /router/recommend/stream and /v1/chat/completions are unaffected and always compute freshrecommend_model — describe your use case in plain English, get a model recommendationrecommend_model takes a free-text description (e.g. "summarize long customer support tickets") and classifies it into a task type using the same keyword-based inference as predict_cost, then runs it through the routing engine already live at POST /router/recommendpredict_cost first if you want per-model cost estimates for an actual prompt, or optimize_workload if you have several distinct task types to route at oncescripts/audit_repo.py now also recommends the Batch API for call sites inside a loop or an offline-looking path (job/cron/pipeline/worker), typically ~50% cheaper for non-latency-sensitive callsscripts/audit_repo.py statically scans a Python codebase for LLM SDK call sites (OpenAI, Anthropic, Google, LangChain) and estimates the cost of each one using the same token counting and pricing math as predict_costpython scripts/audit_repo.py /path/to/your/repo; static estimates only, since call frequency can't be known from code alone — pair with GET /usage/summary once deployed for real numbersPOST /usage/alerts registers a webhook that fires when actual recorded spend (from POST /usage) crosses a USD threshold — per org, or across all orgsperiod_days while spend stays over threshold so it doesn't spamregister_budget_alert, list_budget_alerts, delete_budget_alertPOST /usage and POST /usage/batch record real token usage after an LLM call completes — cost is computed server-side from current pricing, never trusted from the callerGET /usage/summary reports total spend and breakdowns by model and provider, optionally filtered by orgrecord_usage, get_usage_summaryget_data_quality — one call for the whole catalogue's trust statusGET /data-quality endpoint and matching MCP tool report an aggregate accuracy summary: 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 oldcheck_price_drift, which lists individual disputes — this is a single trust signal a customer can check without inspecting every model's provenance fields themselvesSTATIC_PRICING is corrected.check_price_drift now reports what's currently withheld and why, instead of reporting drift that's still quietly being servedservers key with an explicit type, not mcpServers). The tab now has separate steps for each..vscode/mcp.json or the user MCP config via the Command Palette, and enabling the tools in Copilot Chat's Agent mode./mcp-setup page — opens the client directly via its MCP deep-link scheme, pre-filled with the hosted remote endpoint, no copy-paste requiredprice-drift label instead of failing outright when it's missingmcp/server_azure.py (non-functional since v1.21.0; it imported a module that was never committed) is gone, and the version-literal guard now scans every file under mcp/ and src/ instead of a hand-maintained listgit read-tree–based script replaces the manual promotion recipe that could silently resurrect a deleted file, covered by 12 tests against isolated reposprice_confirmed, returning $0.00 marked as confirmed rather than unpricedPricingMetrics construction sites reduced to 18 behind one shared builder, 611 fewer lines; verified byte-identical output against a 228-record snapshot taken before the refactorcheck_price_drift now reports zero against the corrected cataloguedata/model_prices_snapshot.json) keeps this working offline or if the upstream registry is unreachablecheck_price_drift MCP tool flags curated prices that have drifted more than 5% from the registry — for human review, never auto-appliedprice_as_of and price_confirmed on every model; a computed price_is_stale flag trips at 90 days old or if a price was never datedoptimize_workload MCP tool — allocates each task in a workload mix to its cheapest qualifying model, then spends any remaining budget upgrading the highest quality-per-dollar allocations firstsrc/__init__.py). Clients were previously being told 1.1.0 in serverInfo while the app itself was several minor versions aheadpredict_cost MCP tool — counts tokens with tiktoken, infers the task type, estimates output length from empirical input/output ratios, and ranks every model cheapest-first with cache savings and a best-value pickpredict_cost and get_ide_pricing were registered as MCP tools but unreachable from /chat and ask_agent — both are now wired into the ReAct agent (15 → 17 agent-bound tools)Cache-Control: public, max-age=300 on GET /pricing so repeated reads don't all hit the databaseHUGGINGFACE_API_KEY is setGET /pricing — filter by supports_vision, supports_function_calling, supports_json_mode, batch_available, is_reasoning_modelsupports_vision, supports_function_calling, supports_json_mode, batch_available, is_reasoning_modelGET /pricing/use-cases API response includes all capability fieldsSALESFORCE_API_KEY, PROMPTQL_API_KEY, SNOWFLAKE_API_KEY, ORACLE_API_KEYBasePricingProvider._fetch_live_model_ids() — queries each provider's /v1/models API on a 6-hour cache; no extra requests on every call_apply_live_filter() — removes models absent from the live list; exact + prefix matching handles versioned aliases (e.g. gpt-4o ↔ gpt-4o-2024-11-20)[OpenAI] Removed 2 deprecated model(s): [...]XAI_API_KEY, DEEPSEEK_API_KEY, CEREBRAS_API_KEY, NVIDIA_API_KEY, REPLICATE_API_KEY/docs (Swagger UI) and /redoc — now matches the site design system instead of default white background/api-docs/api-docs embeds SwaggerUIBundle and Redoc.init directly (no iframe) to prevent double nav barsdocs/PERPLEXITY_INTEGRATION.md — step-by-step guide for Perplexity desktop MCP config (macOS + Windows), all 15 tools with curl examplesmain()POST /billing/signup)MCP_API_KEY; fully backward-compatibleSTRIPE_SECRET_KEY; free signup always worksllm-pricing-api.fly.dev; shared-cpu-1x, 512 MB, persistent 1 GB volume; ~$3.40/moX-Api-Key-Tier: free|pro|enterprise; token-bucket limits 30/120/600 req/min; GET /rate-limits/tiersrouting_id UUID on every recommendation; POST /router/feedback; acceptance_rate in savings statsPOST /router/recommend/stream SSE endpoint with 10-event sequencePOST /router/recommend; scores models by task type, cost, quality; returns ranked recommendationsquality_score (0-100) + quality_value_score on every model; Hugging Face leaderboard fallback (24 h cache)GET /telemetry/savings + X-Organization-Id headerPOST /v1/chat/completions; routing recommendation in OpenAI response format