Updates an existing pricing override. Omitted fields are merged from the existing record. The patch field is always replaced in full when provided.
Pricing override ID
Request body for updating a pricing override. All fields are optional — omitted fields are merged from the existing record. The patch field is always replaced in full when provided.
Human-readable label
global, provider, provider_key, virtual_key, virtual_key_provider, virtual_key_provider_key Required for virtual_key* scopes
Required for provider and virtual_key_provider scopes
Required for provider_key and virtual_key_provider_key scopes
exact, wildcard Model name or wildcard prefix ending with * (e.g. "claude-3*")
Request types this override applies to.
1Request type for pricing override filtering. Stream variants are treated identically to their base type — specifying chat_completion covers both streaming and non-streaming chat requests.
chat_completion, text_completion, responses, embedding, rerank, speech, transcription, image_generation, image_variation, image_edit, video_generation, video_remix Pricing fields to override. Only non-zero/non-null fields are applied. All values are cost per unit in USD.