Independent reporting on artificial intelligence.


The Frontier Wire

Topic

AI gateways

46 articles


News

LiteLLM's Rust gateway benchmark, checked against LiteLLM's own data

LiteLLM says its Rust gateway has about 7x lower overhead, 9x less memory and 4.5x more requests per dollar than the next-closest gateway. LiteLLM's own benchmark files show a latency and throughput near-tie, a mislabeled widest-pair memory chart, a modeled cost and a config gap, plus Rust leads on CPU and memory.

17 min read

Research

LiteLLM vs Bifrost latency: tracing the 7x overhead figure

LiteLLM says its Rust gateway has roughly 7x lower overhead than Bifrost. The concurrency sweep in LiteLLM's own benchmark repo shows Bifrost lower at concurrency 1 and 64, Rust lower at 16, a tie at 4, and throughput gaps under 1%. The headline number comes from a separate file with no stated concurrency.

19 min read

Research

Logging on vs logging off: the configuration gap in LiteLLM's benchmark

LiteLLM's benchmark blog says no gateway logged or persisted anything. The Bifrost v1.6.4 config it published never sets enable_logging or a log store, and the defaults then switch on logging, a SQLite store and built-in plugins. That is inferred from v2.4.0 code, not confirmed on v1.6.4.

19 min read

Tools

AI agent security: a practical guide to securing LLM apps and agents

The model is not a security boundary. Eight concrete failures in LLM apps and agents, from provider keys in browser bundles to injected tool calls and runaway spend, each mapped to the OWASP LLM Top 10, with the code-level fix and an open-source agent skill that audits a codebase for them.

15 min read

News

Bifrost Edge brings AI gateway governance to every company laptop

Maxim AI's endpoint agent for the Bifrost gateway gained per-app capture controls, version reporting and a stateless MCP inspection path in Bifrost Enterprise v2.3.0. How Edge works, what it governs, how it rolls out through MDM, and where it sits next to CASB and DLP tooling.

14 min read

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

Tools

MCP best practices: tool budgets, least privilege and approval gates

Connecting one MCP server takes a line of config. Running twenty safely across a team takes tool budgets, per-identity allow-lists, approval gates, sane transports, health checks and logs. The practices, checked against the 2026-07-28 MCP specification, and an open-source agent skill that audits a setup against them.

15 min read

Comparisons

API management platforms compared: twelve options for 2026

Every major API management platform now ships some form of AI gateway. The criteria below separate the platforms built to publish and monetize APIs from the layer built to meter tokens, fail over between model providers and govern MCP tools, and compare twelve options against both.

19 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

Research

How to choose an API management solution: a weighted framework

API management products share a feature list and differ in where their planes run, how their policies port and what they can meter. A weighted criteria table, a proof-of-concept plan and a cost model, grounded in the OpenAPI and OAuth specs and OWASP's 2023 API risks, plus the new question of model traffic.

18 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

Research

User-managed access and rate limiting: a technical guide

User-Managed Access lets a resource owner decide who else may reach their data, through permission tickets and requesting party tokens. Every identity that grant creates is also a quota key. The protocol, the HTTP signals for throttling, and how both apply to LLM APIs and agents acting for users.

19 min read

Comparisons

The 10 best agent observability tools in 2026, compared

An AI agent makes dozens of model and tool calls for one task, and a failure can sit in any of them. Ten observability tools, from gateways that see every call to SDK-based tracing platforms, compared on published criteria and the OpenTelemetry conventions they follow.

20 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

Research

Claude Code security: permissions, sandboxing and the scanner

The phrase now means two things: Anthropic's Claude Security scanner, and the job of keeping a coding agent with shell access from doing harm. Permission modes, the sandbox, managed settings, MCP policy and gateway routing, mapped to the incidents that shaped them.

18 min read

Tools

Claude Code router setups: running Claude Code on other models

Claude Code talks to one API format, and anything that speaks that format can answer it. Routers, gateways and local servers use that to swap in other models. The configuration takes minutes; knowing what breaks on the way takes longer.

17 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

OWASP LLM Top 10 for 2026: the ten risks and where to enforce each

The 2026 edition of the OWASP Top 10 for LLM applications is the first built partly on incident data. It reorders the list, renames one entry and hands agent risks to a separate Agentic Top 10. Each of the ten risks, with documented examples and the layer that can actually enforce its controls.

26 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

Prompt injection: how the attacks work and which defenses hold

Every major lab, OWASP and the UK's National Cyber Security Centre now say the same thing about prompt injection. Models cannot reliably tell instructions from data, filters miss adaptive attacks, and the defenses that work limit what a manipulated model is able to do.

20 min read

Research

Shadow AI: what it is, how widespread it is, and how to detect it

Two thirds of AI users reach AI services through personal accounts on corporate devices, and shadow AI now appears in 43% of the AI security incidents IBM studied. The risks, the four detection layers, the acceptable use policy and the controls that turn unsanctioned use into governed use.

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

Comparisons

Top 5 LLM gateways for Anthropic, OpenAI and Gemini in 2026

Most production teams now call at least two of the three big model providers. Five gateways that put OpenAI, Anthropic and Gemini behind one endpoint, measured on native SDK formats, cross-provider failover, spend control and where the proxy runs.

16 min read

Comparisons

Top 10 open-source AI gateways for self-hosting in 2026

An open-source AI gateway is only as open as its license file and its paid tier allow. Ten self-hosted LLM gateways, read at the level of the LICENSE file, the dependency list and the release history, with criteria published before the ranking.

19 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

Tools

What an AI gateway does, and what it costs to run one

Most teams that use more than one model provider end up putting a proxy in front of all of them. This is what that proxy does, where the main products differ, and a detailed look at one of them, Bifrost, based on its documentation and a local install.

11 min read