The shortest pathPurchase credit → Create an API key → Copy a model ID from the Model Marketplace → Send a test request
1. Purchase credit
Sign in to the console, then use Wallet Management to top up online.
2. Create an API key
- Open Token Management in the console.
- Select Add token.
- Enter a recognizable name, such as
codex-work. - Select a group that includes the model you want to use.
- Set an appropriate limit for the use case, then submit.


3. Configure the API
Prepare these three values:4. Send a test request
The following example uses the OpenAI Chat Completions format. ReplaceYOUR_API_KEY and YOUR_MODEL_ID:
choices and a reply, your basic integration is working.
