LLM plugin for models hosted by UnoRouter
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llm_unorouter-0.1.tar.gz.
File metadata
- Download URL: llm_unorouter-0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db5612367b3e2bae12d8e798dd3070c981a99cdbcfa8bf3d43ecb08c91ae7b47
|
|
| MD5 |
8405d83bed63c2a5f72487d680dc1179
|
|
| BLAKE2b-256 |
5b1cfcd79556b39b772289085a02d82a25de09e2af39b049d9c47e3c9546f888
|
File details
Details for the file llm_unorouter-0.1-py3-none-any.whl.
File metadata
- Download URL: llm_unorouter-0.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c721eaa2b7ef4dd4d5488e6144e29ae53e8cab33380906d6bc64c297238cdd6
|
|
| MD5 |
a9c058c7f6cb403ae96c35bafe11068a
|
|
| BLAKE2b-256 |
439b1ce624a65b3d309e95e8565d1b0bc354de0388c7193326e5b44033d8170e
|