{"schema_version":"1.0","name":"InferenceLatency.com","tagline":"Real-time inference routing and benchmarking API across 15 active LLM providers.","description":"Call /v1/should-call before inference for a complete routing decision. Returns ranked performance, cost, reliability, and throughput data across 15 active providers. Free. No auth. MCP-enabled.","when_to_use":"When you need to select an LLM provider based on current latency, cost, or reliability — without hardcoding a provider name.","decision_supported":"Which inference provider to route a request to, right now.","homepage":"https://inferencelatency.com","openapi_spec":"https://inferencelatency.com/openapi.json","llms_txt":"https://inferencelatency.com/llms.txt","llms_full_txt":"https://inferencelatency.com/llms-full.txt","mcp_endpoint":"https://inferencelatency.com/mcp","mcp_sse_endpoint":"https://inferencelatency.com/sse","authentication":{"type":"none"},"contact":"contact@inferencedomains.com","providers_monitored":["OpenAI","Anthropic","Groq","OpenRouter","Google Gemini","DeepSeek","Cohere","Together AI","Fireworks AI","Cerebras","SambaNova","xAI (Grok)","Mistral AI","Perplexity","Nvidia NIM"],"tools":[{"name":"should_call","endpoint":"GET /v1/should-call","description":"Read-only routing advice from fresh current-model samples. Prices may be unknown. Ranking is not a calibrated confidence estimate.","returns":"{ should_call, recommended_provider, recommended_model, expected_latency_ms, expected_cost, ranking_score, measurement, alternatives, excluded_providers, reasoning }","priority":"call this first"},{"name":"get_fastest_provider","endpoint":"GET /api/fastest","description":"Routing engine. Returns the top-3 scored providers based on live tests. Optional params: ?priority=speed|cost|balanced|reliability and ?use_case=chat|code|reasoning for tailored ranking. Includes stability_score and latency_trend per provider.","returns":"{ provider, model, latency_ms, routing: { use_case, priority, top_3: [{ rank, provider, model, latency_ms, cost_per_1k_tokens_usd, stability_score, latency_trend, routing_score, reasoning }] }, total_providers_tested }","priority":"secondary routing endpoint"},{"name":"recommend_provider","endpoint":"GET /api/recommend","description":"Natural language routing engine. Accepts a plain-English query (e.g. 'fastest for real-time chat', 'cheapest for code generation') and returns ranked providers with explanations. Uses live testing — no LLM required.","params":"query (required, string) — natural language question","returns":"{ query, intent: { use_case, priority, summary }, top_pick, ranked_providers: [{ rank, provider, model, latency_ms, cost_per_1k_tokens_usd, stability_score, latency_trend, reasoning }], total_providers_tested }","when_to_call":"When you have a natural language description of what you need — the engine maps intent and runs live tests"},{"name":"get_latency_ranking","endpoint":"GET /latency","description":"All 15 active providers ranked by TTFT with ai_agent_guidance field.","returns":"ranked array of { provider, model, latency_ms, rank, success, ai_agent_guidance }"},{"name":"get_cost_optimizer","endpoint":"GET /cost-optimizer","description":"Cost-performance efficiency scores. Use when cost matters as much as speed.","returns":"per-provider efficiency scores combining cost_per_token and latency"},{"name":"get_reliability_metrics","endpoint":"GET /reliability-metrics","description":"P50/P95/P99 latency percentiles, error rates, SLA compliance, quality grades. Use for SLA-driven routing.","returns":"per-provider percentile latency, error_rate, sla_compliance, quality_grade"},{"name":"get_provider_status","endpoint":"GET /api/status","description":"Up/down availability for all 15 active providers.","returns":"{ provider: 'up'|'down'|'error' }"},{"name":"get_throughput","endpoint":"GET /throughput","description":"Latency and tokens/sec per provider. Use when generation speed matters, not just TTFT.","returns":"per-provider { latency_ms, tokens_per_second }"},{"name":"run_benchmark","endpoint":"GET /benchmark","description":"Custom prompt benchmark. Pass your actual workload to compare providers fairly.","params":"prompt (required), max_tokens (optional), providers (optional comma-separated)"},{"name":"get_geographic_latency","endpoint":"GET /geographic-latency","description":"Latency estimates per provider across 5 continents. Modelled, not directly measured.","returns":"per-provider latency for NA, EU, Asia-Pacific, South America, Oceania"},{"name":"get_historical_performance","endpoint":"GET /historical-performance","description":"48-hour rolling performance history with trend analysis and degradation alerts."},{"name":"get_competitive_analysis","endpoint":"GET /competitive-analysis","description":"Market positioning and strategic provider recommendations."},{"name":"get_efficiency","endpoint":"GET /efficiency","description":"Energy (Wh) and carbon (gCO2e) per inference per provider. Use for sustainability-driven selection."},{"name":"get_comprehensive_report","endpoint":"GET /comprehensive-report","description":"All dimensions in a single response: latency, cost, reliability, geographic, environmental."}],"internal_endpoints":[{"endpoint":"/admin/agent-log","description":"Internal: persistent log of agent and MCP visits. Not intended for agent use.","access":"internal"},{"endpoint":"/admin/stats","description":"Internal: server monitoring and usage statistics.","access":"internal"}]}