AI

TinyServe: how a language model thinks, live

TinyServe shows on screen what a language model does between the question and the answer, and it computes that answer on your own machine.

TinyServe: the per-token latency chart and the prefill versus decode readouts, live in the browser
The screen you get when you open it: the tiles of views, from prefill and decoding to attention maps and next-token sampling.
Challenge

An LLM is a black box, even for engineers

Teams rolling out AI keep asking: why does a long prompt compute fast, while the answer comes out slowly? Why does graphics card memory run out on a longer conversation? Slide decks and blog-post diagrams do not answer that. TinyServe shows these mechanics live, on a real model, with no server and nothing to install.

How it works

Five inference mechanics, visible live

Prefill and decode
The two inference phases rendered separately: why a long prompt computes fast (prefill, parallel) while generating text is slower (decode, one token at a time).
KV cache
A chart of the memory climbing with every token, against the budget the context window allows: you see exactly how much GPU memory a longer conversation actually costs.
Attention heatmaps
A per-layer, per-head attention heatmap: which earlier tokens the model is actually looking at while generating the next one.
Speculative decoding and paged memory
A small model proposes a token, the large model accepts or rejects it (speedup with no quality loss); separately, a simulation of a block-based memory allocator (like vLLM's) versus contiguous allocation, with an out-of-memory visualization.
Next-token sampling
One step's full scorecard: the probabilities the model was choosing between, and what temperature does to them.
Numbers

A real model, not an animation for show

The conversation never leaves your machine.

5
models you switch live (Qwen3 0.6B and 1.7B, Llama 3.2, LFM2.5 1.2B, DeepSeek-R1) and compare their behavior with your own eyes.
552 MB
is the smallest model (Qwen3 0.6B): the size is measured from the hub before the download, not estimated. A second visit starts from the browser cache.
0
server requests during generation: everything runs on your machine, so nothing leaks out.

A tool for developers and ML engineers. Our own project. We built it and we run it ourselves. The model downloads once and then computes on your side.

Check these numbers in the live demo

Stack

Every choice has a reason

LayerChoiceWhat it does
LanguageTypeScript, no frameworkThe page stays light, so the charts keep up with the text being generated.
BuildViteThe whole thing is a static file: you open the address and it runs, with no server behind it.
Inference@huggingface/​transformers (WebGPU)The answers are computed by a real model on your graphics card, not replayed from a server.
VisualizationsD3Memory, latency and the model's attention are drawings that change with every token.
Contact

Describe the problem, we come back with a price

One sentence is enough to start. We read it ourselves, not a ticket queue, and we answer whether it can be done and at what price.

  • We reply within 48 hours on working days.
  • The intro audit costs nothing, and the report is yours whatever you decide.
  • Fixed price or we do not start. If the work takes us longer, there is no surcharge.
  • We take two projects at a time. If your deadline is tight, write early.

Or write straight to contact@tenzanlogic.com

Three questions that make the quote accurate. Optional.
What the problem is about
What you have today
Horizon

The form data is used only to answer your enquiry. Details in the privacy notice.