Skip to main content
YouRouter exposes model APIs through a single gateway. Most integrations should start with the OpenAI-compatible Chat Completions endpoint.

Base URL

OpenAI-compatible and provider-native model calls use this base URL. Video tasks and Custom Search use their own base paths, shown below.

Endpoint Families

Authentication

Send your YouRouter API key as a bearer token:
For JSON requests, also send:
Use API keys only from server-side code, backend services, CI jobs, or trusted internal tools. Do not put API keys in browser-side code or mobile clients.

First API Call

Read the generated text from:

Core Concepts

Main Endpoints

Status Codes

See Create Chat Completion for the core request format, or Multimodal for image and video examples.