Tokens, context windows, RAG, API cost, VRAM
43 tools in 5 groups. Every tool lives at /tools/<name-in-code>; the code is in the second column. Read the category guide first for how to use them well.
Jump to: Tokens & contextRAG & embeddingsCost & pricingROI & savingsHardware & speed
Tokens & context#
8 tools.
| Tool | Code | What it does | Runs |
|---|---|---|---|
| Words to Tokens Calculator | word-to-token-calculator | Estimate tokens from a word count. | Browser |
| Tokens to Words Calculator | token-to-word-calculator | How many words fit in a token budget. | Browser |
| Characters to Tokens Calculator | character-to-token-calculator | Estimate tokens from a character count. | Browser |
| File Size to Tokens Calculator | file-token-calculator | Roughly how many tokens a text file holds, from its size. | Browser |
| Context Window Calculator | context-window-calculator | What's left for your content after the system prompt, history and reply. | Browser |
| Context Usage Calculator | context-usage-calculator | How full a context window is, and how many more turns fit. | Browser |
| Max Output Length Calculator | max-output-calculator | Words and pages a max-token setting allows. | Browser |
| Token Counter | token-counter | Estimate the tokens in any text, and how much of a context window it uses. | Browser |
RAG & embeddings#
6 tools.
| Tool | Code | What it does | Runs |
|---|---|---|---|
| Chunk Count Calculator | chunk-count-calculator | How many chunks a document splits into, with overlap. | Browser |
| Chunk Size Calculator | chunk-size-calculator | The largest chunk size that lets top-k results fit in the prompt. | Browser |
| Knowledge Base Size Calculator | knowledge-base-size-calculator | Tokens, chunks and vector storage for a document collection. | Browser |
| Embedding Cost Calculator | embedding-cost-calculator | One-off cost to embed a corpus, and the cost to keep it fresh. | Browser |
| Vector Database Size Calculator | vector-storage-calculator | Memory needed for a vector index. | Browser |
| RAG ROI Calculator | rag-roi-calculator | Value of answering questions from your documents against the running cost. | Browser |
Cost & pricing#
14 tools.
| Tool | Code | What it does | Runs |
|---|---|---|---|
| LLM API Cost Calculator | api-pricing-calculator | Cost per request, per day and per month from your token counts and prices. | Browser |
| Prompt Caching Savings Calculator | prompt-caching-savings-calculator | What caching a repeated prompt prefix saves. | Browser |
| Batch API Savings Calculator | batch-api-savings-calculator | The saving from sending non-urgent jobs through a batch endpoint. | Browser |
| Model Cost Comparison | model-cost-comparison-calculator | The same workload priced on two models. | Browser |
| Fine-Tuning Cost Calculator | fine-tuning-cost-calculator | Training cost from dataset size and epochs. | Browser |
| AI Infrastructure Cost Calculator | ai-infrastructure-cost-calculator | Monthly cost of self-hosting on GPUs. | Browser |
| Self-Hosting vs API Break-Even | self-host-vs-api-calculator | The monthly token volume where your own GPUs beat an API. | Browser |
| AI Usage-Based Pricing Calculator | usage-based-pricing-calculator | Price per unit that keeps your target margin over model costs. | Browser |
| AI SaaS Pricing Calculator | ai-saas-pricing-calculator | A per-seat price that covers model usage and keeps your margin. | Browser |
| AI Gross Margin Calculator | ai-margin-calculator | Gross margin once inference is counted as cost of revenue. | Browser |
| AI Product MRR Calculator | ai-mrr-calculator | MRR from seats plus metered usage. | Browser |
| AI Product LTV Calculator | ai-ltv-calculator | Customer lifetime value after inference costs. | Browser |
| AI Product CAC Calculator | ai-cac-calculator | Acquisition cost including free-tier inference. | Browser |
| AI Unit Economics Calculator | ai-unit-economics-calculator | Profit per request once every cost is counted. | Browser |
ROI & savings#
11 tools.
| Tool | Code | What it does | Runs |
|---|---|---|---|
| AI ROI Calculator | ai-roi-calculator | Return on an AI project from time saved against what it costs. | Browser |
| AI Automation Savings Calculator | ai-automation-savings-calculator | Labour saved by automating a repetitive task. | Browser |
| AI Customer Support Savings Calculator | ai-customer-support-savings-calculator | Savings from AI resolving a share of support tickets. | Browser |
| AI Chatbot ROI Calculator | ai-chatbot-roi-calculator | Return on a chatbot that deflects conversations from your team. | Browser |
| AI Agent ROI Calculator | ai-agent-roi-calculator | Return on an agent that completes whole tasks end to end. | Browser |
| AI Productivity Calculator | ai-productivity-calculator | Value of time an assistant saves a team. | Browser |
| AI Cost Reduction Calculator | ai-cost-reduction-calculator | Operating cost removed by handing work to AI. | Browser |
| AI Workforce Savings Calculator | ai-workforce-savings-calculator | Hours and cost freed across a workforce. | Browser |
| AI Sales Agent ROI Calculator | ai-sales-agent-roi-calculator | Extra revenue from faster lead follow-up against the tool's cost. | Browser |
| AI Marketing ROI Calculator | ai-marketing-roi-calculator | Content output and cost per piece with and without AI. | Browser |
| AI Revenue Impact Calculator | ai-revenue-impact-calculator | Revenue change from a conversion or retention lift. | Browser |
Hardware & speed#
4 tools.
| Tool | Code | What it does | Runs |
|---|---|---|---|
| LLM VRAM Calculator | vram-calculator | GPU memory needed to run a model at a given quantisation. | Browser |
| Tokens per Second Calculator | tokens-per-second-calculator | Response time from generation speed. | Browser |
| GPU Rental Cost Calculator | gpu-rental-cost-calculator | Cost of a training or inference job on rented GPUs. | Browser |
| Training Time Estimator | training-time-calculator | Wall-clock time for a training run from throughput. | Browser |