Introduction

Clawrouter is an OpenAI-compatible gateway. One base URL and one key reach every provider it fronts.

Every endpoint below speaks the wire format you already use. If your code talks to OpenAI today, changing the base URL and the key is the whole migration — the SDK, the request bodies and the response shapes stay as they are.

Where a provider has its own native format worth using directly, that format is served too rather than flattened into the OpenAI one. Anthropic's Messages API is available at /v1/messages, and Gemini's generateContent lives under /v1beta, both unchanged from the upstream spec.

What is available

AreaEntry pointNotes
ChatPOST /v1/chat/completionsAlso Responses, Claude native, Gemini native
Text completionPOST /v1/completionsLegacy prompt-in, text-out
EmbeddingsPOST /v1/embeddingsOpenAI and Gemini formats
RerankingPOST /v1/rerankDocument scoring against a query
ModerationPOST /v1/moderationsPolicy classification
ImagesPOST /v1/images/generationsGenerate, edit, and async tasks
AudioPOST /v1/audio/speechSpeech, transcription, translation
VideoPOST /v1/videosAsync task-based generation
RealtimeGET /v1/realtimeWebSocket, bidirectional audio
ModelsGET /v1/modelsWhat this instance currently serves

Keys, organizations and teams

A key can be funded two ways. A personal key draws on your own balance. An organization key draws on the organization wallet, which an owner tops up once and then allocates — so a team can share funding without sharing a credit card, and unspent budget can be pulled back.

Nothing in the model API changes between the two. The same request works with either kind of key; only the account that gets charged differs. See Organizations for how to set that up.