Preparing for system design interviews?  Try bugzed.com →

OpenRouter Python SDK

JSON →
library 0.7.11 ·python
verified Jun 27, 2026 install

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.

total hits 73
actors 7 distinct systems
last hit 8d ago human
GPTBot
4
Amazonbot
4
ClaudeBot
4
ChatGPT-User
1
MetaBot
1
Humans
55

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇧🇷 Brazil · 🇵🇱 Poland