GPT-5.2 Codex API via TokenMix
Use GPT-5.2 Codex from OpenAI as a chat model through the TokenMix AI API relay and multi-model gateway.
GPT-5.2 Codex brings advanced code generation capabilities with 400K context for entire repository understanding.
API access
- Base URL:
https://api.tokenmix.ai/v1 - Model ID:
gpt-5.2-codex - OpenAI SDK compatible. Change the base URL and use your TokenMix API key.
Pricing
Input $1.6975/M tokens, output $13.58/M tokens
Capabilities
Function calling, JSON mode, Streaming
Model specs
- Context: 400K tokens
- Max output: 128K tokens
Availability
1/1 available API endpoints are healthy right now.
Start using this model
Create an API key, top up from $1 when needed, and call this model through the TokenMix OpenAI-compatible endpoint.