Estimate before submitting
For image, video, and audio jobs, send the same model-specific input toPOST /v3/models/{model}/estimate before submitting it. The estimate is a price,
not a completion-time guarantee, and creates no job. See the
quickstart for an example.
Model choice, dimensions, duration, and quality can affect the charge. Read the
model’s published schema and pricing information instead of hard-coding a price
from an example. Language-model pricing and usage are described in
Chat completions.
Inspect charges
402 INSUFFICIENT_BALANCE means the request cannot currently be funded. Inspect
the error before retrying; see Errors and retries.
For volume pricing or deployment-specific charges,
contact Hedra.