organization-pricing
Create Organization Pricing
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.
The key is normalized to its canonical instance:model form first, the same call POST /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.
post/v1/organizations/me/pricing
Request body
Response
Successful Response