Glossary · Architecture

What is Hidden state?

Hidden state is an architectural concept in transformer-based language models. It is part of the vocabulary teams use when they compare models, design prompts or review an AI system.

Definition

Hidden state is an architectural concept in transformer-based language models. It is part of the vocabulary teams use when they compare models, design prompts or review an AI system. The term is used in architecture discussions, where precision matters: two teams can use the same word to mean slightly different things. In this glossary, hidden state is treated as a practical concept rather than a formal specification.

Why it matters

Architecture terms describe how a model represents tokens, moves information between positions and scales with parameters and data. They explain why two models with similar parameter counts can behave very differently.

Example

Suppose you are comparing Gemini 3 Flash with another model for a production task. Hidden state is one of the factors behind the numbers you see: Gemini 3 Flash lists a 128,000-token context window, costs $15.67 per million input tokens and scores 78.2 on MMMU. Understanding the term helps you decide which of those differences actually matter for your workload.

How to evaluate it

  • Check whether hidden state is defined the same way in the documentation you are reading.
  • Ask which measurement or trade-off the term is describing before comparing numbers.
  • Separate vendor claims from independently observed behaviour on your own data.
  • Write down the definition your team uses so reviews and evaluations stay consistent.

Related terms

Related guides

FAQ

What does Hidden state mean?

Hidden state is an architectural concept in transformer-based language models. It is part of the vocabulary teams use when they compare models, design prompts or review an AI system.

Why does Hidden state matter?

Architecture terms describe how a model represents tokens, moves information between positions and scales with parameters and data. They explain why two models with similar parameter counts can behave very differently.

How is Hidden state used in practice?

Suppose you are comparing Gemini 3 Flash with another model for a production task. Hidden state is one of the factors behind the numbers you see: Gemini 3 Flash lists a 128,000-token context window, costs $15.67 per million input tokens and scores 78.2 on MMMU. Understanding the term helps you decide which of those differences actually matter for your workload.