Self-serve accounts open shortly. Join the list to get in first.

FrugalAI Research

Run AI like a measured system.

44 practical, sourced guides for teams responsible for LLM cost, quality, reliability, and financial control.

02

Cost Monitoring · 6 min

Do You Need an LLM Gateway or Just Cost Monitoring?

A decision rule for choosing between cost monitoring and an LLM gateway: monitoring reports spend after the fact, a gateway can refuse a request before it is sent. What each can and cannot do, from the provider and LiteLLM docs. Verified 2026-10-21.

03

Cost Monitoring · 6 min

How to Monitor LLM Costs Without Changing Application Code

Three ways to see LLM spend without editing application code: provider cost APIs, a proxy behind a base URL, and trace export. What each one can and cannot attribute, with the limits the provider docs list. Verified 2026-10-20.

04

Gateways · 7 min

Kong AI Gateway Cost Controls: What They Enforce and Where They Stop

Kong AI Gateway prices each request and can enforce cost limits per consumer, group, and model. This guide covers how the cost figure is built, what the docs list as limits, and a checklist for comparing any gateway on budget enforcement. Verified 2026-10-19.

05

Cost control · 7 min

AI Agent Cost: Why Agent Loops Break Token Budgets

An agent re-sends its whole history on every step, so cost grows faster than step count. This guide works through a 20-step and 40-step loop on Claude Sonnet 5.5 prices, adds tool fees, and lists the controls that cap a run. Verified 2026-10-18.

06

Caching · 7 min

GPTCache Alternatives for Production Semantic Caching

GPTCache is a library, not a service. Compare it with LiteLLM's semantic cache and Upstash Semantic Cache on scope, tenant isolation, agent traffic, and worked savings math. Verified 2026-10-17.

09

Comparison · 6 min

OpenRouter Alternatives: What Each One Charges and Enforces

Most OpenRouter alternative lists rank features. This guide compares what OpenRouter, Vercel AI Gateway, Cloudflare AI Gateway, and LiteLLM charge on top of provider prices and what each can enforce as a spend limit, with fee math on one monthly workload. Verified 2026-10-14.

10

Pricing · 6 min

LLM API Pricing Comparison: OpenAI, Anthropic, and Google by Tier

Aggregator tables list hundreds of models. This guide compares the three vendors' own price lists tier by tier, prices one monthly workload on each, and flags the scheduled Gemini price increases and Haiku 5.5 long-prompt surcharge. Verified 2026-10-13.

11

Cost optimization · 6 min

Why Your OpenAI Bill Is Higher Than Your Token Count Suggests

Counting the tokens in your prompts and replies undercounts what OpenAI bills. This guide lists the six gaps between visible text and billed usage, with worked examples and a reconciliation checklist. Verified 2026-10-09.

13

Pricing · 7 min

OpenAI API Cost: What Common Workloads Actually Cost

OpenAI's pricing page lists rates per million tokens. This guide turns those rates into per-request and per-job costs for four common workloads, and lists the multipliers that push a bill above the token math. Prices verified 2026-10-07.

14

AI FinOps · 7 min

AI Spend Management for Engineering-Led Teams

Most AI spend management advice is written for procurement. This guide covers the engineering side: how key and workspace design decides attribution, how to pull OpenAI and Anthropic costs into one ledger, and where alerts and hard limits belong. Verified 2026-10-06.

15

Comparisons · 7 min

LiteLLM vs. Portkey: How Each Gateway Actually Enforces a Budget

LiteLLM and Portkey both promise spend control. This comparison looks at where each one enforces a budget, what a blocked request returns, which plan includes it, and what changed after Palo Alto Networks acquired Portkey. Verified 2026-10-05.