AI Engineering Tools — Tokens, Cost, MCP & Agents
Tooling for the practical questions of building on language models: how many tokens, how much money, which model — and the config, schemas and discovery files that agents and MCP servers need.
32 tools · Reviewed by Mimamsa, Founder & Engineer, CodeLint.Dev
Agents, MCP & tool use
Agentic commerce
Calculators & analysis
Prompt engineering
Reference guides
Background
Working with language models involves a set of calculations that are tedious, easy to get wrong, and expensive when you do. How many tokens is this prompt? Will it fit alongside the retrieved documents and the expected response? What does that cost at a million calls a month, and how does that change if you switch providers?
The counters and calculators here answer those directly, using the real tokenizers rather than the word-count-times-1.3 heuristic that quietly under-counts code and badly under-counts non-Latin scripts. Tokenization is not uniform: the same passage in English, Japanese and Hindi can differ by a factor of three or more in token count, which turns into a direct and often unexpected cost difference.
The reference guides cover the concepts underneath — how tokenization actually works, what temperature and top-p do to a distribution and why changing both at once makes results hard to reason about, how embeddings behave, and where agent frameworks help versus add moving parts.
The agent tools deal with the plumbing that has grown up around tool use: the Model Context Protocol, which every client configures slightly differently; tool definitions, which each provider wants in its own JSON shape; and the discovery files — A2A agent cards, llms.txt, robots.txt rules for AI crawlers — that let other software find what you have built. CodeLint runs all of these itself: its own MCP server and agent card are documented on the agents page and make a working reference.
A standing caveat: model names, prices and context limits change frequently, sometimes monthly. The comparison and pricing pages carry the date they were last checked. Confirm anything cost-critical against the provider’s own pricing page before you commit to a budget.
Rough token arithmetic
Useful for a first estimate. Verify with the token counter before sizing a budget — the variance across content types is large:
| Content | Approximate tokens | Note |
|---|---|---|
| English prose | ~0.75 tokens per word | The figure most rules of thumb are based on |
| Source code | ~1.5–2× prose | Punctuation, indentation and identifiers all split heavily |
| JSON payloads | ~2× the equivalent prose | Braces, quotes and repeated key names dominate |
| CJK text | ~1–1.5 tokens per character | Far denser than the per-word intuition suggests |
| Indic scripts | Up to 3–4× English | Frequently split to nearly one token per byte |
In-depth guides
Long-form articles covering the standards and formulas behind these tools.
- Prompt Injection: Why It Is Unsolved — and How to Build Around It 12 min read September 2, 2026
- Tokens Are the New Cloud Bill: The Real Economics of LLM Inference 10 min read August 29, 2026
- Small Is the New Frontier: SLMs and the On-Device AI Shift 10 min read August 24, 2026
- Open Weights vs. Closed: The Real Frontier Gap in 2026 10 min read August 20, 2026
- AI-DLC: What Happens to the Software Lifecycle When Agents Join the Team 11 min read August 18, 2026
- AI Writes a Third of the Code Now. The Data on What That's Actually Doing to Software 11 min read August 17, 2026
- Thinking Tokens: How Test-Time Compute Rewrote the AI Scaling Playbook 10 min read August 15, 2026
- AI Agents in 2026: How They Actually Work — and Why Most Projects Fail 11 min read August 3, 2026
- LLM Context Windows in 2026: From 128K to 10 Million Tokens — What Actually Matters 10 min read August 1, 2026
- Temperature, Top-p, and Friends: How LLM Sampling Actually Works 10 min read July 30, 2026
- Prompt Engineering in 2026: The Patterns That Still Matter — and the Tricks That Died 10 min read July 29, 2026
- LLM API Cost Calculator: Pricing, Optimization, and Real-World Budget Planning 11 min read July 12, 2026
- LLM Token Counter: What Tokens Are, How Tokenization Works, and Why It Matters 10 min read July 10, 2026
Frequently asked questions
- Why does the token count differ from what my provider bills?
- Two reasons. First, providers count the full request, which includes the chat template — role markers, message delimiters and any injected system content — that a bare text counter does not see; expect a small fixed overhead per message. Second, different model families use different tokenizers, so the same text genuinely produces different counts on different models. Use the counter for planning and the provider’s usage dashboard for reconciliation.
- Is my prompt sent anywhere when I use these tools?
- No. Tokenization runs locally in your browser using the tokenizer implementation itself, not an API call. The counter, cost calculator, context planner and prompt tools never transmit your text, which is what makes them safe for prompts containing proprietary content or customer data.
- How current is the pricing and model data?
- Each comparison and pricing page shows when it was last checked. Provider pricing changes often, and new model versions appear on no fixed schedule, so treat these figures as a planning baseline rather than a quote. For anything contractual, confirm against the provider’s own pricing page.
- Does a bigger context window mean I should use it?
- Not automatically. Cost scales with tokens actually sent, so filling a large window on every call gets expensive quickly, and retrieval quality often degrades as irrelevant content crowds the prompt — attention is finite regardless of the stated limit. A focused prompt with well-chosen retrieved passages generally beats one that pads the window because the space is available.