Organization pricing
List the organization's rate overrides.
Readable by any member: these rates decide what the caller's own requests cost, so they are not withheld from the people billed at them. Writing needs an owner or admin.
Paged on the same bounds the rest of the tenancy surface uses, because the table grows a row per model per period. count is the total, so a client knows whether another page is owed.
model_key narrows to one model, which is what an editor for that model needs: every period stored for it, so it can open on the one in force and refuse a new one that would overlap. Normalized the same way a write is, so a legacy provider/model spelling finds the rows a canonical one stored.
Enter your API key here (sent as Otari-Key header).
Return only this model's periods, in the canonical 'provider:model' form.
Return only overrides of this kind.
Number of records to skip
0Maximum number of records to return
100Successful Response
One page of the organization's overrides, and how many there are in total.
The envelope shape the platform's equivalent endpoint returns, kept so the
generated dashboard client stays recognizable across both trees. count is
the total rather than the length of data, which is what lets a client tell
whether another page is owed.
Validation Error
GET /api/v1/organizations/me/pricing HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
{
"count": 1,
"data": [
{
"cache_read_price_per_million": 1,
"cache_write_price_per_million": 1,
"created_at": "2026-01-01T00:00:00.000Z",
"effective_from": "2026-01-01T00:00:00.000Z",
"effective_to": "2026-01-01T00:00:00.000Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"input_price_per_million": 1,
"kind": "text",
"model_key": "text",
"organization_id": "123e4567-e89b-12d3-a456-426614174000",
"output_price_per_million": 1,
"pricing_tiers": [
{
"cache_read_price_per_million": 1,
"cache_write_price_per_million": 1,
"input_price_per_million": 1,
"min_input_tokens": 1,
"output_price_per_million": 1
}
],
"rates": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"unit": "text",
"updated_at": "2026-01-01T00:00:00.000Z"
}
]
}Set the organization's rate for a model over a period.
Refused with a 409 when the period overlaps one already stored for that model, naming the period it collides with, rather than shadowing it. Refused with a 403 when the deployment, not the caller's organization, holds the credential that serves the model, whether through one of its own provider instances or a hosted credential the bound port supplies because no usable BYO credential of the organization's own covers every one of its workspaces: either way the deployment settles the upstream bill, so its rate is the deployment price list's rather than a tenant's.
A rate on a tool the deployment's own account runs, a search or fetch tool's or otari:code_execution, is refused with a 403 for the same reason.
The key is normalized to its canonical instance:model form first, the same call POST /api/v1/pricing makes, and that is what makes one model one row rather than one per spelling. Stored verbatim, openai:gpt-4o and openai/gpt-4o are two keys: the overlap rule would not see them as colliding, and both would resolve, with the canonical one preferred, leaving the other dormant until the first is deleted. Normalizing on the way in is what stops that pair existing at all.
Enter your API key here (sent as Otari-Key header).
Create one rate override for a model, or a search or fetch instance, for a period.
Price per 1M cached-input tokens
Price per 1M cache-write (creation) tokens
ISO 8601 datetime from which this rate applies, inclusive. Defaults to now.
ISO 8601 datetime at which this rate stops applying, exclusive. Null leaves it open ended. Because the end is exclusive, the next period may begin at exactly this instant without overlapping.
Price per 1M of the rate's unit: input tokens, requests, images or characters
What the row prices: 'model' (the default), or 'search' or 'fetch' for a search or fetch instance, keyed by the instance's name and priced per call. Only the deployment operator sets a search or fetch rate.
For a model, 'provider:model', matching the key the deployment price list uses; a provider instance name is valid here ('home_lab:llama-3'), because pricing keys on the instance a request resolves to. For a search or fetch kind, the instance's name.
Price per 1M output tokens; unused by a rate per request or per image
What the rates are per: token for a model, request, image or character for a non-token endpoint. A completion model priced per request is charged one request per successful call. Every rate is USD per million of its unit. A rate in a unit that has no meter yet is stored and prices nothing. The plural names tokens, requests and images are still read for one release.
tokenPossible values: Successful Response
One stored rate override.
What the row prices: 'model' (the default), or 'search' or 'fetch' for a search or fetch instance, keyed by the instance's name and priced per call. Only the deployment operator sets a search or fetch rate.
The deployment holds the credential that serves the model, or runs the tool on its own account.
The period overlaps one already stored for the model.
Validation Error
POST /api/v1/organizations/me/pricing HTTP/1.1
Otari-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 669
{
"cache_read_price_per_million": 1,
"cache_write_price_per_million": 1,
"effective_from": "2026-01-01T00:00:00.000Z",
"effective_to": "2026-01-01T00:00:00.000Z",
"input_price_per_million": 1,
"kind": "model",
"model_key": "text",
"output_price_per_million": 1,
"pricing_tiers": [
{
"cache_read_price_per_million": 1,
"cache_write_price_per_million": 1,
"input_price_per_million": 1,
"min_input_tokens": 1,
"output_price_per_million": 1
}
],
"rates": {
"multipliers": [
{
"factor": 1,
"when": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"web_search": {
"cache": "[Circular Reference]",
"overrides": [
"[Circular Reference]"
],
"price": 1,
"reasoning": 1,
"unit": "token"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"unit": "token"
}{
"cache_read_price_per_million": 1,
"cache_write_price_per_million": 1,
"created_at": "2026-01-01T00:00:00.000Z",
"effective_from": "2026-01-01T00:00:00.000Z",
"effective_to": "2026-01-01T00:00:00.000Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"input_price_per_million": 1,
"kind": "text",
"model_key": "text",
"organization_id": "123e4567-e89b-12d3-a456-426614174000",
"output_price_per_million": 1,
"pricing_tiers": [
{
"cache_read_price_per_million": 1,
"cache_write_price_per_million": 1,
"input_price_per_million": 1,
"min_input_tokens": 1,
"output_price_per_million": 1
}
],
"rates": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"unit": "text",
"updated_at": "2026-01-01T00:00:00.000Z"
}Replace an override's rates and period.
Future requests in the period price at the new rate; usage already settled keeps the cost it was billed, because a settled cost is stored on the usage row rather than recomputed.
Refused with a 403 on the same deployment-supplied rules the create path carries, so an edit cannot store a rate a create would refuse, and with a 403 for a rate the deployment operator set, which only the operator may change.
Enter your API key here (sent as Otari-Key header).
Replace an override's rates and period.
effective_from is required here, where a create defaults it to now. A
replacement states the whole row, so defaulting an omitted start would move a
stored period to the present: an operator editing next quarter's rate through
a client that does not send the field would silently bring it into effect
today, or collide with the period that currently applies. Stating it is the
only reading that cannot surprise.
A full replacement rather than a patch: every rate field is present in the
body and an omitted optional rate is cleared, so the stored row is exactly
what was sent. That is the opposite of POST /api/v1/pricing, which inherits an
omitted cache rate from the model's previous version, and deliberately so:
that surface versions a catalog where each write adds a row, while this one
edits a single row in place and an inheriting patch would make the result
depend on what happened to be stored before.
model_key is absent because it is immutable. Repointing an override at
another model is retiring one and creating another, which is two requests.
Price per 1M cached-input tokens
Price per 1M cache-write (creation) tokens
ISO 8601 datetime from which this rate applies, inclusive. Required on a replacement, so an omitted value cannot silently move a stored period to the present.
ISO 8601 datetime at which this rate stops applying, exclusive. Null leaves it open ended. Because the end is exclusive, the next period may begin at exactly this instant without overlapping.
Price per 1M of the rate's unit: input tokens, requests, images or characters
Price per 1M output tokens; unused by a rate per request or per image
What the rates are per: token for a model, request, image or character for a non-token endpoint. A completion model priced per request is charged one request per successful call. Every rate is USD per million of its unit. A rate in a unit that has no meter yet is stored and prices nothing. The plural names tokens, requests and images are still read for one release.
tokenPossible values: Successful Response
One stored rate override.
What the row prices: 'model' (the default), or 'search' or 'fetch' for a search or fetch instance, keyed by the instance's name and priced per call. Only the deployment operator sets a search or fetch rate.
The deployment serves the model or runs the tool, or the deployment operator set the rate.
Validation Error
PUT /api/v1/organizations/me/pricing/{pricing_id} HTTP/1.1
Otari-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 635
{
"cache_read_price_per_million": 1,
"cache_write_price_per_million": 1,
"effective_from": "2026-01-01T00:00:00.000Z",
"effective_to": "2026-01-01T00:00:00.000Z",
"input_price_per_million": 1,
"output_price_per_million": 1,
"pricing_tiers": [
{
"cache_read_price_per_million": 1,
"cache_write_price_per_million": 1,
"input_price_per_million": 1,
"min_input_tokens": 1,
"output_price_per_million": 1
}
],
"rates": {
"multipliers": [
{
"factor": 1,
"when": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"web_search": {
"cache": "[Circular Reference]",
"overrides": [
"[Circular Reference]"
],
"price": 1,
"reasoning": 1,
"unit": "token"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"unit": "token"
}{
"cache_read_price_per_million": 1,
"cache_write_price_per_million": 1,
"created_at": "2026-01-01T00:00:00.000Z",
"effective_from": "2026-01-01T00:00:00.000Z",
"effective_to": "2026-01-01T00:00:00.000Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"input_price_per_million": 1,
"kind": "text",
"model_key": "text",
"organization_id": "123e4567-e89b-12d3-a456-426614174000",
"output_price_per_million": 1,
"pricing_tiers": [
{
"cache_read_price_per_million": 1,
"cache_write_price_per_million": 1,
"input_price_per_million": 1,
"min_input_tokens": 1,
"output_price_per_million": 1
}
],
"rates": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"unit": "text",
"updated_at": "2026-01-01T00:00:00.000Z"
}Remove an override, returning the model to the deployment price list.
Refused with a 403 for a rate the deployment operator set, which only the operator may remove.
Enter your API key here (sent as Otari-Key header).
Successful Response
No content
The deployment operator set the rate.
Validation Error
DELETE /api/v1/organizations/me/pricing/{pricing_id} HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?
