← All models

OpenAI: GPT-5.1-Codex-Mini

openai/gpt-5.1-codex-mini

VisionTool useJSONReasoningStreaming

GPT-5.1-Codex-Mini is a smaller and faster version of GPT-5.1-Codex

Pricing

Input

$0.25 / 1M

Output

$2.00 / 1M

Specs

Context

400,000 tokens

Input

image, text

Output

text

Released: 2025-11

Supported parameters

include_reasoningmax_completion_tokensmax_tokensreasoningresponse_formatseedstructured_outputstool_choicetools