Developer guides

Guides for OpenAI-compatible API gateways

Clear, practical pages about prepaid AI API usage, budget control, request-level logs, and relay architecture for developer teams.

OpenAI-compatible relay

What is an OpenAI-compatible API relay?

A practical guide to OpenAI-compatible relays, API gateways, routing, billing controls, request logs, and when developers use one.

API budget control

How to control AI API costs with budgets and prepaid balance

Learn how API budget controls, prepaid wallets, model allowlists, and max output caps help teams avoid surprise AI API bills.

Request-level logs

Why request-level logs matter for AI API billing

Request-level logs help developers audit AI API usage by request id, key, model, token meters, status, and billed amount.

Relay comparison

API relay vs direct provider access

Compare direct AI provider access with an OpenAI-compatible relay for cost control, audit logs, budget policy, and team key management.

Team API key management

Team API key management for AI applications

Best practices for managing AI API keys with least privilege, model allowlists, budgets, IP limits, output caps, and request-level audit logs.

Token cost calculator

How to estimate AI API token costs before a request runs

Learn how input tokens, output tokens, cached tokens, unit prices, max output caps, and prepaid credits affect AI API cost estimates.

Prepaid API gateway

How a prepaid API gateway prevents surprise AI bills

A developer guide to prepaid API gateways, balance protection, 402 stops, no overage billing, request logs, and controlled AI API spend.