Cost governance and savings
Gateway reports spend from every vendor in one place and offers settings that lower it without application changes. To cap spend, use Budgets; for what you’re billed, see Plans and pricing.
Where spend is reported
Usage & spend in the dashboard totals managed and BYOK spend, tokens, and requests across every vendor.
For a single request, open it in Logs: Estimated cost shows its cost with Merge’s fee underneath, and the summary strip totals both over every request matching your filters. The figures read differently by key type:
In your own tooling, read usage.cost from each response; it’s null, not 0, when the serving route has no price on file. Tools that read it automatically, such as Langfuse, need no setup.
Scope traffic to projects by team, product, or environment so By attribution shows who spent what.
Savings levers
Levers stack: routing picks a cheaper model or vendor, while compression and caching shrink what each request sends.
To measure a lever, compare the affected project or policy on By attribution before and after.