← All models

OpenAI: GPT-5.1-Codex

openai/gpt-5.1-codex

VisionTool useJSONReasoningStreaming

GPT-5.1-Codex is a specialized version of GPT-5.1 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....

Pricing

Input

$1.25 / 1M

Output

$10.00 / 1M

Specs

Context

400,000 tokens

Input

text, image

Output

text

Released: 2025-11

Supported parameters

include_reasoningmax_completion_tokensmax_tokensreasoningresponse_formatseedstructured_outputstool_choicetools