Editors

Use TokenBazaar with Apple Xcode

Add TokenBazaar as an internet-hosted model provider in Xcode Intelligence.

This requires an Xcode release that offers internet-hosted model providers. Xcode adds the versioned path itself, so enter the root URL without /v1.

Before you start

  • A supported Xcode release
  • A TokenBazaar API key
  • Xcode Intelligence enabled

Step-by-step setup

  1. 1

    Open Xcode › Settings › Intelligence.

  2. 2

    Choose Add a Model Provider, then select Internet Hosted.

  3. 3

    Enter https://tokenbazaar.in/api/public as the provider URL. Do not add /v1.

  4. 4

    Paste only your TokenBazaar key in the API key field; do not type Bearer before it.

  5. 5

    Add the exact model IDs you want to use, then select one in Xcode's coding assistant.

Configuration

text
Provider URL
https://tokenbazaar.in/api/public

API key
tb_sk_...

Example model
openai/gpt-6-astra

Verify the connection

Ask Xcode to explain selected code and confirm the chosen model appears in your TokenBazaar Dashboard.