Python
Official SDK- Package
openrouter- Install
- Install
pip install openrouter - Repo
- github.com/OpenRouterTeam/python-sdk
- Docs
- openrouter.ai/docs/client-sdks/overview
- Notes
- Repo URL from PyPI metadata ('Official Python Client SDK for OpenRouter.').
From the docs
The Client SDKs give you a thin, type-safe layer over the OpenRouter REST API. ... · TypeScript · @openrouter/sdk · Python · openrouter · Go · go-sdk · ... All three SDKs are auto-generated from the OpenRouter OpenAPI spec