Pricing

Pricing API

Get a model’s base price and effective discount, or estimate the price of a specific inference request from its input parameters.

API Information

ItemDescription
API Path/api/v3/model/price
HTTP MethodPOST
Content-Typeapplication/json
AuthenticationBearer Token via Authorization header

Request


curl --fail-with-body --connect-timeout 10 --max-time 60 \
-X POST "https://api.wavespeed.ai/api/v3/model/price" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "model_id": "pixverse/pixverse-v5.5/image-to-video",
  "inputs": {
      "aspect_ratio": "16:9",
      "duration": 5,
      "image": "https://example.com/image.jpg",
      "prompt": "A stylish model, fashion show",
      "sound": true
  }
}'

Parameters

Headers

ParameterTypeRequiredDescription
AuthorizationstringYesAccess Key in format: Bearer {access_key}
Content-TypestringYesapplication/json

Body Parameters

ParameterTypeRequiredDescription
model_idstringYesThe model ID to get pricing for
inputsobject or nullNoOmit this field or send null to return the configured base price and effective discount. Send an object, including {}, to evaluate the model’s dynamic pricing formula.

inputs Semantics

The presence of inputs changes what price means:

  • When inputs is omitted or null, price is the model’s configured base price. The response still includes the effective discount for the authenticated account.
  • When inputs is an object, including an empty object, price is calculated by the model’s pricing formula using that object. If required pricing parameters are missing, the request may return an error.

To query only the base price and effective discount:

{
  "model_id": "pixverse/pixverse-v5.5/image-to-video"
}

Response

FieldTypeDescriptionExample
codeintegerHTTP status code200
messagestringStatus message"success"
data.model_idstringModel identifier"pixverse/pixverse-v5.5/image-to-video"
data.pricefloatOriginal price in USD before the effective discount0.45
data.discounted_pricefloatAmount payable in USD after the effective discount0.0
data.discount_ratefloatPayable percentage. 100 means no discount; 0 means free0
data.currencystringCurrency code"USD"

Response Example

{
    "code": 200,
    "message": "success",
    "data": {
        "model_id": "pixverse/pixverse-v5.5/image-to-video",
        "price": 0.45,
        "discounted_price": 0.0,
        "discount_rate": 0,
        "currency": "USD"
    }
}

Notes

  • Pricing can depend on input parameters such as duration, aspect ratio, and sound.
  • price is the original price; discounted_price is the amount payable by the authenticated account.
  • The final charge is enforced by the server when the inference request is submitted.
© 2026 WaveSpeedAI. All rights reserved.