Skip to main content

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 llm CLI/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/Qwen/Qwen3-235B-A22B-Instruct-2507-FP8' '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/Qwen/Qwen3-235B-A22B-Instruct-2507-FP8' -s 'Summarize this'
llm chat -m 'gonkabroker/Qwen/Qwen3-235B-A22B-Instruct-2507-FP8'

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-qwen3
  model_name: Qwen/Qwen3-235B-A22B-Instruct-2507-FP8
  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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_gonkabroker-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_gonkabroker-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file llm_gonkabroker-0.1.0.tar.gz.

File metadata

  • Download URL: llm_gonkabroker-0.1.0.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

Hashes for llm_gonkabroker-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f09a240c539062e3502ed8a25ec8fd1f78e1657a69be075180d0b1f83524e901
MD5 93f6c477887d096226df6bc8052cc91c
BLAKE2b-256 d2afe2c835ab004bb99f31b361d6b06081ebb05317d940ac99f193c878ebdb29

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_gonkabroker-0.1.0.tar.gz:

Publisher: publish-llm-gonkabroker.yml on gonkabroker/gonkabroker-integrations

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llm_gonkabroker-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_gonkabroker-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a41f5c0f87444f95180334c9059f4a7cf85be764b9101a632f7cd7bb05068e1a
MD5 f7b30368c27d75e03ddf1aad0a268bec
BLAKE2b-256 04f6492cdf59dd2603a332cca3d323c68ad03d527ae7ed9df0ecb6bbcc756916

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_gonkabroker-0.1.0-py3-none-any.whl:

Publisher: publish-llm-gonkabroker.yml on gonkabroker/gonkabroker-integrations

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page