UK United Kingdom AI & Machine Learning
HomeAI & Machine Learning Calculators

AI & Machine Learning Calculators — United Kingdom

Model sizing, token economics, memory and throughput. The arithmetic is the same everywhere; you supply the prices, because those change monthly and ours would be wrong.

Cost & token economics
LLM Token Cost Calculator
What a model call costs — input and output tokens priced separately, per request and across a month of traffic.
Open calculator →
Token Count Estimator
How many tokens a piece of text is — from words, characters or pages — and whether it fits a context window.
Open calculator →
Model Training Cost Calculator
What a training run costs — from parameters and tokens to GPU hours, wall-clock time and money.
Open calculator →
Fine-Tuning Cost Calculator
What fine-tuning costs — the run itself plus serving — and the request volume at which it beats putting the same examples in every prompt.
Open calculator →
Prompt Caching Savings Calculator
How much prompt caching saves when many requests share a long prefix — system prompt, documents, few-shot examples — given the discount on cached reads, the premium on cache writes, and how often the cache is reused before it expires.
Open calculator →
Image Token Cost Calculator
How many tokens an image costs a vision-language model under the common tiling rule — scale to fit, cut into tiles, a fixed base plus a fixed charge per tile — and what that means for a monthly volume.
Open calculator →
AI Training Energy Calculator
The electricity a GPU fleet draws over a training run or a month of serving — with the data-centre overhead, the power bill and the carbon it implies at your grid's intensity — and the household-years it equals.
Open calculator →
Cost Per Correct Answer Calculator
Compare two models by the cost of a correct result rather than the cost of a call — price per task, accuracy on your evaluation, and the cost of retries or human review for the ones they get wrong.
Open calculator →
AI Automation ROI Calculator
The return on automating a repetitive task with a language model — labour hours saved against API cost, review time and the build — with payback and the volume at which it starts to pay.
Open calculator →
Model & memory sizing
GPU Memory Requirement Calculator
How much GPU memory a model needs — weights, KV cache and overhead — and whether it fits the card you have.
Open calculator →
Compute-Optimal Model Size Calculator
For a given training compute budget, the model size and dataset size that make best use of it under the Chinchilla scaling rule — about twenty tokens per parameter — and what a chosen model size would need instead.
Open calculator →
Convolution Output Size Calculator
The output size of a convolutional layer from its kernel, stride, padding and dilation — repeated through a stack — with the receptive field each layer sees and the parameters it holds.
Open calculator →
Quantised Model Size Calculator
How big a model is at each weight precision — 32, 16, 8 and 4 bits — whether it fits the memory of an edge device with room for activations, and the rough inference rate the device's compute allows.
Open calculator →
Serving & throughput
Inference Throughput Calculator
How fast a model serves — tokens per second, time to first token, total latency, and what a served request costs on your own hardware.
Open calculator →
Canary Rollout Duration Calculator
How long a new model version must run on a slice of traffic before you have seen enough requests to judge it — for a target request count, or to detect a given rise in the error rate with confidence.
Open calculator →
LLM Response Time Calculator
How long a language-model response takes from the user's point of view — time to first token plus tokens at the generation rate — and how streaming, a shorter answer or a faster model change what the user waits for.
Open calculator →
Data & storage
Embedding Storage Calculator
How much storage a vector index needs — from document count, chunk size and embedding dimensions — plus the cost of generating the embeddings.
Open calculator →
Confusion Matrix Metrics Calculator
Every standard classification metric from the four cells of a confusion matrix — accuracy, precision, recall, specificity, F1, balanced accuracy and Matthews correlation — with a reading of which one to trust for your class balance.
Open calculator →
Disparate Impact Calculator
Whether a model or process selects one group at a lower rate than another — the disparate impact ratio, the four-fifths rule, the rate difference, and how many more selections would bring the groups into line.
Open calculator →
Population Stability Index Calculator
The population stability index between a reference distribution and a current one — the standard drift score for model inputs and scores — with the per-bin contributions that show where the shift is.
Open calculator →
Preference Win Rate Calculator
From a set of pairwise preference judgements between two models or responses — wins, losses and ties — the win rate, its confidence interval, the Elo-style rating gap it implies, and how many more comparisons you need to tighten it.
Open calculator →
Word Error Rate Calculator
The word error rate of a speech recogniser or transcript from its substitutions, deletions and insertions against the reference — with word accuracy, the error mix, and what the rate means per hour of speech.
Open calculator →
Edit Distance Calculator
The Levenshtein edit distance between two strings — the fewest single-character insertions, deletions and substitutions to turn one into the other — with the normalised similarity, the operation counts and the alignment.
Open calculator →
Expected Calibration Error Calculator
Expected calibration error from binned confidence and accuracy — whether a model that says "80% sure" is right 80% of the time — with the maximum bin gap and which bins are over- or under-confident.
Open calculator →

About these calculators

These compute from figures you enter. No model names, prices or benchmark numbers are baked into any page — per-token prices and hardware rates move constantly, so they are inputs rather than assumptions, and the formula is always shown so you can check the result against your own provider's billing.