API Reference
Log In
API Reference

Create Pricing Dimension

Create a new pricing dimension for an AI model.

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

Query Params
string
required

Team (organization) ID for tenant-specific pricing

Body Params

A pricing dimension for multi-modal AI model pricing

string
enum
required

The billing unit type (PER_TOKEN, PER_IMAGE, PER_SECOND, PER_MINUTE, PER_CHARACTER, CREDITS)

Allowed:
string
enum
required

The modality type (TEXT, IMAGE, AUDIO, VIDEO)

Allowed:
string | null

Optional operation subtype (e.g., 'input', 'output', 'generation', 'transcription')

string | null
enum

Pricing direction: INPUT, OUTPUT, or BIDIRECTIONAL

Allowed:
number
required

The price per unit in USD

string
enum
required

The cost type classification for analytics (e.g., IMAGE_GENERATION, AUDIO_TRANSCRIPTION)

string | null

Optional JSON string containing additional attributes (e.g., resolution, quality, region)

number | null

Tenant-specific credit-to-currency rate (only applicable when billingUnit is CREDITS)

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
*/*