GPT-5.1

Provider: OpenAI US Official API price

Input price
$0.63
/ 1M tokens
Output price
$5.00
/ 1M tokens
Cache price
$0.063
/ 1M tokens (read)
Batch API
$0.63 / $5.00
input / output per 1M tokens
Context
400K tokens
Max output 128K tokens

Overview

OpenAI's flagship GPT-5.1 is a frontier reasoning model supporting vision, function-calling, json-mode, and thinking across a 400,000 token context window.

Strengths

  • Supports 400,000 token context window
  • Handles 128,000 token maximum output
  • Features adaptive reasoning and vision
  • Includes structured JSON output mode

Best use cases

  • Complex multi-step reasoning tasks
  • Large-scale codebase analysis and refactoring
  • Automated API integration pipelines

Pricing position

Priced identically to Gemini 2.5 Pro at $0.625 per million input and $5 per million output tokens.

Caveats

No free tier is available; use GPT-5 Nano for lower-cost tasks.

Notes drafted by an LLM from the figures on this page (2026-11-13) and rewritten when the price changes.

Key facts

Price basis
Official API price
Max output
128K tokens
Listed on OpenRouter
2025-11-13
Tracked since
2026-05-08
Last updated
2026-11-10

Features

Image inputFunction callingJSON outputReasoning

Monthly cost estimate

Scale Input (M) Output (M) Monthly
0.1M (hobby) 0.1 0.05 $0.31
1M (small app) 1 0.5 $3.13
10M (mid scale) 10 5 $31.25
100M (large) 100 50 $312.50

※ Cache and batch discounts not factored in. Detailed calculator

Official resources

Other models from OpenAI

Similar-priced models

Source: OpenRouter API (openai/gpt-5.1)