GPT-5.1

GPT-5.1 is the OpenAI's best model for coding and agentic tasks across industries.

Input price
$1.125list $1.25-10%
Output price
$9.00list $10.00-10%
Context
400K
Max output
128K
Modalities
InputTextImageAudioOutputTextImageAudio
150 (#49 of 89)
1422
—
Released
2025-11-13
Knowledge cutoff
2024-09-30
Try in ChatCompare

Providers

This model is served by the dedicated providers below. We pick the provider for each request, so provider preferences don’t apply, including a provider named in your request. Prices in USD per 1M tokens. Need a custom setup? Contact [email protected].

Included providers2
  • SuccessTTFT
  • Azure AI FoundryGlobal——
  • OpenAIUnited States——

Pricing

Prices for this model. Each request is billed at these prices, whichever provider serves it.

ItemPriceFlexPriority
Inputper 1M tokens$1.125list $1.25-10%$0.5625list $0.625-10%$2.25list $2.50-10%
Outputper 1M tokens$9.00list $10.00-10%$4.50list $5.00-10%$18.00list $20.00-10%
Cache readper 1M tokens$0.1125list $0.125-10%$0.056252list $0.0625-10%$0.225list $0.25-10%
Batch inputper 1M tokens$0.5625list $0.625-10%——
Batch outputper 1M tokens$4.50list $5.00-10%——
Image outputper 1M tokens$36.00list $40.00-10%——
Web searchper request$0.009list $0.01-10%——

Make a request

Set your provider preferences, then copy the request. It reads your API key from OHMYGPT_API_KEY.

Provider preferences don’t apply to this model. Need a custom setup? Contact [email protected].

curl https://api.ohmygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $OHMYGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.1",
    "messages": [
      {
        "role": "user",
        "content": "Hello"
      }
    ]
  }'

Similar models

Other models with the same output types at a similar price.

  • Better value: more capable, lower price
  • Pareto frontier
  • This model
  • Similar models

Capability scores are from Epoch AI’s Epoch Capabilities Index (CC BY 4.0, as of 2026-11-02), which combines dozens of benchmarks with GPT-5 set at 150. epoch.ai/eci

Price: our current input price per 1M tokens in USD, lowest across channels. Dated snapshots and resold copies of the same model are merged into one point; free models are not shown.

Shaded area: capability above and price below the median of all models. Pareto frontier: no other model is both cheaper and more capable.

GPT-5.1This model
150
Input
$1.125
Output
$9.00
150
Input
$1.125
Output
$9.00
142
Input
$1.10
Output
$5.50
—
Input
$1.10
Output
$3.30
—
Input
$1.10
Output
$2.20

Human preference ratings are from the LMArena Text Arena (CC BY 4.0, as of 2026-10-28): Elo ratings from blind votes, on a different scale from capability scores. lmarena.ai/leaderboard/text