jishie

GPT-5.2 Codex

opencode/gpt-5.2-codex · family gpt-codex · in: text, image, pdf → out: text · price provider-declared (via models.dev). Capabilities: tools reasoning text image pdf.

$4.81
Blended $/1M (3:1)
$1.75
Input $/1M
$14
Output $/1M
$15.75
1M in + 1M out
$0.175 −90%
Cache read $/1M
#6522 of 7,708
Cheapest rank
Provider
OpenCode Zen (opencode)
Kind
text (outputs text)
Context
400,000 tokens
Max output
128,000 tokens
Capabilities
tools reasoning text image pdf

Same model, other providers

“GPT-5.2 Codex” is offered by 13 providers — cheapest-effective first. QiHang is the cheapest at $0.39 blended.

ProviderInputOutputBlendedContext
QiHang$0.14$1.14$0.39400k
Ofox$1.4$11.2$3.85400k
OpenCode Zen (this)$1.75$14$4.81400k
Kilo Gateway$1.75$14$4.81400k
Abacus$1.75$14$4.81400k
OpenRouter$1.75$14$4.81400k
Azure$1.75$14$4.81400k
Azure Cognitive Services$1.75$14$4.81400k
Impossibl$1.75$14$4.81400k
OrcaRouter$1.75$14$4.81400k
AIHubMix$1.75$14$4.81400k
DevPass (LLM Gateway)$1.75$14$4.81400k
Vivgrid$1.75$14$4.81400k

Call it

jishie indexes & prices models; it does not proxy inference.

Most providers are OpenAI-compatible — point base_url at OpenCode Zen and pass this model id:

curl $BASE_URL/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
  -d '{"model":"gpt-5.2-codex","messages":[{"role":"user","content":"hello"}]}'

Route programmatically with MCP find_model / get_model, or fetch this record free (no wallet):

← all OpenCode Zen models · model index · JSON