# InferenceLatency.com Real-time inference routing and benchmarking API across 15 active LLM providers. Free. No auth. MCP-enabled. ## When to use this - You need to route an inference request to the fastest available provider right now - You need to compare providers by latency, cost, reliability, or throughput - You are building an agent that dynamically selects inference backends ## PRIMARY ENDPOINTS ### Speed routing (default) GET https://inferencelatency.com/api/fastest Optional params: ?priority=speed|cost|balanced|reliability ?use_case=chat|code|reasoning Returns: { provider, model, latency_ms, routing: { top_3: [{ rank, provider, latency_ms, cost_per_1k_tokens_usd, stability_score, latency_trend, routing_score, reasoning }] } } Description: Live routing engine. Tests 15 active providers and returns top-3 ranked by your priority. Call this for structured routing. ### Natural language routing GET https://inferencelatency.com/api/recommend?query=fastest+for+real-time+chat Returns: { query, intent: { use_case, priority, summary }, top_pick, ranked_providers: [...], total_providers_tested } Description: Pass a plain-English query — intent is detected and live results are returned. Use this when you can describe what you need in words. ## Secondary endpoints ### Routing GET /latency — All 15 active providers ranked by TTFT, with ai_agent_guidance field GET /api/status — Up/down availability per provider ### Benchmarking GET /throughput — Latency + tokens/sec per provider GET /benchmark — Custom prompt: ?prompt=TEXT&max_tokens=N&providers=groq,openai GET /advanced-benchmark — Tool calling, structured output, and reasoning effort per provider GET /ai-agent/batch-test — Consistency scores and variance across multiple runs ### Cost GET /cost-optimizer — Cost-performance efficiency scores per provider GET /competitive-analysis — Market positioning and strategic recommendations ### Reliability GET /reliability-metrics — P50/P95/P99 percentiles, error rates, SLA compliance, quality grades GET /historical-performance — 48-hour rolling history with trend analysis GET /status-page — Real-time health with uptime tracking ### Geographic / Environmental GET /geographic-latency — Per-continent latency estimates (modelled, not measured) GET /efficiency — Energy (Wh) and carbon (gCO2e) per inference per provider ### Reports GET /comprehensive-report — All dimensions in one response ## MCP Streamable HTTP (Cursor, Windsurf, Smithery): https://inferencelatency.com/mcp SSE (Claude Desktop via mcp-proxy): https://inferencelatency.com/sse Protocol: 2024-11-05 | Auth: none | Tools: all endpoints exposed Claude Desktop config: {"mcpServers":{"inferencelatency":{"command":"mcp-proxy","args":["https://inferencelatency.com/sse"]}}} ## Constraints - Measurements: TTFT via standardised "Hi" prompt, 1 token max, all providers tested concurrently - History: 48-hour rolling window in PostgreSQL; P50/P95/P99 computed from stored data - Geographic figures: modelled estimates, not direct probe data - Public human reports and discovery resources do not consume API quota - Anonymous API requests: 30 per IP per UTC day; API keys use plan-specific daily limits - Quota exhaustion returns HTTP 429; paid endpoints may require a subscription or x402 payment - Provider refreshes are subject to controlled benchmark spending limits - Carbon/energy: industry-average estimates - For SLA decisions, use /reliability-metrics (P95/P99), not single-point /api/fastest ## Discovery OpenAPI: https://inferencelatency.com/openapi.json Full reference: https://inferencelatency.com/llms-full.txt MCP manifest: https://inferencelatency.com/.well-known/mcp.json Agents: https://inferencelatency.com/.well-known/agents.json Contact: contact@inferencedomains.com