llm-chutes
LLM plugin for models hosted by Chutes AI
Installation
First, install the LLM command-line utility.
Now install this plugin in the same environment as LLM.
llm install llm-chutes
Configuration
You will need an API key from Chutes AI. You can obtain one from their platform.
You can set that as an environment variable called CHUTES_API_KEY, or add it to the llm set of saved keys using:
llm keys set chutes
Enter key: <paste key here>
Usage
To list available models, run:
llm models list
You should see a list that looks something like this:
chutes: chutes/deepseek-ai/DeepSeek-R1
chutes: chutes/deepseek-ai/DeepSeek-V3-0324
chutes: chutes/NousResearch/DeepHermes-3-Mistral-24B-Preview
chutes: chutes/moonshotai/Kimi-K2-Instruct
chutes: chutes/Qwen/Qwen3-32B
...
To run a prompt against a model, pass its full model ID to the -m option, like this:
llm -m chutes/deepseek-ai/DeepSeek-R1 "Five spooky names for a pet tarantula"
You can set a shorter alias for a model using the llm aliases command like so:
llm aliases set deepseek chutes/deepseek-ai/DeepSeek-R1
Now you can prompt the model using:
llm -m deepseek "What is the meaning of life?"
Listing models
The llm models -q chutes command will display all available models, or you can use this command to see more detailed information:
llm chutes models
Output starts like this:
- id: deepseek-ai/DeepSeek-R1
name: deepseek-ai/DeepSeek-R1
context_length: 163,840
supports_schema: True
pricing: input $0.27216/M, output $0.27216/M
- id: deepseek-ai/DeepSeek-V3-0324
name: deepseek-ai/DeepSeek-V3-0324
context_length: 163,840
supports_schema: True
pricing: input $0.27216/M, output $0.27216/M
Add --json to get back JSON instead:
llm chutes models --json
Refreshing models
To refresh the cached list of models from the Chutes AI API:
llm chutes refresh
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-chutes
python3 -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
llm install -e '.[test]'
To run the tests:
pytest
API Endpoint
This plugin connects to the Chutes AI API at https://llm.chutes.ai/v1/
License
Apache License 2.0
Metadata
Release files for llm-chutes 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llm_chutes-0.1.0.tar.gz | 6.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_chutes-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / llm_chutes-0.1.0.tar.gz
| Download URL | llm_chutes-0.1.0.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5dc34daf156583275699d46c07532414576c096950f73e973772bc310f1fcbdd
|
|
BLAKE2b-256 checksum How to use checksums |
a2e04f10ed87c9a24793b6da82cb4843a2079a40687ade69657680c16d231b73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.6
|
Release files / llm_chutes-0.1.0-py3-none-any.whl
| Download URL | llm_chutes-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
960c92677ca1b78cfa40cc2e7573963695b5fbafdad86c95be270b909c8a3e97
|
|
BLAKE2b-256 checksum How to use checksums |
05ea5ba4271e2efb36b59b7978163c96236fa36ca5e16352e5633ea3d87dc1af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.6
|