Reading up on cost-optimization
7 deep · digging since feb 10
- The Pulse: a new trend, smart model routing - The Pragmatic Engineer
Several vendors now offer intelligent model routers that automatically select the cheapest sufficient LLM per task, promising 20-30% cost savings, a trend expected to become table stakes.
- Most AI Work Can Wait
Routing layer design, not model choice, drives cost efficiency by sending 70-80% of AI traffic to cheap local or async models.
- never waste a token
Putting a durable buffer between AI agents and LLM providers prevents token waste and re-billing when a process crashes mid-stream, with resumable streaming and crash recovery using the same mechanism.
- I run multiple $10K MRR companies on a $20/month tech stack
Running multiple $10K MRR businesses on a $20/month stack with SQLite, a VPS, and minimal services is possible, but the approach is controversial among developers.
Takes
Configured Grafana for all my projects Managed APMs are fine for typical SaaS where most visitors are paying you. But they get expensive quick if you have high traffic sites like job boards, etc. Now self-hosting, own the data, and can give my AI agents direct access for troubleshooting 👌
@marckohlbrugge
P.S. this Mapbox cost is another cost detected by my new Situation Monitor dashboard with AI insights, it scouts all my projects insights on what to improve A few weeks ago it detected the Cloudflare bill was too high and we found they made a mistake which they quickly fixed and refunded Really nice!
@levelsio
https://t.co/ex8cdBWSQr
@Shpigford