View
OpenAPI 3.1 ⬇ openapi.json ⚡ MCP Setup

Pricing

GET/pricingAll model pricing, optional ?provider= filter
GET/modelsList all available model names
GET/pricing/publicPublic pricing — embed-safe, unauthenticated
GET/pricing/historyHistorical pricing snapshots
GET/pricing/trendsPrice-change leaderboard
GET/pricing/history/exportCSV or JSON export of pricing history
GET/pricing/alerts/signing-infoWebhook HMAC signing key info
POST/pricing/alertsRegister a price-change webhookAPI key
GET/pricing/alertsList registered webhooksAPI key
DELETE/pricing/alerts/{id}Delete a webhookAPI key

Cost Estimation

POST/cost-estimateSingle model cost estimate
POST/cost-estimate/batchMulti-model cost comparison

Performance & Use Cases

GET/performanceThroughput, latency, context window, quality scores
GET/use-casesModel recommendations by use case

Router

POST/router/recommendSmart model routing recommendationAPI key
POST/router/recommend/streamStreaming router recommendation (SSE)API key
POST/router/feedbackSubmit routing feedbackAPI key
GET/telemetry/savingsRouter savings report per orgAPI key

Usage

POST/usageRecord one actual usage event (cost computed server-side)API key
POST/usage/batchRecord multiple usage events at onceAPI key
GET/usage/summaryActual spend summary by model/provider, per orgAPI key
GET/usage/session/{session_id}On-demand analysis of one session's actual usage with a grounded model recommendationAPI key
POST/usage/alertsRegister a webhook for spend crossing a USD thresholdAPI key
GET/usage/alertsList registered budget alertsAPI key
DELETE/usage/alerts/{id}Delete a budget alertAPI key

Agent

POST/agent/chatBlocking chat with the ReAct pricing agent
POST/agent/chat/streamStreaming agent chat (SSE)
GET/agent/conversationsList conversation sessions
DELETE/agent/conversations/{id}Delete a conversation

MCP (Model Context Protocol)

GET/mcpMCP server info and config snippet
POST/mcpMCP JSON-RPC 2.0 endpoint — all 29 tools

Billing

POST/billing/signupFree tier signup — returns API key
GET/billing/meUsage dashboard (calls, savings, tier)API key
POST/billing/checkoutCreate Stripe Checkout sessionAPI key
GET/billing/portalStripe billing self-serve portalAPI key
POST/billing/webhookStripe webhook receiver

Admin & Telemetry

GET/telemetryServer usage metrics and analytics
GET/admin/statsAggregated server statistics
GET/admin/rate-limitsCurrent rate-limit state
GET/rate-limits/tiersAPI tier definitions (free/pro/enterprise)
GET/api/versionsAPI version info

OpenAI Compatibility

POST/v1/chat/completionsOpenAI-compatible routing proxy — drop-in replacement

Health

GET/healthHealth check — returns status and version
GET/health/liveKubernetes liveness probe
GET/health/readyKubernetes readiness probe
GET/health/detailedDetailed health with service statuses
Authentication: Protected endpoints require x-api-key: <key> header. Get a free key at /billing or via POST /billing/signup.  ·  Download OpenAPI JSON