← Models
ReasoningVision
Model details
- Model
- gpt-5.2-codex
- Provider
- opencode
- API
- openai-responses
- Base URL
- https://opencode.ai/inference/openai/v1
- Input
- text, image
- Reasoning
- Yes
- Context window
- 400,000
- Max tokens
- 128,000
Pricing
USD per million tokens.
- Input
- $1.75
- Output
- $14
- Cache read
- $0.175
- Cache write
- $0
A reference estimate. Provider pricing and context tiers may vary.
PLAN YOUR USAGE
Session cost calculator
Estimate the model requests made during an agent session.
96%
Estimated session$0.46
- Uncached input
- $0.14
- Cache reads
- $0.11
- Cache writes
- $0.0000
- Output
- $0.21
- Without caching
- $1.48
25 model requests
The first request starts cold unless marked otherwise. Output is billed separately from context growth. Providers differ in eligibility, context tiers, rounding, and retention.
Compatibility flags
sessionAffinityFormat- openai-nosession
supportsOpenAIGrammarTools- Yes