| Route | p50 latency | p95 latency | Throughput | Success rate | ShareShare of traffic |
|---|---|---|---|---|---|
| Google Gemini API (AI Studio) direct | 5.55 s | 45.32 s | 99 tok/s | 99.3% | 99% |
| Venice AI direct | 13.64 s | 82.59 s | 99 tok/s | 99.9% | 1% |
| InferHub | 18.42 s | 61.18 s | 99 tok/s | 81.0% | 0% |
| OpenRouter | 13.64 s | 45.32 s | - | 100.0% | 0% |
Any OpenAI-compatible client works. Add /min30 to the path to only buy at 30% off or better.
Read the quickstart ↗from openai import OpenAI client = OpenAI( api_key="inf_your_key_here", base_url="$SURPLUS_BASE_URL" ) response = client.chat.completions.create( model="gemini-3.8-flash", messages=[{"role": "user", "content": "Hello!"}] )
SURPLUS_BASE_URL
https://api.surplusintelligence.ai/v1