Credits
Credits are the only unit GluonArt shows and charges. 1,000 credits cost $1. The studio and the API spend the same balance at the same prices, and credits never expire.
How prices are set
Every price starts from the model's own list price and adds one fixed margin, converted to credits and rounded up. A price is never below what the request costs us.
| What you call | How it is priced |
|---|---|
| Text models | Credits per 1M input tokens, per 1M output tokens, and per 1M cached input tokens |
| Images | A fixed number of credits per image (a round multiple of 5); some models add a little per reference image |
| Video | Credits per second of video (a multiple of 10) for the resolution and sound you pick, times the length; a start frame may add a fixed amount |
GET /v1/models returns the current price of every model in these units.
What a request is charged
- Text requests are charged for the tokens they used, at the model's credit prices. A short request can cost a fraction of a credit; the exact amount is shown in Developers → Logs.
- Images are charged exactly their listed price when the image is delivered. A request that fails is not charged.
- Videos are charged their listed price when the video starts. If it fails, the credits are refunded automatically the next time you check its status.
Running out
A request that your balance cannot cover is refused with 402 before anything is sent to the model:
{ "error": { "message": "Not enough credits: your balance is 0 credits. Add credits to continue." } }
Images and videos need the whole price available up front; text requests need a positive balance. Turn on auto top-up under Developers → Billing to refill automatically when your balance drops below a threshold you choose.