What is a token?
A token is a unit of text a model processes. It can be a whole word, part of a word, punctuation, or a space-connected fragment.
Interactive lab · 01
Send prompts to a Groq-hosted language model through a server-side API. The API key stays in your deployment environment and is never sent to the browser.
Concepts · 02
Tune the playground's temperature, Top-P, and output budget. Top-K and the candidate-space visualizations are educational examples, not live model controls.
Prompt craft · 03
Compare ways of instructing a model. Switch strategies, edit the instruction, and see the assembled prompt update instantly.
Prompt craft · 04
Get transparent, rule-based feedback on a prompt's structure. Scores are heuristic learning aids, not an AI model assessment.
Add a prompt to see its structure breakdown.
Text mechanics · 05
Explore how text can be represented as smaller pieces. This deliberately simple word-and-punctuation approximation is not a real model tokenizer.
A token is a unit of text a model processes. It can be a whole word, part of a word, punctuation, or a space-connected fragment.
Models operate over token IDs from a vocabulary. Common words may be one token; rare or long words may use several, so token count and word count differ.
Text representation · 06
A playful two-dimensional map of illustrative coordinates. These points are hand-placed for teaching and are not actual model-generated embeddings.
Conceptual flow · 07
Walk through a simplified processing pipeline. Expand a stage for more context or animate the conceptual sequence.
A conceptual overview — not a trace of any model's private thoughts.
Grounding concepts · 08
See where retrieval can fit into a language-model workflow. There is no search provider connected here, so no live results are fetched or invented.
Simulation only · no external requests
RAG retrieves relevant external information and supplies it as context to a model. This can help ground a response in selected sources, but retrieval quality matters.
A search system finds documents; a language model generates text. A product can combine them, but should distinguish sourced evidence from generated explanation.
Knowledge library · 09
Short, beginner-friendly explanations to help connect the experiments to core language-model ideas. Expand a card to explore it.
About this lab · 10
LLM Explorer is a self-contained learning interface for exploring language-model concepts through simple, transparent interactions.
The playground sends prompts to a Groq-hosted model through a server-side endpoint. Other learning modules run locally in your browser. The API key is configured as a deployment secret and is never included in the page.