Thermodynamics of Computation: Landauer's Principle and LLM Inference

Thermodynamics of Computation: Landauer’s Principle and LLM Inference

v1.2 | 2026-07-30 | Status: Peer-review ready


Landauer’s Principle

Statement: The erasure of one bit of information in a computational process must generate at least kT ln(2) heat, where k is Boltzmann’s constant and T is the temperature of the system.

Significance: This establishes a fundamental lower bound on the energy cost of computation. Information and entropy are deeply connected.

Calculation: At room temperature (300K):


Application to LLM Inference

The Information Processing View

A single LLM inference pass:

Input tokens: ~n bits of information
Model state: ~m bits (parameters, activations)
Output tokens: ~p bits of information

From Landauer’s perspective, the erasure cost matters, not the computation cost. But LLM inference is largely information-preserving (no erasure in the thermodynamic sense).

Where the Energy Actually Goes

The actual energy cost of LLM inference comes from:

  1. Matrix multiplications: O(n²) or O(n³) operations for transformer blocks
  2. Memory bandwidth: Loading parameters and activations from DRAM
  3. GPU inefficiencies: Not all ALUs are utilized at all times
  4. Cooling overhead: Data center PUE (Power Usage Effectiveness) of 1.1-2.0

For a 70B parameter model:

Energy per token: ~0.1-1 J per token (empirical measurements)


The Gap Between Theory and Practice

The gap between Landauer’s limit and actual energy use is enormous:

Landauer limit (per bit):   ~3 × 10⁻²¹ J
Actual (per token):        ~0.5 J
Ratio:                     ~10¹⁸

This gap comes from:

  1. Reversibility: Most computation is irreversible (dissipates energy)
  2. Hardware overhead: Transistors are far from ideal
  3. Algorithm inefficiency: We don’t use reversible computing
  4. Physical constraints: Signal propagation, leakage current

Implications for AI Efficiency

Theoretical Limits

If we could approach Landauer’s limit:

Practical Paths Forward

  1. Reversible computing: Theoretical but not yet practical at scale
  2. Better algorithms: More efficient attention mechanisms
  3. Hardware specialization: ASICs for LLM inference (like Google TPU)
  4. Architectural innovations: Mixture of experts, sparse attention
  5. Precision reduction: INT8, INT4, binary networks

Connection to AI Systems Work

Understanding these thermodynamic limits helps in:

  1. Energy-aware model design: Choosing architectures based on compute efficiency
  2. Hardware selection: Matching models to efficient hardware
  3. Deployment strategy: Edge vs. cloud based on energy costs
  4. Future-proofing: Understanding what’s physically possible

The principles that govern thermodynamic efficiency also apply to information efficiency. Good AI systems, like good physical systems, minimize waste.


Further Reading


*Version history: