Docs/Finops/Models Pricing

Models & Pricing

Every cost number in ANTS Platform comes from a model: a rule that recognizes a model name in your traces and says what each unit of usage costs. The same catalog prices SDK and OpenTelemetry traces, Budget AI gateway traffic and the comparison runs of the AI Optimizer.

ℹ

Open it from Settings → Models (page title Models). Everyone with project access can view the catalog, including project discounts. Adding, editing, cloning and deleting models and setting project discounts needs model write access (models:CUD or gatewayAi.models:admin): Owner, Governance Owner and Budget AI Owner among the built-in roles. The organization discount is for organization Owners only. See Members & Roles.

The page has three parts: the model and price sync panel, the organization discount and the catalog.

The catalog

ColumnMeaning
ModelThe model name. Click a row to open its detail page. An ANTS model that a custom model replaces shows Overridden by and the custom model's name.
SourceANTS for models maintained by ANTS Platform, Custom for the ones your project created.
Match patternA regular expression (Postgres syntax) tested against the model attribute of each incoming generation.
Input price and Output priceThe default tier's price. With a discount, the effective price is shown with the list price struck through. Use the price unit selector to show prices Per 1M units, Per 1K units or Per unit.
DiscountThe project's discount for the model, for example 20% off, or None
TiersThe number of pricing tiers, when the model has more than one
Last usedStart time of the most recent generation priced by this model, or Never

Rows are sorted by last use. Above the table:

  • Search model or pattern… filters by model name or match pattern.
  • Source filters to ANTS or Custom, and Discount to Discounted or Not discounted.
  • Show overridden includes ANTS models that a custom model replaces in this project. They are hidden by default.

ANTS models cover common OpenAI, Anthropic, Google, AWS Bedrock and other models. Some carry tiered prices, for example a higher rate once a request passes a long-context token threshold; the tier is picked from each request's usage. The model and price sync keeps them current.

Model detail page

Select a row, or View in its menu, to open the model's page:

  • Configuration shows the match pattern, source, discount and tokenizer and, for an overridden ANTS model, which custom model overrides it.
  • Pricing lists every tier with the List price, Discount and Effective price for each usage type.
  • Model observations lists the generations the model priced.

How a generation is costed

  1. Match. The generation's model name is matched against the catalog. Your project's custom models are checked before ANTS models, so a custom model whose pattern matches overrides the ANTS price.
  2. Use ingested cost if present. If the trace already reports cost for the generation, that cost is kept.
  3. Otherwise multiply usage by price. For each usage type the generation reports (for example input, output, cached input), cost = units × the price for that usage type. The usage keys must exactly match the price keys of the model.
  4. Count tokens if usage is missing. If no usage was ingested and the model has a tokenizer, tokens are counted from the input and output text.
  5. Apply the discount. The cost calculated in steps 3 and 4 is reduced by the project's discount on the model or, when it has none, by the organization discount that applies.

Trace cost is the sum of its generations. Every other view (per model, user, trace name, environment, day) rolls up from these values.

⚠

Price and discount changes apply to generations ingested after the change. Generations already stored keep the cost they were given, unless a later event for the same generation arrives: that recalculates the generation with the current prices and discount. To correct a past period, see Reprice past usage.

Model and price sync

ANTS models and their prices can be updated in a running deployment, without a platform upgrade. ANTS publishes a signed file of models and prices, and your deployment checks the signature before it uses it.

WayWhen
Daily syncOnce a day at 05:15 UTC, when your operator has turned it on. See Turn on the sync.
Import manifestFor deployments without outbound access: upload the file from ANTS. The same checks apply.

Each update:

  • Adds models the deployment does not have yet.
  • Updates the prices of ANTS models. A model keeps its ID, so discounts on it keep applying.
  • Skips a model whose price in the deployment is newer than the file's.
  • Never deletes a model and never changes your project's custom models.
  • Records every price change in Price history, and writes an audit log entry for each organization.
  • Takes effect for ingestion and Budget AI at once.

An older file is refused, so prices cannot be rolled back by replaying a previous file. A file with an invalid signature or invalid contents changes nothing.

The sync panel

The panel at the top of Settings → Models shows Last synced with the time and the source (Daily sync or Imported file), and the badges Sync paused, Prices held for review or Last attempt failed with the reason. It is shown to organization Owners and to members who can edit models or view Budget AI models.

ButtonWhat it does
Price historyEvery price change applied by the sync or an imported file, newest first, with Model, Price (tier and usage type), Old, New, Effective and Source. Prices are per 1M tokens. A model added by the sync shows New model. Search by model.
Import manifestUpload a model file. The result says how many models were added, how many prices changed and how many were held for review.
Accept N heldApplies the held prices after you confirm them.
Pause sync / Resume syncA paused deployment keeps its current prices and skips the daily sync.

Import manifest, Accept N held and Pause sync are shown to organization Owners. The model list is shared by every organization on a deployment, so on a deployment with more than one organization only an instance administrator can use them.

Held prices

A model is held, and not applied, when one of its prices in the file:

  • changes by more than 5 times up or down,
  • drops to zero, or a new model or tier is priced at zero,
  • is negative,
  • is above 0.002 USD per token (2,000 USD per 1M tokens), or 0.1 USD per unit for non-token usage,
  • or is removed, which would leave the model unpriced.

Every other model in the file is applied. The panel shows Prices held for review with examples, and the Model price sync failed automation event fires when a model is newly held. After checking the prices, select Accept N held. An accepted price is not held again by later files unless it changes. A newer file replaces the held one.

Failures

A failed sync keeps the current prices and shows Last attempt failed with the reason. The Model price sync failed automation event fires once per run of failures, not on every retry, so you can route it to email, Teams, ServiceNow or another action.

Turn on the sync

For self-hosted deployments, set these values under both web.modelSync and worker.modelSync in the ants-platform chart. The sync is off by default.

Helm valueEnvironment variablePurpose
modelSync.enabledMODEL_MANIFEST_SYNC_ENABLEDTurns on the daily sync. The chart sets the address and keys below only when it is on.
modelSync.urlMODEL_MANIFEST_URLHTTPS address of the model file
modelSync.publicKeysMODEL_MANIFEST_PUBLIC_KEYSTrusted signing keys, as keyId:key entries separated by commas. web needs them for Import manifest.
worker.modelSync.alarmOrganizationIdsMODEL_SYNC_ALARM_ORG_IDSOrganizations that receive the Model price sync failed event. With one organization on the deployment it is that organization; with several and no list, no organization is alerted.
MODEL_MANIFEST_MAX_PRICE_RATIOPrice change factor above which a model is held (default 5)
MODEL_MANIFEST_MAX_TOKEN_PRICEToken price ceiling in USD per token (default 0.002)

The deployment only downloads the file; it sends no data.

ANTS versus custom models

  • ANTS models are read-only and cannot be deleted. Use Clone to copy one into a custom model and change its prices.
  • Custom models cover models the catalog does not know, such as self-hosted, fine-tuned or newly released models. They can be edited and deleted.
  • To replace an ANTS price for your project, create a custom model whose match pattern matches the ANTS model's name. The ANTS model is then marked overridden and hidden unless Show overridden is on.

Check coverage

Open a trace and look at its generations. A generation with no cost usually means its model name matched no model.

Add or clone a model

Click Add model, or Clone in an ANTS model's menu, and fill in:

  • Model name
  • Match pattern, for example (?i)^(my-company/)?support-llm-v2$
  • Prices per usage type. The OpenAI and Anthropic buttons add those providers' usage keys for you.
  • Tokenizer: openai, claude or None. The openai tokenizer needs a Tokenizer config.

For a model with several pricing tiers, only the default tier is edited. Editing keeps the other tiers' prices; a clone prices every request at the default tier.

Verify

Send a new trace that uses the model and confirm the cost on the generation and in the Cost Dashboard.

To delete custom models in bulk, select their rows and choose Delete in the bar that appears. It is not available while the selection includes an ANTS model.

Discounts

A discount records a negotiated rate. It lowers the cost ANTS calculates; the list prices stay as they are. There are two kinds: an organization discount for every project, and a project discount on a model, described here.

  • Set it with Set discount in a row's menu, on the model's detail page, or in the bar that appears when you select several rows. Enter a percentage from 0.01 to 99.99 with at most two decimals. The sheet previews list and effective input and output prices for the selected models.
  • The discount applies to every usage type and every pricing tier: effective price = list price × (1 - discount / 100).
  • If the percentage is lower than the organization discount for any of the selected models, the sheet asks first in Lower than the company discount, listing up to five models with both percentages. Choose Go back, or Set N% anyway.
  • Clear discount returns the model to the organization discount, or to list price when there is none, for new usage.

The Discount column, the model detail page and the effective prices in the catalog show the project discount only.

What a discount changes and what it does not:

AreaEffect
New usageCosted at the discounted rate from the moment the discount is saved
Past usageNot recalculated, unless you reprice past usage
Costs your SDK reportsKept as sent, never discounted
Budget AIReservations and spend use the discounted rate within about 60 seconds, so existing budgets cover more usage. Budget amounts are not changed.
AI OptimizerComparisons and savings use the discounted prices of the baseline and every comparison model, so savings match what you pay. Runs already stored keep their figures.

The same applies to the organization discount.

A custom model that overrides a discounted ANTS model takes over its traffic, so the ANTS model's discount stops applying. It is shown struck through, with the reason in its tooltip, and a new discount cannot be set on an overridden ANTS model. Discount the custom model instead.

Setting and clearing discounts are written to the audit log.

Organization discount

The Organization discount section on Settings → Models records a discount agreed with a provider once, for every project in the organization. Only organization Owners see and change it.

RuleExample
Default (all models)10% on everything
By providerAzure OpenAI 15%, AWS Bedrock 10%
By modelgpt-4o 20%. Search for the model under Add a model rule: search a model.

Each rule has an All % rate and optional Input % and Output % rates. A blank input or output rate uses the All % rate. Input rates apply to usage types that start with input, such as cached input; output rates to those that start with output; any other usage type uses All %. Each percentage must be from 0 to less than 100. Select Save organization discount to save. New usage is costed with the rules within a minute, and every change is written to the audit log.

For one model in one project, the first match wins:

  1. The project's own discount on the model.
  2. The organization's rule for the model.
  3. The organization's rule for the model's provider.
  4. The organization's default.
  5. No discount.

A project discount replaces the whole organization result for that model, input and output included.

The provider is read from the model name the trace sent:

ProviderModel names
AWS Bedrockbedrock/ or invoke/ prefixes, and Bedrock model IDs such as anthropic.claude-... or us.anthropic.claude-...
Google Vertex AIvertex_ai/ prefix, and names starting with gemini
Azure OpenAIazure/ prefix, and region prefixes such as us/, eu/, apac/ or global/
AnthropicNames starting with claude
OpenAI and compatibleEverything else

To put a model under a different rule, give it its own model rule.

Reprice past usage

Discounts apply to new usage. To correct a past period, an organization Owner selects Reprice past usage in the Organization discount section.

Choose the period

Set From and Up to (not included). The period must end at least 31 days ago and be at most 31 days long. Select Only this project to limit it to the current project; otherwise every project in the organization is repriced.

Preview

Preview writes nothing. It shows how many generations would change, the total cost before and after, and the change for each model.

Apply

Select Apply to N generations. The calculation runs again and writes only if the number of changed generations still matches the preview.

Each generation is priced with the price in force when it happened, from Price history, and today's discount rules. Where the history has no record, including usage from before price history existed, today's price is used. Costs reported by your SDK, generations without a priced model and generations outside the period are never changed. A run scans at most 20,000 generations and changes at most 5,000; narrow a larger period. AI Agent Center summaries keep their values. Each run is written to the audit log.

ℹ

Repricing is off unless the deployment sets MODEL_REPRICING_ENABLED=true (Helm web.modelSync.repricingEnabled). Otherwise Preview reports that repricing is turned off.

Why pricing matters for the AI Optimizer

  • The Select Models step sorts comparison models from cheapest to most expensive using these prices.
  • Model replay costs every replayed call with this catalog. A comparison model with no price is costed at zero, which makes its savings meaningless.

Next steps

© 2026 ANTS Platform, Inc.Docs v1.0 · Last updated June 2026