Skip to content
Trending storyDeveloping

Dongxi NLP explains how a language model produces each token

2 articles1 sourcesince Oct 29Last article 1h ago ·

Overview

AISummary of 2 articles

Dongxi NLP, a Chinese-language X account, published an explainer on how a chat model generates one token at a time.

Using the open-source Qwen3-0.6B model, the post traces the question "Is OpenAI open?" through a chat template, tokenization, prefill, sampling and detokenization. It says the answer takes nine tokens, and that each token requires a full model run that scores all 151,936 vocabulary entries.

The article links these steps to observed behavior, saying they explain why output appears gradually, why answers can vary, and why providers charge by token. A second post by the same account describes the same concepts, including logits, the KV cache, and the prefill and decode stages, as a basic overview rather than a new model or product.

Written by AI from the articles below · updated Oct 29, 9:05 AM ET

Check the sources:

Latest developmentOct 29, 8:43 AM ET
Dongxi NLP explains how an LLM token is born

Developments

2 developments

  1. Oct 29, 8:43 AM ET · 1 article
    Dongxi NLP explains how an LLM token is born
    Dongxi NLP: Dongxi NLP explains how an LLM token is born
  2. Oct 29, 8:38 AM ET · 1 article
    How a token is born: tracing one chat request through a language model
    Dongxi NLP: How a token is born: tracing one chat request through a language model

Article timeline

The articles in this story. Times are ET.

Oct 29
  1. Dongxi NLPX
    Dongxi NLP explains how an LLM token is born

    AIDongxi NLP says it walks through core LLM concepts behind a single token's creation, including chat templates, tokenization, logits, detokenization, KV cache, and the prefill and decode stages. The post presents these as an overview of the basic concepts rather than a new model or product.

    Video from @dongxi_nlp's post
  2. Dongxi NLPX
    How a token is born: tracing one chat request through a language model

    AIDongxi NLP walks through how a chat model answers the question "Is OpenAI open?" using the small open-source Qwen3-0.6B model. The answer takes nine tokens, each produced by a full model run that scores all 151,936 vocabulary entries, with a template, tokenizer, prefill, sampling and detokenization steps. The article links these steps to observed behavior such as gradual output, varying answers and token-based pricing.

Heat Trend

Not enough continuous observations to show a trend yet.