Skip to main content
VOID

ToolsQwen Code

Qwen Code

Register Void API models through Qwen Code’s OpenAI protocol.

qwenlm.github.io/qwen-code-docsOfficial setup docs

MODEL_ID is a placeholder. Choose a model from the catalog that supports this tool's endpoint and features.

  1. API key

    Store your key in an environment variable.

    export VOID_API_KEY='void_your_key'

    Run in Bash or Zsh. Sets the values for this terminal only. To keep them for future sessions, also add these commands to ~/.bashrc or ~/.zshrc.

  2. Configuration

    Add the OpenAI-compatible models to ~/.qwen/settings.json.

    ~/.qwen/settings.json
    {
      "modelProviders": {
        "openai": [
          {
            "id": "MODEL_ID",
            "name": "MODEL_ID",
            "envKey": "VOID_API_KEY",
            "baseUrl": "https://void-api.tech/v1",
            "capabilities": {
              "vision": true,
              "agent": true
            }
          }
        ]
      }
    }
  3. Run

    Open the model picker and select a Void API model.

    shell
    qwen
    /model

Create a key in your account; model IDs are in the catalog.