Skip to main content
Use the model field to choose which model should answer your request. YouRouter supports many model families behind one OpenAI-compatible API, so switching models usually means changing only the model value.
For the latest enabled model IDs in your account, check the YouRouter Dashboard.

Basic Model Call

All Chat Completions requests use the same API shape:
To call another supported model, change the model value.

Model Field

Model API Capabilities

Supported Model Families

YouRouter is designed for broad model access. Use one API integration to call models across major providers and model families.
Model availability can vary by account, provider status, and routing configuration. Keep your integration flexible by storing model IDs in configuration instead of hard-coding them throughout your application.

Switch Models in Code

Use the same client and change only model.

Route to a Provider

By default, YouRouter automatically routes the request. If you need a specific upstream provider, send the vendor header.
Common vendor values include: See the Router guide for automatic routing and provider pinning details. Keep these values configurable: This makes it easy to add, remove, or switch models without changing your application code.

API Quickstart

Make your first model API request.

Chat Completions

Use chat, streaming, tools, and multimodal input.

Multimodal

Send image inputs and call provider-native multimodal APIs.

Router Guide

Choose automatic routing or provider pinning.

API Reference

Review endpoint details and request formats.