Semua model

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.

TeksGambarPemrogramanAgent & toolscodetools

Spesifikasi

Context window
400K
Maks token output
128.000
Dirilis
2026-04
Provider infra
5
Throughput
114 tok/s
Latensi (TTFB, contoh)
610 ms
Kapabilitas
Dukungan tools

Harga

per juta token

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

Gunakan model ini

Bekerja dengan SDK OpenAI apa pun — bentuk request sama, cukup ganti 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" }]  }'

Data contoh untuk demonstrasi — hubungkan workspace Anda untuk statistik langsung.