Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ management:
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
releaseVersion: 0.11.46
releaseVersion: 1.0.0
configChecksum: a98327d105a9b554ecf6667b75c4cdea
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ generation:
documentation: mintlify
preApplyUnionDiscriminators: true
python:
version: 0.11.46
version: 1.0.0
additionalDependencies:
dev: {}
main: {}
Expand Down
4 changes: 3 additions & 1 deletion OVERVIEW.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

The OpenRouter Python SDK is a type-safe toolkit for building AI applications with access to 400+ language models through a unified API.

The SDK is stable as of v1.0.

## Why use the OpenRouter SDK?

Integrating AI models into applications involves handling different provider APIs, managing model-specific requirements, and avoiding common implementation mistakes. The OpenRouter SDK standardizes these integrations and protects you from footguns.
Expand Down Expand Up @@ -103,7 +105,7 @@ pip install openrouter
poetry add openrouter
```

**Requirements:** Python 3.9 or higher
**Requirements:** Python 3.10 or higher

Get your API key from [openrouter.ai/settings/keys](https://openrouter.ai/settings/keys).

Expand Down
6 changes: 4 additions & 2 deletions README-PYPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

The [OpenRouter SDK](https://openrouter.ai/docs/sdks/python) is a Python toolkit designed to help you build AI-powered features and solutions. Giving you easy access to 400+ models across providers in an easy and type-safe way.

The OpenRouter Python SDK is stable as of v1.0.

To learn more about how to use the OpenRouter SDK, check out our [API Reference](https://openrouter.ai/docs/sdks/python/reference) and [Documentation](https://openrouter.ai/docs/sdks/python).

<!-- No Summary [summary] -->
Expand Down Expand Up @@ -77,7 +79,7 @@ Once that is saved to a file, you can run it with `uv run script.py` where
<!-- Start Requirements [requirements] -->
## Requirements

This SDK requires Python 3.9 or higher. For Python version support policy, see the SDK Installation section above.
This SDK requires Python 3.10 or higher. For Python version support policy, see the SDK Installation section above.
<!-- End Requirements [requirements] -->

<!-- Start IDE Support [idesupport] -->
Expand Down Expand Up @@ -309,4 +311,4 @@ To run the test suite, you'll need to set up your environment with an OpenRouter

```bash
pytest
```
```
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

The [OpenRouter SDK](https://openrouter.ai/docs/sdks/python) is a Python toolkit designed to help you build AI-powered features and solutions. Giving you easy access to 400+ models across providers in an easy and type-safe way.

The OpenRouter Python SDK is stable as of v1.0.

To learn more about how to use the OpenRouter SDK, check out our [API Reference](https://openrouter.ai/docs/sdks/python/reference) and [Documentation](https://openrouter.ai/docs/sdks/python).

<!-- No Summary [summary] -->
Expand Down Expand Up @@ -77,7 +79,7 @@ Once that is saved to a file, you can run it with `uv run script.py` where
<!-- Start Requirements [requirements] -->
## Requirements

This SDK requires Python 3.9 or higher. For Python version support policy, see the SDK Installation section above.
This SDK requires Python 3.10 or higher. For Python version support policy, see the SDK Installation section above.
<!-- End Requirements [requirements] -->

<!-- Start IDE Support [idesupport] -->
Expand Down Expand Up @@ -309,4 +311,4 @@ To run the test suite, you'll need to set up your environment with an OpenRouter

```bash
pytest
```
```
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -568,4 +568,14 @@ Based on:
### Generated
- [python v0.11.46] .
### Releases
- [PyPI v0.11.46] https://pypi.org/project/openrouter/0.11.46 - .
- [PyPI v0.11.46] https://pypi.org/project/openrouter/0.11.46 - .

## 2026-07-20 17:00:00
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.0.0] .
### Releases
- [PyPI v1.0.0] https://pypi.org/project/openrouter/1.0.0 - .
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "openrouter"
version = "0.11.46"
version = "1.0.0"
description = "Official Python Client SDK for OpenRouter."
authors = [{ name = "OpenRouter" },]
readme = "README-PYPI.md"
Expand Down Expand Up @@ -52,4 +52,3 @@ ignore_missing_imports = true
venvPath = "."
venv = ".venv"


4 changes: 2 additions & 2 deletions src/openrouter/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "openrouter"
__version__: str = "0.11.46"
__version__: str = "1.0.0"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
__user_agent__: str = "speakeasy-sdk/python 0.11.46 2.914.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.0.0 2.914.0 1.0.0 openrouter"

try:
if __package__ is not None:
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading