Skip to main content
POST
Estimate Credits

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Credit cost estimation request model.

operation_type
string
required

Type of operation

operation_count
integer
default:1

Number of operations

Required range: x >= 1
file_size_mb
number | null

File size in MB

Required range: x >= 0
user_tier
string | null

User tier for pricing calculation

Response

Successful Response

Credit cost estimation response model.

credits_required
integer
required

Credits required for operation

Required range: x >= 0
operation_type
string
required

Type of operation

operation_count
integer
required

Number of operations

pricing_mode
string
required

Current pricing mode

unit_cost
integer
required

Cost per unit

tier_discount
number | null

Tier discount applied

breakdown
Breakdown · object | null

Cost breakdown by component