llm-hubris
LLM plugin for models hosted by Hubris — an OpenAI-compatible LLM gateway billed in Russian rubles, with 400+ models (OpenAI, Anthropic, Google, DeepSeek, Qwen and more) behind a single API key.
Installation
First, install the LLM command-line utility.
Now install this plugin in the same environment as LLM.
llm install llm-hubris
Configuration
You will need an API key from Hubris. Create one at hubris.pw/keys.
You can set that as an environment variable called HUBRIS_API_KEY, or add it to the llm set of saved keys using:
llm keys set hubris
Enter key: <paste key here>
Usage
The plugin registers every chat model from your Hubris catalog. To list them, run:
llm models list
You should see a list that looks something like this:
Hubris: hubris/anthropic/claude-sonnet-5
Hubris: hubris/openai/gpt-5.6-luna
Hubris: hubris/google/gemini-3.7-flash
Hubris: hubris/deepseek/deepseek-v4-flash-0731
...
Model IDs always use the full vendor/model form shown in the Hubris catalog — there is no alias resolution on the gateway side.
The list is cached for an hour. Force a refresh with:
llm hubris refresh
To run a prompt against a model, pass its full model ID to the -m option:
llm -m hubris/anthropic/claude-sonnet-5 "Five spooky names for a pet tarantula"
You can set a shorter alias for a model using the llm aliases command:
llm aliases set sonnet hubris/anthropic/claude-sonnet-5
Now you can prompt it with:
cat llm_hubris.py | llm -m sonnet -s 'write some pytest tests for this'
Images are supported by vision models:
llm -m hubris/anthropic/claude-sonnet-5 'describe this image' -a https://static.simonwillison.net/static/2024/pelicans.jpg
Reasoning models accept the reasoning_effort option:
llm -m hubris/openai/gpt-5.6-luna -o reasoning_effort high 'Plan a three-day trip to Kazan'
Listing models with prices
llm hubris models
Outputs every chat model with its context window and RUB prices per million tokens. Add --json for the raw catalog entries.
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-hubris
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
Metadata
Release files for llm-hubris 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| llm_hubris-0.1.1.tar.gz | 6.8 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_hubris-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.6 kB
Release files / llm_hubris-0.1.1.tar.gz
| Download URL | llm_hubris-0.1.1.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6586bc1f073038f78bc03ac03be2fd635b4cac5d33dbb4dabee55874ca46945c
|
|
BLAKE2b-256 checksum How to use checksums |
971815791396efd9889d542f54cea49644571de831cbaf81bc95702719202c87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.
Transparency logRelease files / llm_hubris-0.1.1-py3-none-any.whl
| Download URL | llm_hubris-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d3bf25c39124b094afb7576ae739166e32cd1fe1be5c15d65f3981c53ff1d063
|
|
BLAKE2b-256 checksum How to use checksums |
2272e2676c9838b0f554b153dcc5f07c0268f03d438a3d81120c039271684bc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.
Transparency logSecurity for llm-hubris 0.1.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for llm_hubris-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.
Transparency logA 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.