---
title: "Connect Continue to GPT and Gemini"
description: "Add apiToken.sale as an OpenAI-compatible model provider in Continue and run GPT and Gemini models from your IDE with one balance."
url: "https://apitoken.sale/int-continue"
language: "en"
---
# Connect Continue to GPT and Gemini

Add apiToken.sale as an OpenAI-compatible model provider in Continue and run GPT and Gemini models from your IDE with one balance.

## Steps

1. Create a key at https://apitoken.sale/register — it looks like `sk-pool-…` and works across every GPT and Gemini model.
2. Point Continue at the OpenAI-compatible surface: base URL `https://router.apitoken.sale/v1`, key sent as `Authorization: Bearer`.
3. Pick a model by namespaced ID (e.g. `openai/gpt-6.1-terra` or `google/gemini-3.8-flash`) and start — billing is per token at your discount, `GET /v1/models` lists the enabled set.

## Configuration

```
// ~/.continue/config.json
{
  "models": [{
    "title": "GPT via apiToken.sale",
    "provider": "openai",
    "apiBase": "https://router.apitoken.sale/v1",
    "apiKey": "{env:APITOKEN_API_KEY}",
    "model": "openai/gpt-6.1-terra"
  }]
}
```

---
API reference: https://apitoken.sale/md/docs · All integrations: https://apitoken.sale/md/int
