Claude desktop — Code logo
Chat apps

Use TokenBazaar with Claude desktop — Code

Use TokenBazaar inside the Code section of the Claude desktop app.

Only the Code section is supported because it runs Claude Code. Regular Claude chats still use your Anthropic account and cannot use a custom API address.

Before you start

  • Claude desktop with the Code section available
  • A TokenBazaar API key

Step-by-step setup

  1. 1

    Fully quit the Claude desktop app.

  2. 2

    Create a TokenBazaar key on the API Keys page.

  3. 3

    Add the settings below to ~/.claude/settings.json on your computer.

  4. 4

    Replace tb_sk_... with your key, save the file, then reopen Claude desktop.

  5. 5

    Open Code, choose a project folder and start a new coding session.

Configuration

json
// ~/.claude/settings.json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://tokenbazaar.in/api/public",
    "ANTHROPIC_AUTH_TOKEN": "tb_sk_...",
    "ANTHROPIC_MODEL": "anthropic/claude-opus-5-5"
  }
}

Verify the connection

Send a message in the Code section and confirm the Claude request appears in your TokenBazaar Dashboard.