API Reference
Log In
API Reference

Update AI Model Pricing

Updates pricing fields on a tenant-specific AI model. Only non-null fields in the request will be updated. Global models cannot be modified - clone them first to create a tenant-specific version.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Unique identifier of the AI model to update. Must be a tenant-specific model (not global).

Query Params
string
required

Unique identifier of the team (organization) that owns the model.

Body Params

Pricing fields to update. Only non-null fields will be modified.

AI model pricing patch request for updating pricing fields on tenant-owned models. Only non-null fields will be updated.

number | null

Cost per input token in USD. Must be non-negative with at most 10 decimal places.

number | null

Cost per output token in USD. Must be non-negative with at most 10 decimal places.

number | null

Cost per input token for cache creation in USD. Must be non-negative with at most 10 decimal places.

number | null

Cost per input token for 1-hour-TTL cache creation in USD. Must be non-negative with at most 10 decimal places.

number | null

Cost per input token for cache reads in USD. Must be non-negative with at most 10 decimal places.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/hal+json
*/*