ChatGPT / Codex Setup Guide | One-Click AI API Configuration - Pure Tokens

Connect Codex CLI and ChatGPT workflows to Pure Tokens with one-click desktop setup, pay-as-you-go billing, and optional official Skills for multimodal tasks.

Setup Steps

  1. 1. Create an account and top up

    Sign up for Pure Tokens, add balance, and check available model IDs and live pricing in the Model Catalog.

  2. 2. Configure ChatGPT / Codex in one click with Pure Tokens Desktop

    Install and sign in to Pure Tokens Desktop, select ChatGPT / Codex, and apply one-click configuration. For manual setup, create an API Key in Console and use the official OpenAI-compatible Base URL (/v1).

  3. 3. Start a new session (and optionally install official Skills)

    Open a fresh ChatGPT / Codex session to verify text and coding calls. To generate images, videos, audio or run Jev evaluations from your agent, copy the official Skill installation prompt from the Desktop Download page.

curl 'https://api.puretokensx.com/v1/chat/completions' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"model":"MODEL_ID_FROM_CATALOG","messages":[{"role":"user","content":"Hello"}]}'

Troubleshooting

401 Unauthorized or invalid API Key

Verify the API Key is enabled in Console without trailing spaces, and confirm Pure Tokens Desktop is signed in to the active account.

Model not found or unavailable

Check the exact public model ID and group availability in the Model Catalog before sending requests.

Insufficient balance or key quota limit

Review both your wallet balance and any per-key quota cap in the Pure Tokens Console.

Frequently Asked Questions

Do I have to edit ChatGPT / Codex config files manually?
No. Pure Tokens Desktop supports one-click setup for ChatGPT / Codex while preserving your existing user files. Manual API Key and Base URL configuration is also supported.
How is ChatGPT / Codex usage billed through Pure Tokens?
You pay from your account balance based on actual model calls. Effective purchase multiplier = recharge multiplier × group multiplier; check the Model Catalog for live currency, unit and rates.
Can ChatGPT / Codex generate images, videos or audio via Pure Tokens?
Yes. Install the official Pure Tokens Skill using the prompt on the Desktop Download page to invoke image, video, audio and decision models directly from your agent.
Pure Tokens 让每种想法,找到合适的模型 A model for every idea
连接稍慢,准备好后会自动进入 Connection is slow. We'll open it when ready.
重新加载 Reload page