Home/Guides

Guides

Practical, numbers-first guides on AI API costs and routing — how Claude API pricing really adds up, when to use a gateway instead of direct provider APIs, and how to route tools like Claude Code through discounted endpoints.

Claude API cost calculator: official rates vs LivRouter

Calculate real Claude API costs per million tokens — official Anthropic rates vs LivRouter pay-as-you-go pricing with Pro and Max plan discounts, with worked examples for chat and Claude Code workloads.

Updated 2026-09-07

LivRouter vs OpenRouter vs direct provider APIs

Compare routing Claude, GPT, and Gemini through LivRouter, OpenRouter, or direct provider APIs: pricing structure, billing, compatibility layers, and when each approach makes sense.

Updated 2026-09-07

Claude Code with an API gateway: setup, rates, and options

Route Claude Code through an Anthropic-compatible gateway: ANTHROPIC_BASE_URL setup, per-model rates vs official pricing, provider options, and policy notes.

Updated 2026-09-07