THE API FOR WHAT COMES NEXT

Your ideas. The best models. One API.

Build with language, image and video models. One key, clear pricing, and complete control.

POST /v1/chat/completionsAPI
// One integration. Your choice of model.
const client = new OpenAI({
  baseURL: '/v1',
  apiKey: process.env.XXXROUTER_API_KEY
});

const response = await client.chat
  .completions.create({
    model: 'YOUR_MODEL_ID',
    messages: [{
      role: 'user',
      content: 'What shall we build next?'
    }]
  });
OpenAI-compatible chatAPI reference

BUILT AROUND YOUR WORKLOAD

The right model, within reach.

Explore all models ↗

Current published prices. Sign in to view your account pricing.

Made for developers. Readable by agents.

OpenAPI, Markdown guides and llms.txt. Everything your next integration needs.

Explore documentation