OpenAI

OpenAI: GPT-5.1-Codex

openai/gpt-5.1-codex

Input Price

$1.25 / 1M

Output Price

$10.00 / 1M

Context Length

400,000

LLM Price Calculator

Enter custom token counts to calculate exact pricing for your specific AI use case.

Input Cost
$1.25
Output Cost
$10.00
Total Cost
$11.25

About this model

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

Try this model in Playground

Test this model's capabilities in different AI playground environments including OpenRouter, Hugging Face, Cloudflare, and Vercel.

FAQ

OpenAI: GPT-5.1-Codex pricing FAQ

Answers about this model's pricing, context window, supported modalities, and where to try it.

How much does OpenAI: GPT-5.1-Codex cost?

Use the calculator above to estimate the cost for your expected workload. Input and output tokens are billed at separate rates, and optional provider features may add extra charges.

What is the context length of OpenAI: GPT-5.1-Codex?

OpenAI: GPT-5.1-Codex supports a context window of up to 400,000 tokens. Your provider may reserve part of that capacity for generated output or system instructions.

Which modalities does OpenAI: GPT-5.1-Codex support?

Listed input modalities: text, image. Listed output modalities: text. Confirm feature availability with your chosen provider before integrating the model.

Where can I try OpenAI: GPT-5.1-Codex?

Use the Playground links above to check whether the model is currently available from those third-party services. Access, features, and pricing can vary between platforms.