Inference Router Overview
Call open-weight and frontier models through OpenAI-compatible and Anthropic-compatible endpoints, with optional You.com web search.
What Is the Inference Router?
The Inference Router serves language models from one base URL, https://api.you.com, with one You.com API key. It exposes an OpenAI-compatible endpoint at /v1/chat/completions and an Anthropic-compatible endpoint at /v1/messages, so existing OpenAI and Anthropic SDKs work by changing the base URL and key. The Quickstart sends a first request.
Declare a web_search or web_extract tool and the router runs You.com searches and page fetches for the model, then returns the answer with the sources it used. See Web Tools.
Endpoints
For a complete list of endpoints, see the API reference.
Next Steps
- Quickstart: send your first request.
- Tool Calling: call your own functions, alone or with web tools.
- Reasoning: reasoning tokens and output limits.
- Web Tools: search the web and fetch pages for the model.
- API reference: every field of every endpoint.