Tools that show their working
Free calculators and tools that show their working. Every one states the formula it uses and works through a real example, so you can check the answer rather than trust it.
Browse by category
AI & LLM Engineering
A 7B model needs about 14 GB of VRAM at FP16 and about 4 GB at 4-bit, before the KV cache.
4 tools
ML Metrics
If 1% of transactions are fraud, a model that always answers "not fraud" scores 99% and catches nothing.
0 tools
Statistics & Probability
A p-value of 0.03 is a 3% chance of seeing this result if nothing is going on.
0 tools
Prompt library
All 159 promptsReady-to-use prompts for ChatGPT and Claude. Fill in the blanks, copy, and paste into your chat.
Recently added
Transformer Parameter Calculator
GPT-2 Small has exactly 124,439,808 parameters; Llama 3.1 8B has 8,030,261,248. Enter a model’s config.json numbers to get the exact count, layer by layer, next to the 12 · L · d² shortcut and the memory the weights take.
AI & LLM EngineeringFine-Tuning VRAM Calculator
Llama 3.1 8B fine-tunes in 7.3 GiB with QLoRA, 19.6 GiB with LoRA and 101 GiB in full. Pick the model, method, LoRA rank, optimizer and batch, and see the four memory terms — plus how many cards of a given size the job needs.
AI & LLM EngineeringKV Cache Calculator
Llama 3.1 8B caches 128 KiB per token — exactly 1 GiB at 8K context, 16 GiB at 128K. Enter the model’s config.json numbers and see the cache per token, per sequence and in total, plus how many sequences fit your memory.
AI & LLM EngineeringLLM VRAM Calculator
Llama 3.1 8B at BF16 needs about 19 GiB with an 8K context — not the 16 GB its download suggests. See weights, KV cache and overhead separately, and which cards fit.
All tools
Fine-Tuning VRAM Calculator
Llama 3.1 8B fine-tunes in 7.3 GiB with QLoRA, 19.6 GiB with LoRA and 101 GiB in full. Pick the model, method, LoRA rank, optimizer and batch, and see the four memory terms — plus how many cards of a given size the job needs.
AI & LLM EngineeringKV Cache Calculator
Llama 3.1 8B caches 128 KiB per token — exactly 1 GiB at 8K context, 16 GiB at 128K. Enter the model’s config.json numbers and see the cache per token, per sequence and in total, plus how many sequences fit your memory.
AI & LLM EngineeringLLM VRAM Calculator
Llama 3.1 8B at BF16 needs about 19 GiB with an 8K context — not the 16 GB its download suggests. See weights, KV cache and overhead separately, and which cards fit.
AI & LLM EngineeringTransformer Parameter Calculator
GPT-2 Small has exactly 124,439,808 parameters; Llama 3.1 8B has 8,030,261,248. Enter a model’s config.json numbers to get the exact count, layer by layer, next to the 12 · L · d² shortcut and the memory the weights take.
No tool on this page matches that. Search every tool, or browse all tools.