llm-openzoo
LLM plugin for models hosted by OpenZoo — an OpenAI-compatible inference endpoint with no signup: any API key value works and billing happens per call via x402 or card.
Installation
Install this plugin in the same environment as LLM:
llm install llm-openzoo
Usage
No API key is needed — the plugin defaults to the conventional sk-openzoo key. Models show up automatically:
llm models | grep openzoo
Run a prompt (note: completions are billed per call):
llm -m openzoo/z-ai/glm-5.3-flash "Three names for a pet zebra"
Streaming works by default; add --no-stream to disable it.
If you want to set an explicit key anyway (any value is accepted; useful for tagging your calls):
llm keys set openzoo
# or
export OPENZOO_API_KEY=sk-openzoo
Local gateway
To route through a local npx openzoo gateway instead of the hosted endpoint:
export OPENZOO_BASE_URL=http://localhost:8402/v1
Listing models
The plugin fetches the free model catalog from https://api.openzoo.fun/v1/models and caches it for one hour.
llm openzoo models # human-readable list with pricing
llm openzoo models --free # only free models
llm openzoo models --json # raw JSON
llm openzoo refresh # force-refresh the cached catalog
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-openzoo
python -m venv venv
source venv/bin/activate
pip install -e '.[test]' || pip install -e . pytest pytest-httpx
Run the tests:
pytest
The live test that hits the real OpenZoo API is skipped by default; enable it with:
OPENZOO_LIVE_TESTS=1 pytest
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_openzoo-0.1.0.tar.gz.
File metadata
- Download URL: llm_openzoo-0.1.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89646cc0b3098602f9246048c7a9666f6ad2d4a118571185d88075fe0ccfecf6
|
|
| MD5 |
9e3228b1f8b1f4ad89262b7577c7185b
|
|
| BLAKE2b-256 |
5ead46840c1661583c48a47f36f70b99e0c93846d4c255f04e9e5fa5b8e53c5e
|
File details
Details for the file llm_openzoo-0.1.0-py3-none-any.whl.
File metadata
- Download URL: llm_openzoo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d5dea6a8b362e368a22ff7a494152f9adc346a9c258cb70410b77f0dfeb2afb
|
|
| MD5 |
c1b79584ab7b5d4daa7dbcb2a55ef024
|
|
| BLAKE2b-256 |
541665369d08d2bd0bd7ebf78cfccf860a0a985c7847deab99fa651416d2d764
|