Skip to navigation

Inference Router Overview

Call open-weight and frontier models through OpenAI-compatible and Anthropic-compatible endpoints, with optional You.com web search.

View as MarkdownOpen in Claude

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.

EndpointFormatAPI reference
POST https://api.you.com/v1/chat/completionsOpenAI-compatible/v1/chat/completions
POST https://api.you.com/v1/messagesAnthropic-compatible/v1/messages
GET https://api.you.com/v1/modelsOpenAI or Anthropic model list/v1/models

Next Steps