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 .
Metadata
Release files for llm-gonkabroker 0.1.2
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_gonkabroker-0.1.2.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_gonkabroker-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / llm_gonkabroker-0.1.2.tar.gz
| Download URL | llm_gonkabroker-0.1.2.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
939d0d68aad358f95c0761c09be1368345badbc4661f8a726ed19080a21c3a0e
|
|
BLAKE2b-256 checksum How to use checksums |
b79ad997449fc217b324377e0e9f8bef6658c03b683eb3e89a1719741ea36be2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 25, 2026.
Transparency logRelease files / llm_gonkabroker-0.1.2-py3-none-any.whl
| Download URL | llm_gonkabroker-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0f67999b9b81e1bcc29e60bb98da14560293d79edd3cefb7f4c0774b71ea9f2
|
|
BLAKE2b-256 checksum How to use checksums |
27a83dcc133e731f2f286456b16dad5b212be31c86569d30ff4de5e763cd2baf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 25, 2026.
Transparency log