Price an offer
set_offer_pricingPrice an offer
Follow the market (match: one tick under the best offer elsewhere, never past your floor) or set a fixed discount off the reference price, in percent with one decimal (0.1 to 99.9, e.g. 99.5), that follows the reference price when it moves; maxDiscountPct is your floor (the lowest price you accept). An offer is served when it is the cheapest healthy source for a request; an ask above our price rests in the book and fills when it is the best available (our routes within our price down, at capacity or over the buyer's limit), never above the model's list price + 5 %. Sellers only: an account that has not accepted the selling terms gets 403 not_seller. Or send price for your own price on any model (required for a model with no reference price anywhere): USD per 1M input, output and (optionally) cached input tokens, each above 0, at most one change a second; it is served only when it is the best price for the request, and a market-priced offer switches back with pricingMode; buyers see it as the price for the model, and it can change at any time.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "set_offer_pricing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The offer id. | |
| price | No | Your own price (pricingMode self), on any model: USD per 1M tokens, each leg above 0. | |
| discountPct | No | ||
| pricingMode | No | match follows the market (one tick under the best offer elsewhere, never past your floor); discount and per_model are fixed. | |
| maxDiscountPct | No |