Introduction
Yolo Router is an OpenAI-compatible AI model routing API — a drop-in replacement for the OpenAI SDK that routes your requests across multiple AI providers.
Examples on this page use the YoloRouter Cloud endpoint
Self-hosting? Replace https://api.yolorouter.com with your own instance, which defaults to http://localhost:8080.
What is Yolo Router?
Yolo Router is an AI model routing gateway. Use your Yolo Router API key and the base URL below as a drop-in replacement for the OpenAI SDK — no code changes required.
Base URL: https://api.yolorouter.com/v1Key Features
- OpenAI-compatible API — swap the base URL, keep your existing code
- Multi-provider routing — access models from OpenAI, Anthropic, and more through a single endpoint
- Quota management — per-key usage limits and billing
- Streaming support — full Server-Sent Events streaming with usage tracking
- Image & video generation — the OpenAI Images and Videos APIs served beside chat, billed per delivered image or per delivered second