Continue logo
Editors

Use TokenRex with Continue

Use TokenRex as a custom OpenAI-compatible provider in Continue.

Before you start

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

Step-by-step setup

  1. 1

    Open the Continue configuration file.

  2. 2

    Add the model block shown below.

  3. 3

    Replace tb_sk_... with your key, save, and reload the extension.

  4. 4

    Select GPT-6 Astra (TokenRex) from Continue's model picker.

Configuration

yaml
models:
  - name: GPT-6 Astra (TokenRex)
    provider: openai
    model: openai/gpt-6-astra
    apiBase: https://tokenrex.ai/api/public/v1
    apiKey: tb_sk_...

Verify the connection

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