Skip to the collection

agent-native · LLM Gateway & Routing

OpenRouter

Listed on The Agent-Native Index

The Unified Interface For LLMs

What it does

OpenRouter provides a single OpenAI-compatible API to access hundreds of models from dozens of labs with routing, uptime optimization, pricing transparency, and usage analytics. It is widely used for agentic and multi-model workflows (tool calling, fallbacks, provider selection) without maintaining separate billing and client integrations per provider — see homepage “Featured Agents” and provider selection docs.


Agent-facing interfaces

How agents onboard

# Docs: https://openrouter.ai/docs/quickstart
export OPENROUTER_API_KEY=...
# Use OpenAI SDK with base_url https://openrouter.ai/api/v1

See the full onboarding section in the dossier.

Protocol surface

Interface Detail
REST https://openrouter.ai/api/v1 — OpenAI-compatible
SDKs TypeScript, Python, Go, Java — https://openrouter.ai/sdk
Dashboard Account, credits, keys — secondary to API