← All models

OpenAI: GPT-5.1-Codex

openai/gpt-5.1-codex

OpenAI: GPT-5.1-Codex (openai/gpt-5.1-codex) costs $1.25 per 1M prompt tokens and $10 per 1M completion tokens, has a 400,000-token context window, and supports tool calling, structured outputs, reasoning and response format. Data updated 2026-10-30.

Prompt price
$1.25 / 1M tokens
Completion price
$10 / 1M tokens
Context
400,000 tokens
Input modalities
text, image
Output modalities
text
Tokenizer
GPT
Instruct type
—
Knowledge cutoff
—
Hugging Face
—

Last price change: 2025-11-14

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....

Price history

No price changes recorded

View on OpenRouter