LLM Reference

GPT-4

Released
2023-03-14
Last refreshed
2026-06-15
Status
Researched 61d ago
DeprecatedProprietaryCommercial use: conditionalMultimodalCodingAgentsVisionJSON / Tool use

GPT-4 is a legacy integration reference; evaluate GPT-4.1 before starting new work.

Use it for

  • Teams maintaining an existing integration
  • Workloads that can use a 8k context window
  • Buyers comparing 3 tracked provider routes

Do not use it for

  • New production launches
Specifications
Family
GPT-4
Released
2023-03-14
Context
8k
Parameters
1.76T (8x222B MoE)*
Architecture
Mixture of Experts
Knowledge cutoff
2021-09
Specialization
general
Openness
Proprietary
License
ProprietaryCommercial use: conditional
Weights
Not released
Code
Unknown
Training
Fine-tuned
Created by

Cutting-edge research and development.

San Francisco, California, United States
Founded 2015
Website
Pricing
Output / 1M
$60.00
Input / 1M
$30.00

Cheapest of 4 routes · OpenAI API

This model is deprecated. OpenAI recommends switching to GPT-4.1.

About

OpenAI's original GPT-4 model with strong reasoning and general knowledge. Foundation model for many applications.

GPT-4 is a proprietary model. The structured metadata tracks a 8k-token context window, multimodal input, function calling, structured outputs, and code execution. This page tracks provider routes through OpenAI API, Azure OpenAI, Salesforce Einstein Generative AI, and 1 more, with the cheapest tracked route listed at $30 input and $60 output per 1M tokens. Headline tracked benchmarks include GAOKAO 72.2.

Top use-case fit: coding, agents, and build tasks

Coding

Included by capability and metadata signals in the decision map.

Agents

Included by capability and metadata signals in the decision map.

Vision

Included by capability and metadata signals in the decision map.

Provider price ladder

Compare all 4

Compare API pricing across 3 providers for input and output tokens, batch, and cached reads when available.

ProviderInput / 1MOutput / 1MBatch in / outRoute
OpenAI API$30.00$60.00$15.00 / $30.00
Serverless
OpenRouter$30.00$60.00-
Serverless
Salesforce Einstein Generative AI---
ServerlessPartial

Available via routers & gateways(16)

Capabilities

VisionMultimodalFunction CallingStructured OutputsCode Execution

Benchmark peer barsfor Coding

No task-mapped benchmark peers are available for this model yet.

Benchmark scores(1)

Scores are benchmark-specific and are direction-aware: the same numeric gap can mean very different outcomes across suites. Use the leaderboard context and this model's provider route to decide whether the winning margin is meaningful for your workload.
BenchmarkScoreVersionSource
GAOKAO72.2zero-shot, objective-accuracyhttps://github.com/OpenLMLab/GAOKAO-Bench

Migration checks

No linked migration route is available for this model yet.

API versions

gpt-4-0314gpt-4-0613gpt-4

Compare GPT-4 with other models

Show all 42 popular comparisonssorted by 7-day search impressions

Frequently asked questions

What is the context window of GPT-4?

GPT-4 has a context window of 8k tokens.

How much does GPT-4 cost?

GPT-4 is available at $30/1M input tokens through OpenAI API.

When was GPT-4 released?

GPT-4 was released on 2023-03-14.

Which providers offer GPT-4?

GPT-4 is available from 4 providers: OpenAI API, Azure OpenAI, Salesforce Einstein Generative AI, OpenRouter.

What benchmarks has GPT-4 been tested on?

GPT-4 has been evaluated on 1 benchmark, including GAOKAO.