
LLM Routing Strategies to Cut Frontier API Costs
Six LLM routing strategies compared on cost, latency and risk, plus the shadow, canary and ramp playbook for moving traffic to a cheaper model safely.
Read the articleGuides, research notes and what we learn building models.

Six LLM routing strategies compared on cost, latency and risk, plus the shadow, canary and ramp playbook for moving traffic to a cheaper model safely.
Read the article
AI token prices keep falling, yet AI bills keep rising. Why costs climb, how to tell if the spend pays off, and what leaders can do, with October 2026 data.
Read the article
AMD agreed to buy Taalas on 6 August 2026, eight months after Nvidia licensed Groq for a reported $20B. Both deals say inference is splitting from training.
Read the article
Liquid AI ships LFM2.5 at three sizes. Benchmarks, export sizes, and what we learned fine-tuning two of them into shipped products, including the failure no metric caught.
Read the article
The cheapest way to train a custom AI model you own. What $10/mo unlocks for hobbyists and indie devs, which models you can train, and where it runs out.
Read the article
How I fine-tuned a 1.2B on-device AI model to give Linus real dialogue inside Stardew Valley, running on your CPU with no API key. Part 1 of the Chatty Valley build log.
Read the article
Google's FunctionGemma (270M) and Gemma 4 E2B (2B) are the smallest credible function-calling models of 2026, built as bases you fine-tune and ship.
Read the article
Meta's Llama Stack is the canonical reference architecture for Llama-based agents. Combine it with a fine-tuned Llama 4 derivative and the Swift/Kotlin client SDKs and you get a complete agent stack running entirely on the user's phone.
Read the article
TypeScript-first mobile builders don't have to use Python agent frameworks. Mastra and the Vercel AI SDK plus a fine-tuned 4B model running on-device through llama.cpp produce a complete agent stack with zero per-token costs.
Read the article
Phi-4-Mini, Gemma 4 E4B and Qwen3-4B on BFCL v4 tool calling, phone latency and post fine-tune accuracy, plus a four-question tree for picking your base.
Read the article
The OpenAI Agents SDK is intentionally model-agnostic. Swap the OpenAI client for an Ertas-trained model running on Ollama and you keep the developer experience while killing per-token costs. A drop-in tutorial.
Read the article
Pydantic AI brings type safety and FastAPI ergonomics to LLM agents. Combine it with a fine-tuned 4B model running on-device via llama.cpp and you get production-grade agents in mobile apps with zero API costs and validated outputs by construction.
Read the article
Pydantic AI gives you type-safe linear agents, LangGraph durable stateful graphs. A 2026 decision matrix, plus why fine-tuning makes either one reliable.
Read the article
Nous Research ships two things called Hermes: an open-weight model family from 2025 and a self-improving agent framework from 2026. Here is which to use when.
Read the article
A comprehensive snapshot of the open-weight AI model ecosystem as of April 2026 — Chinese-lab dominance, MoE architectural defaults, the unified thinking-mode pattern, and what it all means for production deployments.
Read the article
By April 2026, Chinese labs hold the top five open-weight models on aggregate intelligence benchmarks. The pattern isn't an accident — it reflects strategic, structural, and economic differences between US and Chinese AI development that took years to play out.
Read the article
Models advertised with 1M or 10M token context windows don't actually retain useful retrieval accuracy across that full range. Here's what 'effective context' really means, why it matters for production deployments, and how to design around the gap.
Read the article
Why MoE is the default for flagship open-weight models in 2026, how the design evolved from Mixtral to DeepSeek V4, and what it means for deployment.
Read the article
How to run a fair A/B test between your cloud API and on-device model in a live mobile app. Metrics, cohort design, statistical significance, and the metrics that actually matter.
Read the article
A comprehensive guide covering every approach to adding AI features to iOS and Android apps. Cloud APIs, on-device models, and hybrid architectures compared with real cost and performance data.
Read the article
Three paths to AI in your Android app. Google ML Kit for common tasks, cloud APIs for full LLM capability, and on-device models via llama.cpp for cost and privacy. A practical comparison for Kotlin developers.
Read the article
The cost math most AI tutorials skip. Your API bill scales linearly with every user, and the real multipliers are worse than the pricing page suggests. Here's what happens at 1K, 10K, and 100K MAU.
Read the article
How to calculate the true cost of AI per mobile app user. Provider comparison, hidden multipliers, and the unit economics that determine whether your AI feature is sustainable.
Read the article
Rate limits from OpenAI, Anthropic, and Google are designed for controlled usage, not mobile apps with thousands of concurrent users. Here is where the limits hit and what happens when they do.
Read the article