OpenRouter Python SDK
JSON →Official Python SDK for the OpenRouter API — a unified gateway to 300+ LLM models across providers (OpenAI, Anthropic, Google, Meta, Mistral, etc.) via a single OpenAI-compatible endpoint. Auto-generated from OpenRouter's OpenAPI spec and updated on every API change. Fully typed with Pydantic. SDK is explicitly in beta — breaking changes can occur between minor versions without a major version bump. IMPORTANT: There are multiple competing 'openrouter' packages on PyPI (openrouter, openrouter-client, python-open-router). Only 'openrouter' (by OpenRouter) is the official SDK.
Traffic · last 30 days ↑40% vs prev 7d
total hits 34
actors 10 distinct systems
last hit 1h ago ClaudeBot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · BD · 🇮🇳 India
API endpoints
full doc /v1/registry/openrouter
install /v1/registry/openrouter/install
compatibility /v1/registry/openrouter/compatibility