GPT-5 Codex API via TokenMix

Use GPT-5 Codex from OpenAI as a chat model through the TokenMix AI API relay and multi-model gateway.

GPT-5 Codex is a coding-specialized variant of GPT-5 with 400K context, optimized for code generation and software engineering.

API access

  • Base URL: https://api.tokenmix.ai/v1
  • Model ID: gpt-5-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 6004ms, latency 9460ms, throughput 314.8 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.

Create API key · View pricing · Quickstart