How the price of a request is set
NagaAI tries the model’s providers cheapest first. The first provider that answers sets the price of the request: Three numbers describe the price of every model:
Most paid requests pay the lowest price. On a model with a highest price, the ⓘ next to the price on naga.ac shows the share of its requests that paid the lowest one over the last 7 days.
Why the price is low
The price is low for three reasons:- Capacity bought below public prices. NagaAI buys part of its capacity for less than providers’ public prices.
- Low-cost providers behind routing. NagaAI also uses low-cost providers. Each request goes to the lowest-priced provider that can serve it right now; if it fails, it moves to the next. See Routing.
- A rule, not a promotion. The price follows the market both ways. When the market price rises, the NagaAI price rises with it, and the rule stays the same.
Trade-offs
A low price comes with two trade-offs:- Capacity. At times there isn’t enough capacity at the NagaAI price, and a request can fail. Retry the request, or list fallback models.
- Data. Each request is processed by a provider under that provider’s terms. NagaAI itself never trains on requests. See Model providers.
How often prices change
NagaAI reads the market prices of its models about every ten minutes. A drop applies within minutes. A rise applies once it has held for about 20 minutes, so a one-off spike doesn’t reach you. NagaAI doesn’t announce either in advance. A request pays the price in force when it’s served.GET /v1/models always lists the current prices, and GET /v1/requests/{id} shows what one request cost. See Billing.
See also
- Billing: the meters of a price and what one request costs.
- Limit the price of a request: keep a request at the lowest price or under a cap.
- Routing: how NagaAI orders providers and moves a failed request.
- Model catalog: where the market price is shown.