Credit budget by plan
Paid plan allocations match the plan pricing configured in the credits system.| Plan | Monthly credit budget | Yearly credit budget |
|---|---|---|
| Free | $1 one-time (welcome) | n/a |
| Starter | $9 / month | $90 / year |
| Pro | $29 / month | $290 / year |
| Scale | $99 / month | $990 / year |
| Enterprise | $199 / month | $1,990 / year |
How costs are calculated
Image models use a per-generation price. Video models use a per-second price and can also depend onresolution or audio mode.
For the full list of models and their costs, visit the model pricing page.
Cost estimate API
Preview the cost of any generation before calling the generate endpoint. The estimate endpoint does not consume credits or GPU time.Terminal
Terminal
Response
JSON
| Field | Description |
|---|---|
model_identifier | The model you queried |
model_type | image or video |
assets_count | Number of requested outputs |
cost_per_generation | Effective cost for one requested output |
cost_total_consumed | Total cost for the request |
credit_balance | Your current credit balance |
credit_balance_can_afford | true if your balance covers the generation |
credit_balance_max_affordable | Maximum number of generations you can afford at this cost |
| Field | Description |
|---|---|
duration_seconds | Requested video duration |
cost_per_second | Base per-second cost for the selected variant |
resolution | Resolution variant if specified |
count (1-100, default 1) to estimate multiple outputs in one request. Values outside that range are clamped.
Your API key must have the library:read scope. See Scopes.
If you use GET /v1/usage, that endpoint requires account:read.
With the SDK
TypeScript
Credit lifecycle per generation
Every generation follows this sequence:| Step | What happens | Balance effect |
|---|---|---|
| Reserve | BabySea checks your balance and deducts the cost atomically | Balance decreases |
| Process | The generation runs on the inference provider | No change |
| Charge | Generation succeeds, BabySea confirms the reservation in the ledger | No change (already deducted) |
| Refund | Generation fails after reservation, BabySea returns credits | Balance increases |
Insufficient credits
If your balance is less than the generation cost, BabySea returns:JSON