OpenAI token key
Use this when you want a fixed prepaid token allowance for supported OpenAI-family models. The Codex base URL is the token-budget OpenAI-compatible route.
ScaleMax for Codex
Use Codex with an OpenAI-capable ScaleMax key and the base URL that matches its billing mode. The ScaleMax CLI can configure the connection and verify it with a small billable request, or you can follow the manual Codex guide.
How it fits
Use this when you want a fixed prepaid token allowance for supported OpenAI-family models. The Codex base URL is the token-budget OpenAI-compatible route.
Use this when you want a published-price USD credit balance that can also cover supported Claude-compatible routes. Codex uses the API-credit OpenAI-compatible route.
The ScaleMax installer detects Codex configuration and writes the matching provider settings after authentication. The manual guide shows the same settings when you prefer to review each field.
Configuration routes
Both routes are OpenAI-compatible. Choose exactly one based on the key you purchased.
https://api.scalemax.pro/token/v1Recommended for a prepaid OpenAI token allowance.
https://api.scalemax.pro/v1For a prepaid USD credit balance.
Workflow
Install the published ScaleMax CLI, sign in with the API key you intend to use, and let it detect Codex.
Select Codex in the setup flow. The installer chooses /v1 or /token/v1 from the authenticated key type.
Run scalemax doctor, which includes a small billable verification request, then run scalemax models. Use a model ID returned to that same key.
If a request fails, save the status code, request ID, selected model ID, and Codex version for support.
Clear boundaries
Start with guided setup for automatic route selection, then verify the authenticated model list before sending a full coding task.