GPT-4
GPT-4 is a legacy integration reference; evaluate GPT-6.1 Sol before starting new work.
- 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
Cheapest of 2 routes · OpenAI API
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 2Compare API pricing across 2 tracked provider routes for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Batch in / out | Route |
|---|---|---|---|---|
| OpenAI API | $30.00 | $60.00 | $15.00 / $30.00 | Serverless |
| OpenRouter | $30.00 | $60.00 | - | Serverless |
Deprecated provider routes(2)
| Provider | Status | Catalog ID |
|---|---|---|
| Azure OpenAI | Deprecated | — |
| Salesforce Models API | Deprecated | — |
Available via routers & gateways(16)
LiteLLM
GatewayOpen-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.
OpenRouter
HybridUnified 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.
Portkey
GatewayProduction 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.
AIRouter
RouterCommercial 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.
Azure AI Foundry Model Router
RouterMicrosoft 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.
Helicone
GatewayObservability-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.
Capabilities
Benchmark peer barsfor Coding
No task-mapped benchmark peers are available for this model yet.
Benchmark scores(1)
Migration checks
No linked migration route is available for this model yet.
API versions
gpt-4-0314gpt-4-0613gpt-4