All models

openai/gpt-5.2-codex — OpenAI: GPT-5.2 Codex pricing, specs and API usage

Agentic coding sibling of GPT-5.2 for long refactor runs.

TextImageProgrammingAgents & toolscodetools

Specifications

Context window
400K
Max output tokens
128,000
Released
2026-04
Infra providers
5
Throughput
114 tok/s
Latency (TTFB, sample)
610 ms
Capabilities
Supports tools

Pricing

per million tokens

Input
$1.50
Output
$12.00
Blended (3:1)
$4.13

Use this model

Works with any OpenAI SDK — same request shape, different model id.

curl https://api.lokarouter.id/v1/chat/completions \  -H "Authorization: Bearer sk-lkr-your-key" \  -H "Content-Type: application/json" \  -d '{    "model": "openai/gpt-5.2-codex",    "messages": [{ "role": "user", "content": "Hello" }]  }'

Sample data for demonstration — connect your workspace for live stats.