OpenClaw is an open-source LLM gateway (Apache 2.0) that routes requests between providers and keeps a unified call log.
Why a gateway
Once you have 3 different AI agents and 4 providers, manual routing becomes spaghetti code. OpenClaw ships a single protocol with fallbacks: the primary provider is gone — the backup picks up, and the user notices nothing.
Example config
POST /v1/chat with header X-Provider-Routing: openai>anthropic>ollama. If OpenAI returns 429, the request is transparently forwarded to Anthropic.