| Route | p50 latency | p95 latency | Throughput | Success rate | ShareShare of traffic |
|---|---|---|---|---|---|
| AWS Bedrock | 10.11 s | 33.57 s | 99 tok/s | 99.3% | 92% |
| Google Gemini API (AI Studio) | 13.64 s | 61.18 s | 40 tok/s | 82.5% | 7% |
| Cloudflare Workers AI | 45.32 s | 111.50 s | - | 92.7% | 1% |
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="gemma-4-26b-a4b-it", messages=[{"role": "user", "content": "Hello!"}] )
SURPLUS_BASE_URL
https://api.surplusintelligence.ai/v1