OpenAI · LLM API Modelactive

gpt-5.1

gpt-5.1 costs $1.25 per 1M input tokens, $0.125 cached input and $10.00 per 1M output tokens. Batch API: $0.625 input, $5.00 output.

Updated September 21, 2026
Input / 1M
$1.25
Output / 1M
$10.00
Cached Input
$0.125
Context Window
272K
Standard Input
$1.25 / 1M
Base prompt input rate
Standard Output
$10.00 / 1M
Completion output rate
Prompt Caching -50%
$0.125 / 1M
Cached prompt context
Batch API -50%
$0.625 / 1M
Asynchronous 24h batch

Save up to 50% on OpenAI API token spend

Connect your OpenAI account — we'll optimize Batch API workflows and prompt caching efficiency.

Flagship models

All rates listed in USD per 1 Million (1M) tokens unless noted

StandardBatchFlexFast mode
Pricing Metric / Parameter
Standard RATE
(per 1M)
Batch RATE
(per 1M)
Flex RATE
(per 1M)
Fast mode RATE
(per 1M)
Short context input$1.25$0.625$0.625$2.50
Short context cached input$0.125$0.0625$0.0625$0.25
Short context cache writes----
Short context output$10.00$5.00$5.00$20.00
Long context input----
Long context cached input----
Long context cache writes----
Long context output----

Source: OpenAI official pricing page, verified 2026-09-21. Prices in USD per 1M tokens.

AI / LLM
LLM API Cost Comparison

Compare OpenAI model costs against Anthropic & Gemini

Use our free LLM Cost Calculator to benchmark gpt-5.1 token rates, Batch API discounts, and monthly estimated spend side-by-side with leading AI models.

Open LLM Cost Calculator →