AI stack tools

AI stack tools for cost, tokens, and coding workflows

Find practical tools and decision pages for counting prompt tokens, estimating API cost, comparing LLM providers, and choosing AI coding tools.

Prompt measurement

Measure tokens by model family

Tokenizer pages are the measurement layer: use them to understand input size before turning a representative request into a cost estimate.

OpenAI Tokenizer

Count plain-text tokens with current or legacy OpenAI encodings, then inspect each token boundary and ID in your browser.

Mistral Tokenizer

Paste text, a prompt, or code to count tokens with the pinned Mistral Medium 3.5 tokenizer, then inspect the exact token pieces and IDs in your browser.

StackLens tools

Start with the calculators

Use these first when you need token counts or a quick cost model before choosing a provider.

Transparent comparisons

AI model rankings

Inspect measured tokenizer efficiency, a fixed API cost workload, and separate quality evidence.

Explore model rankings
Model research

AI model directory

Browse source-tracked model pricing, profiles, context windows, and cost examples.

Browse AI models
Prompt planning

Token counter

Count tokens, inspect token boundaries, and view token IDs in your browser.

Open token counter
Reproducible token data

Tokenizer comparison

Compare fixed English, Chinese, JSON, and code samples across seven tokenizers.

Compare tokenizers
Structured text

JSON token counter

Format or minify JSON, then compare its token count across seven tokenizers.

Count JSON tokens
Code context planning

Code token counter

Paste code and compare token counts per line across seven local tokenizers.

Count code tokens
Document planning

File token counter

Count tokens across text, JSON, Markdown, CSV, and code files locally.

Count file tokens
Web content planning

URL token counter

Extract readable text from a public webpage and count its OpenAI tokens.

Count webpage tokens
Vision cost planning

Image token calculator

Calculate image input tokens and estimated cost for OpenAI, Claude, and Gemini.

Calculate image tokens
Gemini token tool

Gemini tokenizer

Count Gemini-compatible text tokens and inspect token boundaries and IDs locally.

Open Gemini tokenizer
Cost planning

LLM API cost calculator

Estimate monthly LLM API spend from tokens, requests, and model prices.

Open cost calculator
Prompt capacity

Context window calculator

Check whether a prompt and planned output fit a model's tracked context window.

Check context fit
Repeated context

Prompt caching cost

Model standard versus cached-input pricing for repeated prompt context.

Model cache savings
AI coding tools

Compare coding assistants by decision path

Jump to pricing, alternatives, and comparison pages for tools used in developer workflows.

LLM API providers

Check provider pricing and tradeoffs

Use these pages to compare source-tracked pricing, provider alternatives, and API tradeoffs.

Planned StackLens guides

Cost control and routing

These areas are planned as practical guides. They are listed here without links until the pages exist.

Model routing

Planned guide

Prompt caching

Planned guide

LLM observability

Planned guide

Budget alerts

Planned guide

Usage logs

Planned guide