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.

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.

number

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

number

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

number

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

number

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
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/hal+json
*/*