All illustrations

Streaming tokens

The answer streams in chunks, and the response writes itself out line by line.

FreeShader · spot

Copy

Download

Open in

Streaming tokens: the answer streams in chunks, and the response writes itself out line by line.

Not quite it? Ask for a variation

Install

Writes one React component and its WebGL runtime into components/illos. Nothing else to install.

The live field draws with WebGL and comes with the one-line add. The SVG you copy or download is its still frame and its labels.

npx shadcn@latest add https://illos.dev/r/shader/streaming-tokens.json

Or hand it to your agent

Claude Code, Cursor, Codex and any other coding agent can add it from the prompt.

How it moves

  1. a ribbon of tokens flows from the model as a travelling wave.
  2. the cursor writes the last line of the response.
  3. the response scrolls up a line as it fills.

Where it fits

For AI products that answer as they think: a chat or API landing page, a docs page on streaming responses, or a features card about speed. Tokens flowing from the model while the response writes itself out line by line shows why a streamed answer feels fast even when the whole reply takes seconds. As a spot it fits a feature card, an empty chat state, or the side of a paragraph about latency. It is free to copy, and Context window picks up the story when the page turns to how much the model can hold.

Pairs well with Context window, Model routing, Agent pipeline and Embeddings.

On your site

Read where product illustrations go, how to place an animated SVG and how to keep animations fast.

For developers

File size
3.3 KB gzipped
Motion
Plays once, 4.2 s, then holds
Reduced motion
Shows a still
File
streaming-tokens.svg

Next in this theme.

Cache layer: a hit comes straight back from the cache, and a miss goes on to the database.
Shader · spotFree