Creates a new pricing override. The most specific matching scope always wins during cost resolution.
Bearer token authentication. Use your provider API key or Bifrost authentication token.
Virtual keys (prefixed with sk-bf-) can also be passed here.
Request body for creating a pricing override.
Human-readable label
global, provider, provider_key, virtual_key, virtual_key_provider, virtual_key_provider_key exact, wildcard Model name or wildcard prefix ending with * (e.g. "claude-3*")
Request types this override applies to. At least one value is required.
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 Required for virtual_key* scopes
Required for provider and virtual_key_provider scopes
Required for provider_key and virtual_key_provider_key scopes
Pricing fields to override. Only non-zero/non-null fields are applied. All values are cost per unit in USD.