LLM plugin for Gonka Broker - OpenAI-compatible access to open-source models on the decentralized Gonka network
Project description
llm-gonkabroker
LLM plugin for Gonka Broker — an OpenAI-compatible inference gateway to open-source models running on the decentralized Gonka network.
This is a plugin for Simon Willison's
llmCLI/library. It is unrelated to LiteLLM.
Installation
Install this plugin in the same environment as LLM:
llm install llm-gonkabroker
Configuration
Get an API key from the app at gonkabroker.com (keys look like
gnk-prx-...), then set it:
llm keys set gonkabroker
# paste your gnk-prx-... key
Or supply it via the GONKABROKER_API_KEY environment variable.
Usage
Models are discovered from the broker's public /v1/models endpoint once a key is configured.
List them:
llm models list | grep -i gonka
Run a prompt (model ids are prefixed with gonkabroker/):
llm -m 'gonkabroker/MiniMaxAI/MiniMax-M2.7' 'Say hello in three words'
Pipe content in, start a chat, or use it from Python like any other LLM model:
cat article.md | llm -m 'gonkabroker/MiniMaxAI/MiniMax-M2.7' -s 'Summarize this'
llm chat -m 'gonkabroker/MiniMaxAI/MiniMax-M2.7'
Manual alternative (without this plugin)
Because Gonka Broker is OpenAI-compatible, you can also wire it up without the plugin by adding it
to LLM's extra-openai-models.yaml:
- model_id: gonkabroker-minimax
model_name: MiniMaxAI/MiniMax-M2.7
api_base: https://proxy.gonkabroker.com/v1
api_key_name: gonkabroker
The plugin is the convenient, auto-updating path; this manual route is the universal fallback.
Development
To set up this plugin locally, check out the repo and install it editable:
cd llm
llm install -e .
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_gonkabroker-0.1.1.tar.gz.
File metadata
- Download URL: llm_gonkabroker-0.1.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2d647cc86bef8c75ad2bdc7ebb325ee8d2d51256f608793ec41e668f744d269
|
|
| MD5 |
c1e2f43870554be7bef8f463fc47a408
|
|
| BLAKE2b-256 |
cdbaa6594e49975aac951269559545144fe015f318afb1b4b43667df8c1458af
|
Provenance
The following attestation bundles were made for llm_gonkabroker-0.1.1.tar.gz:
Publisher:
publish-llm-gonkabroker.yml on gonkabroker/gonkabroker-integrations
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_gonkabroker-0.1.1.tar.gz -
Subject digest:
c2d647cc86bef8c75ad2bdc7ebb325ee8d2d51256f608793ec41e668f744d269 - Sigstore transparency entry: 1959021993
- Sigstore integration time:
-
Permalink:
gonkabroker/gonkabroker-integrations@01ed6dfa1edd60eb05bf64b81073ff7c106ac777 -
Branch / Tag:
refs/tags/llm-gonkabroker-v0.1.1 - Owner: https://github.com/gonkabroker
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-llm-gonkabroker.yml@01ed6dfa1edd60eb05bf64b81073ff7c106ac777 -
Trigger Event:
push
-
Statement type:
File details
Details for the file llm_gonkabroker-0.1.1-py3-none-any.whl.
File metadata
- Download URL: llm_gonkabroker-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26e199ee57716c93f5480c3faa1f59da06542c1dd023f7b3f4ea5ccf2f396f8b
|
|
| MD5 |
77fd41b65af4b2829af7f26956fb3ad5
|
|
| BLAKE2b-256 |
1a131b330634e21bcdbebbe6e25289c94249b470e1ce64c50e9264b7c5a0520a
|
Provenance
The following attestation bundles were made for llm_gonkabroker-0.1.1-py3-none-any.whl:
Publisher:
publish-llm-gonkabroker.yml on gonkabroker/gonkabroker-integrations
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_gonkabroker-0.1.1-py3-none-any.whl -
Subject digest:
26e199ee57716c93f5480c3faa1f59da06542c1dd023f7b3f4ea5ccf2f396f8b - Sigstore transparency entry: 1959022110
- Sigstore integration time:
-
Permalink:
gonkabroker/gonkabroker-integrations@01ed6dfa1edd60eb05bf64b81073ff7c106ac777 -
Branch / Tag:
refs/tags/llm-gonkabroker-v0.1.1 - Owner: https://github.com/gonkabroker
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-llm-gonkabroker.yml@01ed6dfa1edd60eb05bf64b81073ff7c106ac777 -
Trigger Event:
push
-
Statement type: