AI & LLM Tools
See how language models work, and size them.
- Token CounterCount tokens and see how text is split, with the real GPT-4o and GPT-4 tokenizers.
- LLM Sampling ExplorerSee what temperature, top-k, top-p and min-p do to a model's next-token choices.
- LLM Memory CalculatorHow much GPU memory a model needs: weights plus KV cache, with the maths shown.
- RTK Output VisualizerSee how rtk-style filtering shrinks command output before an AI agent reads it.
- Softmax & Cross-Entropy CalculatorTurn scores into probabilities, and see the loss and perplexity for the right answer.
- Cosine Similarity CalculatorCompare vectors or embeddings: cosine similarity, angle, dot product and distance.
- Attention CalculatorScaled dot-product attention step by step: scores, softmax weights and output.
- Quantization CalculatorWhat int8, int4 and int2 do to model weights: the scale, rounding and error.
- Positional Encoding VisualizerThe sine and cosine pattern a transformer adds to each position, as numbers and a heatmap.