Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

384 B
Raw Blame

rules

  • Send the OpenAI Responses payload to /api/v1/responses and relay the OpenAI SSE events
  • Authenticate with a bearer token from OPENROUTER_API_KEY, falling back to OR_API_KEY
  • Only OPENROUTER_API_BASE overrides the default base, never the OpenAI base variables
  • No native WebSocket mode

references