For the complete documentation index, see llms.txt. This page is also available as Markdown.

Organization pricing

List Organization Pricing

get

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.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Query parameters
model_keystring · nullableOptional

Return only this model's periods, in the canonical 'provider:model' form.

kindstring · enum · nullableOptional

Return only overrides of this kind.

Possible values:
skipintegerOptional

Number of records to skip

Default: 0
limitinteger · min: 1 · max: 1000Optional

Maximum number of records to return

Default: 100
Responses
200

Successful Response

application/json

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.

countintegerRequired
get/api/v1/organizations/me/pricing
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"
    }
  ]
}

Create Organization Pricing

post

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.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Body

Create one rate override for a model, or a search or fetch instance, for a period.

cache_read_price_per_millionnumber · nullableOptional

Price per 1M cached-input tokens

cache_write_price_per_millionnumber · nullableOptional

Price per 1M cache-write (creation) tokens

effective_fromstring · date-time · nullableOptional

ISO 8601 datetime from which this rate applies, inclusive. Defaults to now.

effective_tostring · date-time · nullableOptional

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.

input_price_per_millionnumberOptional

Price per 1M of the rate's unit: input tokens, requests, images or characters

kindstring · enum · nullableOptional

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.

Possible values:
model_keystring · min: 1 · max: 255Required

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.

output_price_per_millionnumberOptional

Price per 1M output tokens; unused by a rate per request or per image

unitstring · enumOptional

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.

Default: tokenPossible values:
Responses
201

Successful Response

application/json

One stored rate override.

cache_read_price_per_millionnumber · nullableRequired
cache_write_price_per_millionnumber · nullableRequired
created_atstring · date-timeRequired
effective_fromstring · date-timeRequired
effective_tostring · date-time · nullableRequired
idstring · uuidRequired
input_price_per_millionnumberRequired
kindstringRequired

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.

model_keystringRequired
organization_idstring · uuidRequired
output_price_per_millionnumberRequired
unitstringRequired
updated_atstring · date-timeRequired
post/api/v1/organizations/me/pricing
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 Organization Pricing

put

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.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Path parameters
pricing_idstring · uuidRequired
Body

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.

cache_read_price_per_millionnumber · nullableOptional

Price per 1M cached-input tokens

cache_write_price_per_millionnumber · nullableOptional

Price per 1M cache-write (creation) tokens

effective_fromstring · date-timeRequired

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.

effective_tostring · date-time · nullableOptional

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.

input_price_per_millionnumberOptional

Price per 1M of the rate's unit: input tokens, requests, images or characters

output_price_per_millionnumberOptional

Price per 1M output tokens; unused by a rate per request or per image

unitstring · enumOptional

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.

Default: tokenPossible values:
Responses
200

Successful Response

application/json

One stored rate override.

cache_read_price_per_millionnumber · nullableRequired
cache_write_price_per_millionnumber · nullableRequired
created_atstring · date-timeRequired
effective_fromstring · date-timeRequired
effective_tostring · date-time · nullableRequired
idstring · uuidRequired
input_price_per_millionnumberRequired
kindstringRequired

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.

model_keystringRequired
organization_idstring · uuidRequired
output_price_per_millionnumberRequired
unitstringRequired
updated_atstring · date-timeRequired
put/api/v1/organizations/me/pricing/{pricing_id}
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"
}

Delete Organization Pricing

delete

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.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Path parameters
pricing_idstring · uuidRequired
Responses
204

Successful Response

No content

delete/api/v1/organizations/me/pricing/{pricing_id}
DELETE /api/v1/organizations/me/pricing/{pricing_id} HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*

No content

Last updated

Was this helpful?