# 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.

## What exists

| 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](/docs/features/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](/docs/features/cost-calculator/) |
| **Per-call valuation** | Estimated cost of each request, with the price at that moment frozen | `usage_valuation` | [Valuation](/docs/features/usage-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](/docs/features/service-tier-pricing/) |
| **Discounts and margins** | Discount negotiated with the provider and pass-through margin | `cost_adjustments` | [Valuation](/docs/features/usage-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](/docs/features/budgets-and-tpm/) |
| **TPM and TPD** | Tokens-per-minute and tokens-per-day limits | `tpm_limits`, `tpd_limits` | [Budgets and TPM](/docs/features/budgets-and-tpm/) |
| **RPM** | Requests-per-minute limit, per key, team or end user | `rate_limits`, `end_user_rate_limits` | [Access control](/docs/features/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](/docs/features/access-control/#concurrent-requests-per-key-and-team) |
| **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](/docs/features/budgets-and-tpm/#require-the-end-user-and-tags) |
| **Cost tags** | Finite metadata (environment, project) to group cost | `usage_tags` | [Tags](/docs/features/usage-tags/) |
| **Cost optimization** | Shows where switching models or using the cache would save money | `cost_optimization` | [Console](/docs/features/console/) |
| **Native billing** | Imports OpenAI and Anthropic invoices and reconciles them with measured usage | `quota_finance` | [Native billing](/docs/features/native-billing-imports/) |
| **Manual price book** | Manual price only for what no catalog publishes | `manual_price_catalog` | [Price book](/docs/features/pricing/) |
| **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](/docs/features/usage-valuation/#gpt-image-tokens) |

## An estimate, not an invoice

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](/docs/features/native-billing-imports/) do the reconciliation.
