Skip to content

Transformer Parameter Count Calculator

Estimate the total parameter count of a decoder-only transformer from the number of layers, hidden size, feed-forward expansion, and vocabulary size, with a first-order architecture formula.

Inputs

Architecture

Results

Enter a value to see results.

Details

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?