Skip to main content
← All Inference APIs
Some specifics in this record, such as pricing or deprecation date, are not confirmed. Details may change.

GPT-5.2 Codex

opencode gpt-5.2-codex LLM Large Retired Jul 23, 2026

Provider: openai · served via OpenCode

Input:
image
pdf
text
Output:
text

Knowledge cutoff: August 2025

Tool calling
Structured output
Reasoning
Vision
Deprecated July 23, 2026.

Deprecated on OpenCode Zen; scheduled retirement announced.

Sticker prices & cost-per-token

List rates as published by OpenCode, before any volume or enterprise discounts.

Input cost

$1.75

Output cost

$14.00

Context window

400,000 tokens

Max output tokens

128,000

tokens per response (includes reasoning tokens)

Model weights

Closed weights

Cached input

$0.175

Get this data free

Want to stay updated on price changes on this model? Pull this data free (no API key required) here:

curl "https://coolhandlabs.com/api/v2/inference_apis?q%5Bmodel_eq%5D=gpt-5.2-codex&q%5Bsource_api_eq%5D=opencode"

Full REST API docs →

Pricing History

Effective Price
Aug 12, 2026 – present Input cost: $1.75 / 1M, Output cost: $14.00 / 1M, Cached input cost: $0.175 / 1M, Cache creation cost: $0.00 / 1M, 5-minute cache write cost: $0.00 / 1M, 1-hour cache write cost: $0.00 / 1M, Reasoning output cost: $0.00 / 1M, Cache storage cost: $0.00 / 1M/hr

History

Last change detected October 5, 2026 (21 days ago) by an automated scan.

Date Changed by What changed
Aug 12, 2026 Unknown Initial record created

Source

https://opencode.ai/docs/zen/ (via https://models.dev/api.json)

Comparable models

No comparable models identified yet.

Reliability

No reliability incidents recorded in the last 90 days.

Frequently asked questions

Track LLM pricing and deprecations automatically.

Start free