Skip to main content

Upsert per-provider price overrides

PUT 

/api/v1/ai-providers/:ai_provider_id/prices

Upserts price overrides for this AI provider instance, keyed on (model, effective_from). The provider slug is taken from the AI provider itself, so only the model, rates, and effective_from are supplied. Authorized by the caller's access to the provider's project. effective_from must be in the future — past prices are immutable, so ship corrections as new future-dated rows.

Request

Responses

The upserted price overrides