Urgent.News

What's breaking now, across hundreds of outlets.

AI

I built TokenLedger: a 100% browser-private LLM FinOps studio (14 tools, 24 models, MIT)

Every time I tried to estimate production LLM costs, existing calculators had two problems: They only multiplied single-prompt token rates—ignoring the real architectural traps that blow up AI bills (multi-turn agent O(N²) context snowballing, MCP tool-schema tax, prompt caching hit rates, KV-cache VRAM overhead). They asked me to paste prompts or tool schemas into a web app backed by a server.…

TokenLedger is a browser-private, open-source AI and LLM FinOps studio. The platform includes 24 interactive calculators for 14 flagship models across major providers like OpenAI, Anthropic, Google, DeepSeek, xAI, Meta, Mistral, Qwen, and Perplexity. TokenLedger's calculators cover aspects such as prompt caching, multi-turn agent burn simulation, MCP schema tax, GPU VRAM and KV-cache quantization, self-hosted GPU vs. cloud API break-even analysis, fine-tuning vs. RAG vs. caching TCO, LLM rate-limit capacity planning, AI SaaS gross margin simulation, RAG and vector DB TCO planning, voice and vision multimodal studio, prompt A/B cost comparison, and GitHub Action CI budget guard.

Everything is open-source under the MIT license and runs entirely client-side with no login requirements. The platform provides a CORS-enabled pricing JSON feed at https://tokenledger-8x7.pages.dev/api/pricing.json.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in AI

945 Articles In, Anthropic's Rust API Uses 70% Less CPU — but Matched Only a Quarter of Live Traffic at 98% Tests

945 published articles is where IT Post ended today, November 26 — 15 new articles, five in each batch, with every verification gate passing — and the midday batch carried the most useful engineering…

  • Anthropic migrated Messages API from Python to Rust with no downtime
  • Rust API uses 70% less CPU per request compared to Python
  • Rust API matched only 25% of production traffic in 98% tests

How to Calculate LLM API & Prompt Caching ROI Before Shipping to Production

Most engineering teams estimate LLM API costs with a back-of-the-napkin formula: multiply average prompt length by input price, add a little for the reply, and ship.

  • Output tokens cost 3-8x more than input tokens
  • Prompt caching can reduce input costs by up to 90%
  • Hidden costs include Vision Tiles, PDFs, and unified gateways

More from Thursday 26 November →