GPT-5.1 Codex API via TokenMix
Use GPT-5.1 Codex from OpenAI as a chat model through the TokenMix AI API relay and multi-model gateway.
GPT-5.1 Codex is a coding-focused model with 400K context window for large codebase understanding.
API access
- Base URL:
https://api.tokenmix.ai/v1 - Model ID:
gpt-5.1-codex - OpenAI SDK compatible. Change the base URL and use your TokenMix API key.
Pricing
Input $1.2125/M tokens, output $9.7/M tokens
Capabilities
Function calling, JSON mode, Streaming
Model specs
- Context: 400K tokens
- Max output: 128K tokens
Availability
2/2 available API endpoints are healthy right now.
Recent performance
TTFT 793ms, latency 3835ms, throughput 58.0 tok/s.
Start using this model
Create an API key, top up from $1 when needed, and call this model through the TokenMix OpenAI-compatible endpoint.