TokenPrint traces transformer inference as it happens. Follow tokens, tensors, attention, KV cache and generation through a real model.
Model Inspection
Built for the moments that matter most.
Go beyond the output and inspect the computation behind it. TokenPrint lets you follow tokens, hidden states, attention, residual streams, and logits through a real transformer forward pass — making the model easier to understand, debug, and explore.
Trace real transformer execution from input tokens through embeddings, normalization, attention, MLPs, residual streams and logits.
Inspect tensor shapes, parameters, hidden states, attention weights and model metadata directly inside the computation.
Follow a token through the transformer during prefill and decode, with KV-cache state and operation progress visible as inference runs.

Explore Q, K and V projections, grouped-query attention, RoPE, attention scores and weighted values as the computation happens.

Tokens bind to an index and resolve into dense vectors.
Shapes, activations, and residual streams at every depth.
Q, K, and V projections and the scores that combine them.

Prefill, the KV cache, and logits choosing the next token.
Follow tokens, representations, and operations as they pass through every stage of inference.
Follow the structures, tensors, and computations behind every prediction.

See how the model is organized from embeddings through transformer layers, residual streams, and the final prediction.
Inspect layers, tensors, residual streams, and model topology.

Follow Q, K, and V through attention, from projections and positional encoding to scores, masking, and weighted values.
Follow Q, K, V, attention scores, RoPE, and weighted values.

Follow the transition from prefill to decode as hidden states become logits, KV cache state, and the next generated token.
Trace prefill, KV cache, decoding, logits, and next-token prediction.
See what happens in between.
Every layer. Every tensor. Every step — open for inspection.
Contribute on GitHub→