Skip to main content
The OpenRouter Python SDK gives you type-safe access to 400+ models across providers through a single unified API, with both sync and async clients.

Installation

Quickstart

API reference

Browse the API reference for each resource in the sidebar. Type definitions for every request, response, and model are linked inline from each resource page.