Independent reporting on artificial intelligence.


The Frontier Wire

Topic

Inference costs

22 articles


News

Bifrost reworks /v1/decisions into one OpenAI-shaped API for decision models

Decision models from TypeSafe, OpenAI, Perplexity, Cloudflare, Microsoft, Databricks and Ollama return typed answers with probabilities, in two request dialects. Bifrost v2.3.0 gives them one endpoint, stops silently answering decisions with chat models, and prices decisions on their own rates.

15 min read

Tools

LLM cost optimization: a measured playbook for cutting API spend

Every LLM bill is requests times tokens times price. A playbook for shrinking each factor without a quality regression: attribution, right-sized models, complexity routing, prompt trimming, prompt and response caching, Batch APIs, loop caps and budgets, plus the open-source llm-cost-reduction agent skill.

15 min read

Research

Claude usage: plan limits, how to check them and API tracking

Claude usage is measured three different ways depending on how a request signs in. Subscriptions run on five-hour and weekly windows, API keys run on rate limits and spend caps, and usage-based Enterprise seats are billed per token. Where each meter lives and what drains it, per Anthropic's pages on 21 October 2026.

21 min read

Comparisons

OpenRouter models compared: 19 models on price, context and routing

OpenRouter's catalog holds 468 entries under 57 publisher prefixes, but the price next to each name is the price of one endpoint, not of the model. Nineteen leading models compared on published criteria, with picks by job and the routing settings that decide which host, precision and price tier serve a request.

21 min read

Research

Prompt caching in practice: breakpoints, TTLs and cost math

Every major model API now discounts a repeated prompt prefix, but the rules differ on markers, minimum lengths, lifetimes and write surcharges. A provider-by-provider implementation guide with current prices, the usage fields that prove a hit, worked cost examples and the gateway settings that keep a cache warm.

24 min read

Research

Rate limiting: a practical guide to algorithms, 429s and LLM limits

Six algorithms, four places to enforce them, one status code and a draft standard for telling clients how much quota is left. A working reference for rate limiting HTTP APIs, with the request and token limits that OpenAI, Anthropic and Google apply to model traffic.

21 min read

Tools

Claude Code pricing: plans, API rates and what drives the bill

Claude Code is included in every paid Claude plan and can also run on pay-as-you-go API keys, cloud accounts or a gateway. Which credential a developer uses decides which bill a request lands on, and context, caching and model choice decide how large that bill gets.

20 min read

Surveys

LLM API pricing compared: OpenAI, Claude, Gemini, DeepSeek and Grok

Frontier models now cluster around $2 per million input tokens and $10 per million output tokens, but batch discounts, cache multipliers, long-context tiers and off-peak clocks move the real bill by an order of magnitude. Every price below comes from the providers' own pricing pages as of October 15, 2026.

21 min read

Comparisons

OpenRouter alternatives in 2026: seven gateways compared

OpenRouter made one API key for hundreds of models the default way to prototype. Credit fees, a third party in the data path and governance that lives in someone else's account send production teams looking for alternatives. Seven options, ranked against published criteria.

18 min read

Research

Prompt caching vs semantic caching: what each one saves

Provider prompt caches cut the price of a repeated prefix by 90 percent or more but leave output tokens untouched. Semantic caches remove whole calls but can return the wrong answer. The mechanics, prices and failure modes of both, with a worked cost example.

21 min read

Research

Self-hosted LLMs: how to run a local LLM, from laptop to GPU cluster

Running a model on your own hardware is now a configuration problem more than a research one. The hard parts are sizing GPU memory, choosing between Ollama, llama.cpp, LM Studio, vLLM and SGLang, reading the licence, and putting a production API in front of a server that was built for one user.

19 min read

Editorials

Tokenmaxxing: why token leaderboards measured the wrong thing

In the spring of 2026, engineers at large technology companies competed on leaderboards ranked by how many AI tokens they consumed. By summer the leaderboards were gone and the budgets were blown. The episode is a lesson in what a token is: a unit of cost, not a unit of work.

18 min read

Surveys

Top 10 AI models in October 2026, ranked by what they do best

Claude Opus 5.5 leads the independent indexes this month, but no single model is best at everything. Ten models, from $50-per-million-token flagships to MIT-licensed open weights, measured against published criteria, with the best pick for reasoning, coding, cost, long context, multimodal and self-hosting.

22 min read

News

How to use Jev: where a System One model fits next to an LLM

TypeSafe's Jev returns typed answers with probabilities instead of text. Its documentation, the first developer reports and early independent papers show where it fits in a pipeline, what the published price works out to, and why its probabilities need checking on your own data.

21 min read

Research

LLM cost management: budgets, rate limits and virtual keys at the gateway

Output tokens cost five to six times more than input tokens, reasoning tokens bill as output, and shared API keys erase the link between a charge and its owner. This is how teams attribute and cap LLM spend, and what gateway-level governance in the open-source Bifrost gateway does about it.

17 min read

Research

AI gateway vs API gateway: what changes when the traffic is tokens

API gateways were built for short request-response calls priced per request. Model traffic is priced per token, streamed for minutes and shaped differently by every provider. A mechanism-by-mechanism comparison, grounded in AWS, Kong, NGINX, OpenAI and Anthropic documentation, with Bifrost as the worked example.

16 min read

Editorials

System One models vs LLMs: most AI calls should decide, not talk

Routing, gating, judging and choosing an agent's next step are decisions, not writing. Splitting decision from generation is the right architecture, and TypeSafe's Jev is the first product built for it. Trust will come from independently measured calibration, not a promise that it cannot hallucinate.

14 min read

News

TypeSafe launches Jev, a model that returns decisions instead of text

TypeSafe AI came out of stealth on September 15 with $40 million in seed funding and Jev, a model that answers typed questions about a block of text with probabilities instead of prose. The pricing is unusual, the speed claims are large, and the first independent tests are mixed.

21 min read

News

The reasoning-model era has a cost problem

Models that think before they answer are billed for every token of that thinking, whether or not you see it. The controls have moved from token budgets to effort levels, and the price of a request now depends on how hard the question is.

10 min read