Calculator/OpenAI/GPT-5.1 Codex
OA

GPT-5.1 Codex

by OpenAIWebsite
codingrefactoring

Input

$1.25/MTok

Output

$10.00/MTok

Cached Input

$0.13/MTok

with caching

Batch Input

$0.63/MTok

batch API

Specifications

Context Window

400K context

Max Output

32K tokens

Caching

Supported

Batch API

Supported

Vision

Supported

Tool Use

Supported

Cost Examples

Single chat message

500 input + 300 output tokens

$0.0036/request

Code review

5,000 input + 2,000 output tokens

$0.03/request

Document summary

50,000 input + 1,000 output tokens

$0.07/request

100 requests/day

1,000 input + 500 output × 30 days

$18.75/month

Compare GPT-5.1 Codex

See how GPT-5.1 Codex stacks up against GPT-5 and Gemini 2.5 Pro.