---
title: "Connect Codex CLI to apiToken.sale"
description: "Run Codex CLI on GPT-5.6 models through apiToken.sale with a named model_providers profile, the OpenAI-compatible base URL, and your sk-pool key."
url: "https://apitoken.sale/int-codex"
language: "en"
---
# Connect Codex CLI to apiToken.sale

Run Codex CLI on GPT-5.6 models through apiToken.sale with a named model_providers profile, the OpenAI-compatible base URL, and your sk-pool key.

## Steps

1. Create a key at https://apitoken.sale/register — it looks like `sk-pool-…` and works across every Claude and GPT model.
2. Point Codex CLI at the OpenAI-compatible surface: base URL `https://router.apitoken.sale/v1`, key sent as `Authorization: Bearer`.
3. Pick a GPT model (e.g. `gpt-5.6-sol`) and start — billing is per token at your discount, `GET /v1/models` lists the enabled set.

## Configuration

```
# one-command setup: creates the profile and imports every OpenAI model
curl -fsSL https://apitoken.sale/setup/connect.sh | bash

# Windows PowerShell: irm https://apitoken.sale/setup/connect.ps1 | iex
# Then run the private apitoken-codex launcher printed by the setup.
```

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