Developer Documentation
Unified routing specifications, endpoint protocols, and code integration guides for high-scale LLM operations.
Connect to Anthropic, OpenAI, and Google Gemini models through a resilient, multi-account routing gateway engineered for zero-latency streaming pass-through and automated failover.
Core Architectural Advantages
Zero-Latency Pass-Through
SSE chunk bytes are flushed directly to the client socket without buffering to prevent Cloudflare 524 timeouts.
Automated 429 Failover
Instant fallback across multi-tier accounts when rate limits or upstream 503 provider incidents are detected.
Thinking Token Telemetry
Accurate downstream tracking and token attribution for Claude extended thinking and reasoning loops.
Anthropic Prompt Caching
Full transparency for prompt caching write and read headers, dramatically slashing compute latency and costs.
Quickstart Integration
import OpenAI from 'openai';
// Point standard OpenAI SDK to EzyBus unified gateway
const openai = new OpenAI({
baseURL: 'https://api.ezybus.org/api/v1',
apiKey: process.env.EZYBUS_API_KEY || 'sk-eb-your-key-here',
});
const stream = await openai.chat.completions.create({
model: 'gpt-5.6',
messages: [{ role: 'user', content: 'Explain distributed consensus in 2 sentences.' }],
stream: true,
});
for await (const chunk of stream) {
process.stdout.write(chunk.choices[0]?.delta?.content || '');
}Live Endpoint Mappings
OpenAI Chat Completions endpoint. Compatible with OpenAI SDK, Cursor, VSCode extensions, and custom tooling.
Authorization: Bearer <API_KEY>Content-Type: application/jsonAnthropic Messages API. Seamlessly routes Claude prompts, cache control blocks, and extended thinking budgets.
x-api-key: <API_KEY>anthropic-version: 2023-06-01Content-Type: application/jsonNative Google Gemini content generation endpoint. Pass through multimodal requests and system instructions directly.
x-goog-api-key: <API_KEY>Content-Type: application/jsonDiscovers active model pools, supported capabilities, context window lengths, and token pricing rates.
Authorization: Bearer <API_KEY>Latency Benchmarks
RealtimeGateway Integrity
Need Integration Support?
Running behind a custom reverse proxy or Nginx? Ensure you pass X-Accel-Buffering: no to preserve realtime SSE streaming.