cd /news/large-language-models/gpt-4-has-1-8-trillion-parameters-it… · home topics large-language-models article
[ARTICLE · art-65295] src=pub.towardsai.net ↗ pub= topic=large-language-models verified=true sentiment=· neutral

GPT-4 Has 1.8 Trillion Parameters. It Uses 2% of Them Per Token. Here Is Why That Is a Feature.

GPT-4 has 1.8 trillion total parameters but activates only about 36 billion (2%) per token due to its Mixture-of-Experts (MoE) architecture, where a routing function selects k experts for each token. This design is a deliberate mathematical choice for efficiency, not a limitation, according to the analysis.

read1 min views5 publishedJul 20, 2026
GPT-4 Has 1.8 Trillion Parameters. It Uses 2% of Them Per Token. Here Is Why That Is a Feature.
Image: Pub (auto-discovered)

Member-only story

The number 1.8 trillion is not the size of GPT-4. It is the size of the parameter dictionary.

When GPT-4 processes a token, it activates approximately 36 billion parameters — roughly 2% of the total.

The remaining 98% sit dormant for that specific computation.

This is not a limitation. It is an architectural choice with a precise mathematical justification, and understanding that justification changes how you think about deploying these systems at scale.

The argument is not stylistic. It is mathematical.

The Mixture-of-Experts Architecture #

GPT-4 is a Mixture-of-Experts (MoE) model. In a standard transformer feedforward block, every token passes through the same parameters.

In MoE, the feedforward layer is replaced by a set of E expert networks, and a routing function selects k of them for each token.

Formally, the MoE layer computes:

y = Σᵢ∈Top-k(x) G(x)ᵢ · Eᵢ(x) Where:

  • x is the input token representation
- Eᵢ(x) is the output of expert i applied to x

- G(x)ᵢ is the gating weight for expert i

- Top-k(x) is the set of k experts with highest gating scores
── more in #large-language-models 4 stories · sorted by recency
── more on @gpt-4 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/gpt-4-has-1-8-trilli…] indexed:0 read:1min 2026-07-20 ·