Zed logo
Editors

Use TokenBazaar with Zed

Use TokenBazaar as a custom OpenAI-compatible provider in Zed.

Before you start

  • A TokenBazaar API key
  • A version of the app that accepts a custom OpenAI-compatible base URL

Step-by-step setup

  1. 1

    Open Zed settings and locate language_models.

  2. 2

    Add the OpenAI-compatible provider block below.

  3. 3

    Save settings and enter your TokenBazaar key when Zed requests it.

  4. 4

    Select the TokenBazaar model in the assistant panel.

Configuration

json
"language_models": {
  "openai_compatible": {
    "TokenBazaar": {
      "api_url": "https://tokenbazaar.in/api/public/v1",
      "available_models": [
        { "name": "openai/gpt-6-astra", "display_name": "GPT-6 Astra" }
      ]
    }
  }
}

Verify the connection

Start a short chat, then confirm the request appears in your TokenBazaar Dashboard with the model ID you selected.