Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

OpenRouter Python SDK

Official Python client for OpenRouter's 400+ models.

Model SDKsPYPI

GitHubAPI page

1. License

License from PyPI license field.

github.com/OpenRouterTeam/python-sdk

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What OpenRouter Python SDK does

Official Python client for OpenRouter's 400+ models.

OpenRouter Python SDK popularity

32 / 100
Gid Score, #3906 overall
537K
downloads a week, pypi
176
GitHub stars
OpenRouter Python SDK: downloads per weekPyPI, openrouter 551,481
OpenRouter Python SDK: GitHub starsOpenRouterTeam/python-sdk 176

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How OpenRouter Python SDK is used

  • OpenRouter Python SDK joined the catalog on its public numbers (537,149 downloads a week on PyPI and 176 GitHub stars), not on our project count: it is a dependency in 9 public GitHub projects of our scan, 0 of them set up for AI coding agents.
  • The most used alternative in our scan is LiteLLM (36 projects).
  • Projects that use it most often also use Requests (77.8%), AnyIO (66.7%), charset-normalizer (66.7%).

Often used with

In 77.8% of its projects
In 66.7% of its projects
In 66.7% of its projects
In 66.7% of its projects
In 66.7% of its projects

More about OpenRouter Python SDK

Agent Skills for it
  • openrouter: Design, build, debug, and optimize OpenRouter API integrations. Use for any OpenRouter API work, including models, reasoning, routing, media
  • openrouter: Browse OpenRouter's model catalog and check your key usage. Trigger phrases: openrouter, model prices, openrouter key.

See all

More in Model SDKs

Alternatives

OpenRouter Python SDK This page

Apache-2.0Gid 32537K/wk

LiteLLM

Unified library to interface with multiple LLM API providers.

MITGid 8127.1M/wk

Compare OpenRouter Python SDK with another tool

Get started

Install it.

pip install openrouter

No step-by-step start for OpenRouter Python SDK yet: we have not written its hand-checked card.