AI costs prompts and tokens
Practical articles on cutting LLM API costs, writing tighter prompts and using a token window on purpose.
How to track spend on Cursor, Grok Bot and OpenRouter (without overpaying)
Where the spend data comes from, the four numbers worth watching, how to set a check, and how to get it into one overview in crowns.
What AI agents actually cost: a month of data, 7.3 billion tokens and $859
October 2026 from Grok Bot and Cursor: 85,179 calls, 95% of tokens from cache, and spend that arrives in jumps.
How to optimize tokens on the Grok API (xAI): 7 practical tips
Shorter outputs, history management, prompt caching, model choice and measurement. How to lower a Grok bill.
Cloud AI tokens vs. local models at home: when a GPU next to your NAS pays off
July 2026 cloud token prices and three tiers of home hardware next to a Synology NAS. The original is on martinpohl.cz.
Multi-provider monitoring: seven AI providers in one dashboard
OpenRouter, Anthropic, OpenAI, Gemini, Mistral, Groq and xAI (Grok) in one view. Why it helps, and how to start.
GPT-5 vs Claude vs Gemini: a 2026 comparison (price, speed, quality)
A direct comparison of the flagships: price per 1M tokens, context window, strengths and weaknesses. When to pick which.
Monitoring AI costs: what to measure, which alerts to set, and why
Five KPIs, alerts that mean something, red flags on the dashboard, and a 10-minute setup. FinOps for LLM APIs.
10 ways to cut AI API costs in 2026
A practical playbook for cutting LLM costs by 40–80% without losing quality. Caching, routing, batch APIs and other tactics.
Prompt optimization: how to shorten tokens and improve the result
Concrete techniques, from structured prompts through few-shot pruning to prompt compression. With before/after examples.
Token window: how to work with a long context without wasting it
Sliding windows, RAG, summary chains and context pruning. When a 1M context earns its keep, and when it is expensive overkill.
What AI actually costs: the story behind tokeny.pohl.uk
An OpenRouter invoice, a spreadsheet export, and a dashboard that turns it into charts. The original is on martinpohl.cz.