Skip to main content

llm-unorouter

LLM plugin for models hosted by UnoRouter, an open-source OpenAI-compatible gateway serving 200+ models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, Qwen and more) behind a single API key. Models with a :free suffix cost nothing.

Installation

Install this plugin in the same environment as LLM:

llm install llm-unorouter

Configuration

Create an API key at unorouter.com/token (sign up with Discord or GitHub, no card required), then set it:

llm keys set unorouter
# paste your key

You can also set it as the UNOROUTER_KEY environment variable.

Usage

Run a prompt against a free model:

llm -m unorouter/deepseek-v4-flash:free "Three fun names for a pet pelican"

List all available models:

llm unorouter models

Only the free ones:

llm unorouter models --free

Refresh the cached model list:

llm unorouter refresh

All models also work with llm chat, schemas-capable models with llm --schema, and async usage via the Python API.

Free models run on shared pools with a light per-model rate limit (about 1 request per minute per model); rotate between free models or use paid models for higher throughput.

Development

cd llm-unorouter
python -m venv venv && source venv/bin/activate
pip install -e '.[dev]'
pytest

Metadata

Release files for llm-unorouter 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llm-unorouter 0.1
File Size Uploaded Provenance Actions
llm_unorouter-0.1.tar.gz 3.6 kB Without provenance Details for llm_unorouter-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llm-unorouter 0.1
File Interpreter ABI Platform Actions
llm_unorouter-0.1-py3-none-any.whl Python 3 none any Details for llm_unorouter-0.1-py3-none-any.whl

Total release size: 7.5 kB

Release files / llm_unorouter-0.1.tar.gz

Download URL llm_unorouter-0.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
db5612367b3e2bae12d8e798dd3070c981a99cdbcfa8bf3d43ecb08c91ae7b47
BLAKE2b-256 checksum
How to use checksums
5b1cfcd79556b39b772289085a02d82a25de09e2af39b049d9c47e3c9546f888
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / llm_unorouter-0.1-py3-none-any.whl

Download URL llm_unorouter-0.1-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c721eaa2b7ef4dd4d5488e6144e29ae53e8cab33380906d6bc64c297238cdd6
BLAKE2b-256 checksum
How to use checksums
439b1ce624a65b3d309e95e8565d1b0bc354de0388c7193326e5b44033d8170e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Security for llm-unorouter 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page