GPT-4

Released
2023-03-14
Last refreshed
2026-10-17
Status
Researched 36d ago
DeprecatedProprietaryCommercial use: restrictedMultimodalCodingAgentsVisionJSON / Tool use

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

OpenAI releases · 48 in the last 12 monthsChangelog →
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
ProprietaryRestricted
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 2 routes · OpenAI API

This model is deprecated. OpenAI recommends switching to GPT-6.1 Sol.

About

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

Providers(2)

Compare all 2

Compare API pricing across 2 tracked provider routes 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

Deprecated provider routes(2)

ProviderStatusCatalog ID
Azure OpenAI
Deprecated
—
Salesforce Models API
Deprecated
—

Available via routers & gateways(16)

LiteLLM

Gateway

Open-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.

Free OSSOpenAI APIAzure OpenAI

OpenRouter

Hybrid

Unified hybrid gateway to 500+ models from 80+ providers via a single OpenAI-compatible API, with an optional Auto Router that selects a model per prompt from market spend data.

Passthrough + feeOpenAI API

Portkey

Gateway

Production AI gateway routing to 1,600+ LLMs with failover, load balancing, caching, and guardrails; MIT-licensed open-source core is self-hostable. Now part of Palo Alto Networks as Prisma AIRS AI Gateway.

SubscriptionOpenAI APIAzure OpenAI

AIRouter

Router

Commercial LLM router (branded "AI Router" on its site) that picks the best model per request via a Decision API or an OpenAI-compatible Chat Completions endpoint, with a private selection mode that routes on anonymized patterns; sold as BYOK subscription plans priced by routed tokens.

SubscriptionOpenAI API

Azure AI Foundry Model Router

Router

Microsoft Azure AI Foundry's native model router that uses a trained ML model to route each prompt in real time to the optimal Azure-hosted model, with Balanced/Cost/Quality mode selection and automatic failover.

Passthrough + feeAzure OpenAI

Helicone

Gateway

Observability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache-2.0 open-source platform with a managed hosted tier for logging and analytics.

SubscriptionOpenAI APIAzure OpenAI

Capabilities

VisionMultimodalJSON / Tool useStructured 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.
BenchmarkScoreVersionEvaluationSource
72.2zero-shot, objective-accuracyObserved 2023-05-20—

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 40 popular comparisonssorted by 7-day search impressions