Only one side of the GPT-3 vs GPT-4 comparison is documented. GPT-3 is an autoregressive language model with 175 billion parameters, and its authors described it as ten times larger than any earlier non-sparse (dense) language model. GPT-4 is, in OpenAI’s words, a Transformer-style model pre-trained to predict the next token in a document and then fine-tuned with reinforcement learning from human feedback (RLHF). Its technical report goes no further on architecture, model size, hardware, training compute or dataset construction. The trillion-plus parameter counts come from press reports and leaks, and the mixture-of-experts design remains speculation “without official verification”.
On the record, the changes between the two are about what the model accepts as input, how much context it holds, how it was aligned and what it costs per token. OpenAI’s technical report does not disclose the internal architecture.
GPT-3 vs GPT-4 parameters: documented, reported and leaked figures
The table below sorts each commonly quoted figure by how much weight it can bear. “Documented” means the model’s developer or a primary paper published it. “Reported” means journalists citing unnamed sources. “Leaked” means unverified claims about internals.
| Figure | Value | Who says it | Status |
|---|---|---|---|
| GPT-3 parameter count | 175 billion, dense | Brown et al., 2020 (the GPT-3 paper) | Documented |
| GPT-3 configuration | Causal decoder, 96 layers, 96 attention heads, hidden size 12,288, context 2,048 tokens | 2023 survey of large language models | Documented |
| GPT-4 parameter count and architecture | Not disclosed | OpenAI GPT-4 Technical Report, 2023 | Officially withheld |
| GPT-4 at about 1 trillion parameters | 1T | Semafor, citing eight anonymous sources, via The Decoder | Reported |
| GPT-4 as 8 × 220B mixture of experts | About 1.76T total | The Decoder, attributing the information to George Hotz | Leaked, unconfirmed |
| GPT-4 as 16 experts across 120 layers | About 1.8T total, about 111B MLP parameters per expert, 2 experts routed per forward pass | The Decoder’s report on a leak | Leaked, unconfirmed |
| GPT-4 training data | About 13T tokens of text and code | Same leak report | Leaked, unconfirmed |
| GPT-4 training cost | About $63 million | Same leak report | Leaked, unconfirmed |
| GPT-4 inference cost | About 3× GPT-3 Davinci (175B) | Same leak report | Leaked, unconfirmed |
The reported figures do not agree with each other. Semafor’s one trillion would make GPT-4 about six times the size of GPT-3, and The Decoder framed it that way. The 1.8T leak would make it more than ten times larger. The 8 × 220B breakdown and the 16 experts of about 111B MLP parameters each give similar totals but describe different expert layouts. We would treat the honest answer to “what is GPT-4’s parameter count” as “undisclosed, with credible-sounding reports between roughly one and two trillion”. We would also treat that range as rumour, not as an input to any engineering decision.
Detail is not the same as verification. The 1.8T leak is the most specific account, with layer counts, expert sizes and routing. None of that specificity comes from OpenAI, though. The Decoder notes that other AI experts commenting on Hotz’s posts considered his information very likely true. That is social corroboration, not confirmation.
Is GPT-4 a mixture-of-experts model, and how would that differ from GPT-3?
Reportedly, but without official verification. The 2023 survey records a mixture-of-experts (MoE) design for GPT-4 as widespread speculation without official verification. What we can explain is the difference between the two designs, because both are described in the research literature.
In a dense Transformer like GPT-3, every parameter takes part in processing every token. The GPT-3 authors compared their model’s size against previous “non-sparse” models.
A sparsely gated MoE layer consists of many feed-forward sub-networks (the experts), and a trainable gating network picks a sparse combination of them for each input. The Switch Transformers paper describes MoE as selecting different parameters for each incoming example, giving a sparsely activated model with very many parameters but a constant computational cost. That team pre-trained models of up to a trillion parameters this way. The same survey that flags the GPT-4 speculation describes MoE as a flexible way to scale parameter count while keeping compute roughly constant.
MoE has its own engineering problems. Shazeer et al. (2017) observed that the gating network tends to converge on always favouring the same few experts, and that the imbalance reinforces itself because favoured experts get trained faster. They added an extra loss term to keep expert importance balanced across a batch. Load balancing is part of the price of sparsity in training.
Worked example: what “1.8 trillion parameters” would mean per token
Assume the 16-expert leak is accurate. This is an assumption, not a fact. Two experts of about 111B MLP parameters each are routed per forward pass. That makes about 222B expert parameters active per token (2 × 111B), plus shared attention layers the leak does not size. On that reading, per-token compute would be closer to a dense model of a few hundred billion parameters than to a dense 1.8T model. All 1.8T parameters would still need to sit in accelerator memory, because any token can be routed to any expert. “Bigger” in an MoE model therefore means two separate things, compute per token and memory footprint, and they scale differently.
What GPT-4 can do that GPT-3 could not
Image input, and the gap between capability and availability
GPT-4 was announced as a multimodal model that accepts image and text inputs and produces text outputs. The prompt can interleave text and images freely, and OpenAI reported similar capability on documents with photographs, diagrams and screenshots as on text alone. The 2023 survey describes GPT-4 as extending the text input of earlier GPT models to multimodal signals.
At launch, image input was a research preview that the public could not use. The 2023 survey lists gpt-4-vision-preview, GPT-4 Turbo with vision, among the GPT-4 series model interfaces. OpenAI’s current API page for the original gpt-4 model lists text as its only input and output, with image, audio and video not supported. The model family can take images, but the gpt-4 endpoint does not. Check the endpoint before you plan around a capability from the launch announcement. The leak’s claim that GPT-4 uses a Flamingo-like vision encoder fine-tuned on about two trillion more tokens is, like the rest of the leak, unconfirmed.
Context window: 2,048 tokens to 128k
| Model | Context window | Source |
|---|---|---|
| GPT-3 (175B) | 2,048 tokens | 2023 survey of large language models |
| gpt-4 | 8,192 tokens | OpenAI launch page |
| gpt-4-32k | 32,768 tokens (about 50 pages), limited access at launch | OpenAI launch page |
| GPT-4 Turbo | 128k tokens (over 300 pages) | OpenAI DevDay announcement, November 2023 |
The knowledge cutoff also moved. GPT-4 lacks knowledge of most events after its pre-training data cuts off in September 2021, and GPT-4 Turbo was announced with knowledge up to April 2023. OpenAI still lists a limited context window among GPT-4’s limitations, alongside hallucinations and not learning from experience. A longer window does not remove the need to decide what goes into it. For document-heavy workloads, we would weigh retrieval-augmented generation and how to design it above the raw token limit.
Reading the published capability numbers correctly
OpenAI’s headline comparisons cited here set GPT-4 against GPT-3.5, not against the original GPT-3. GPT-4 scored in the top 10% on a simulated bar exam, while GPT-3.5 scored in the bottom 10%. Raters preferred GPT-4’s responses over GPT-3.5’s on 70.2% of 5,214 prompts. GPT-4 scored 19 percentage points higher than OpenAI’s latest GPT-3.5 on internal adversarial factuality evaluations. GPT-3.5 was itself GPT-3 after fine-tuning on code and alignment. So these are not measurements of GPT-4 against the 175B base model, and they should not be quoted as GPT-3 vs GPT-4 deltas.
How training and alignment changed from GPT-3 to GPT-4
The GPT-3 paper tested the model in the few-shot setting. Its paper formally introduced in-context learning, where tasks are specified in the prompt rather than through fine-tuning. A survey of the GPT-3 family names two main weaknesses of that original model: it was not trained on code, and it struggled to follow user instructions.
The fix came between the two headline models. InstructGPT, proposed in January 2022, set out a three-stage RLHF procedure for aligning GPT-3. Labellers wrote demonstrations used for supervised fine-tuning, then ranked model outputs, and those rankings drove a further reinforcement learning stage. In human evaluations, raters preferred outputs from the 1.3B-parameter InstructGPT model over the 175B GPT-3, despite the 100x gap in parameters. RLHF applies reinforcement learning algorithms such as PPO against a learned reward model. Our explainer on how agents learn through trial and error with reinforcement learning covers that underlying mechanism.
GPT-4 inherited this lineage and extended it. OpenAI fine-tuned GPT-4 with RLHF, as with prior GPT models. It added rule-based reward models: GPT-4 classifiers that grade outputs against a human-written rubric, for example rewarding refusals of harmful requests and penalising refusals of safe ones. The survey describes this as a six-month iterative alignment that included an additional safety reward signal in RLHF training. OpenAI reports that GPT-4 responds to requests for disallowed content 82% less often than GPT-3.5.
RLHF changed behaviour without significantly affecting capability. Averaged across exams, the GPT-4 base model scored 73.7% and the RLHF model 74.0%. OpenAI also says it predicted some aspects of GPT-4’s performance from smaller models trained with 1,000× to 10,000× less compute. Read together with the InstructGPT result, our reading is that alignment and post-training changed how the model behaved for users more than its measured capability. Parameter count is the part of the story we know least about.
Why GPT-4 costs more to run than GPT-3
The cost evidence comes in three grades, and the grades should be kept apart.
The list prices are vendor decisions, published by OpenAI. At launch, OpenAI quoted $0.06 per 1K prompt tokens and $0.12 per 1K completion tokens for the 32k-context version. At DevDay in November 2023 it priced GPT-4 Turbo 3x cheaper for input tokens and 2x cheaper for output tokens than GPT-4. A price cut does not tell you whether the model got smaller, the serving stack got more efficient or the margin changed.
The serving-cost claim is leaked. The leak report says GPT-4 costs three times as much to run as the 175B Davinci model, because of the larger clusters it needs and lower utilisation.
The mechanisms are general engineering, independent of GPT-4’s exact design. Memory scales with total parameters, so an MoE model has to hold every expert even if each token uses only two. That point fits the leak’s explanation of larger clusters, but it does not prove it.
For a hosted, closed model, the size and hardware behind API response times are undisclosed. Treat any precise “GPT-4 is N times slower” figure with the same suspicion as the parameter leaks.
What engineers can and cannot plan around
For a team deciding how to build on these models, the practical boundary is this: you can plan around published interfaces, context limits, modalities and prices, but not around GPT-4’s internals. GPT-4’s report withholds the architecture, model size and hardware details that sizing hardware or memory per request would start from.
When those questions matter, documented open-weight models are the realistic alternative. You can read their published architectures and test them on your own hardware. The broader choice between decoder-only, encoder-decoder and encoder-only LLM types comes first. After that, consider whether a task needs a frontier-scale model at all or whether small language models will do. Once an open MoE model is in view, the questions this article could only state in general terms (expert placement, routing overhead, utilisation) become concrete runtime decisions, like the ones covered in SGLang for gpt-oss serving. That is the real lesson of the GPT-4 leaks: an architecture you cannot inspect is one you cannot engineer around.