Skip to main content
Watch: I Built an AI App Without Leaving Databricks

COST OPTIMIZATION

13 items

13 posts

Blog
The Harness Is the New Cost Lever: Databricks' Benchmark and Pi's Context Discipline

Databricks measured the same model through different coding harnesses and found cost per task varied more than 2x at identical quality. Pi's minimalism explains why: roughly 1k tokens of system prompt and 3x less context per turn.

Blog
AI Model Routing Strategies for Cost-Effective Coding in 2026

A practical guide to routing between Claude Opus 5, Sonnet 5, Haiku 4.5, GPT-5.6 Sol/Terra/Luna, and Kimi K3 based on task complexity, cost budget, and latency requirements - with decision frameworks and code examples.

Blog
Why Price Per 1M Tokens Is a Misleading Metric for LLM Costs

Comparing LLMs by token pricing alone can lead you to choose worse, more expensive models. Cost per task tells the real story.

Blog
Image Token Compression Is a Real Agent Cost Lever

A Show HN project claims large agent-cost cuts by rendering bulky context as images. The useful lesson is not the trick itself. It is that compression needs evals, byte-safety rules, and per-request accounting.

Blog
Factory Router, Explained: How Automatic Model Routing Cuts Coding-Agent Spend 20-25%

Factory.ai shipped a router that auto-picks the model for each Droid session and fails over across providers. The vendor claims 20-25% lower token spend and 99.9%+ request reliability. Here is what the product actually does, which claims are vendor claims, and whether a router beats DIY routing for your team.

Blog
Prompt Caching Economics on Fable 5: When the 5-Minute TTL Pays

Fable 5 prompt caching economics: cache-write vs cache-read pricing, 5-minute vs 1-hour TTL break-even math, and worked agent-loop examples.

Blog
How to Model Fable 5 Costs Before They Blow Up Your Budget

Claude Fable 5's $10/$50 per million token pricing can catch teams off guard - here is how to build a real cost model before you commit.

Blog
Factory AI and the Model Routing Era: How Coding Agents Are Learning to Spend Your Tokens Wisely

Factory AI's Droid agent surfaces a new competitive front in coding tools: cost-per-completed-task. Here's what their architecture reveals about where the whole industry is heading.

Blog
MiniMax M2.5 for Developers: The Anthropic-Compatible Budget Frontier Model

MiniMax M2.5 hits 80.2% on SWE-bench Verified and plugs into the Anthropic SDK with two environment variables. Here is what you need to know before switching.

Blog
DeepSeek V4 Changes the Coding Agent Cost Equation

DeepSeek V4 is trending because it is close enough to frontier coding models at a much lower token price. The real question for developers is where cheap reasoning belongs in an agent stack.

Blog
Claude Batch API: Cutting Async Workload Costs In Half

How to ship Claude's Batch API in production. 50% cost savings, TypeScript SDK code, JSONL request format, and the async architecture gotchas that bite at 100k requests.

Blog
Extended Thinking in Claude: When Deep Reasoning Pays For Itself

A production guide to Claude's extended thinking mode. Real cost math, TypeScript SDK code, and the tasks where reasoning tokens are worth 3x the spend.

Blog
Prompt Caching in the Claude API: A Production Guide

Cut Claude API spend by up to 90% with prompt caching. Real numbers, TypeScript SDK code, and the gotchas Anthropic's docs gloss over.

AI Development Stack

Get Smarter About AI Dev

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.

One email per weekReal code, not theoryFree forever