Skip to content

Costs and pricing

Last updated: 2026-11-15T08:07:18-03:00 (UTC-3)

Without controls, AI cost only shows up on the next month’s invoice. The gateway finds each model’s price on its own, estimates the cost of each call and can stop spending before it happens.

Feature What it does Flag Learn more
Automatic pricing Reads each model’s price from public catalogs (community cost map, models.dev, OpenRouter, DeepInfra), with voting across sources; media per image, character or second automatic_price_catalog, price_source_cost_map, price_source_modelsdev Automatic pricing
Advisory cost calculator Exact selected-source/target base quote, source freshness and per-request/day/30-day projections; unknown/partial stays explicit advisory_cost_calculator Calculator
Per-call valuation Estimated cost of each request, with the price at that moment frozen usage_valuation Valuation
Service-tier pricing Prices each answer at the tier the provider reports (priority, flex, batch); an unpriced tier stays unknown follows usage_valuation, budget_limits Service tiers
Discounts and margins Discount negotiated with the provider and pass-through margin cost_adjustments Valuation
Budgets Dollar limit per day or month, per key, team, model, user, project, organization or end user. The reservation is made before sending budget_limits, end_user_budgets Budgets and TPM
TPM and TPD Tokens-per-minute and tokens-per-day limits tpm_limits, tpd_limits Budgets and TPM
RPM Requests-per-minute limit, per key, team or end user rate_limits, end_user_rate_limits Access control
Concurrency caps Inference requests a key, or a team’s keys together, may have in flight at once, counted per replica; over it 429 at once concurrency_limits Access control
Required attribution A team or key requires every inference request to declare an end user and usage tags, so end-user and tag limits cannot be skipped; refused before any provider call attribution_requirements Budgets and TPM
Cost tags Finite metadata (environment, project) to group cost usage_tags Tags
Cost optimization Shows where switching models or using the cache would save money cost_optimization Console
Native billing Imports OpenAI and Anthropic invoices and reconciles them with measured usage quota_finance Native billing
Manual price book Manual price only for what no catalog publishes manual_price_catalog Price book
GPT Image token pricing GPT Image aliases valued per token by category (text and image input, image output) from each answer’s usage image_token_pricing Valuation

Valuation is advisory: it uses the public price and the tokens the provider reported. It helps you decide and stop overspending, but it does not replace the provider’s invoice. The billing imports do the reconciliation.

m7gtwcontact@m7gtw.com