Skip to content

Credits

Recipe generation cost is the sum of each table's row count multiplied by its column weights, with a one-credit minimum:

text
cost = max(1, Σ tables (rows × Σ column weights))

A generated column uses its smart type's effective weight, clamped to 1–10. A column defined by a foreign key, equality or autoincrement uses that rule's effective weight instead; constraints are not added as surcharges to a generator's weight. Long values pay for their size: a column whose longest possible value has more than 128 characters weighs at least one per 128 characters, rounded up, so lorem(minWords: 2000, maxWords: 2000) weighs about 220 instead of 1. Every smart type keeps its own weight at its default arguments.

Size arguments have caps: at most 2,000 words for the filler text types, 4,096 characters for password, 4,096 bytes for base64, 32,768 bytes for binary, 100 words for slug and 100 path segments for url and httpUrl. No generated value may exceed 65,536 characters. Physical storage types do not affect price. Static tables are free; dataset columns weigh one; null values cost the same as non-null values; embedded rows count as table rows. There is no processing overhead or output-format multiplier.

Catalog exports cost one credit per row, with a one-credit minimum. PDFs cost 100 credits per page. The Chef, API and MCP quote the same cost before generation. Failed jobs are refunded under the refund rules. A held job keeps its charge: retrying it costs nothing, and giving up or letting the hold run out refunds it under the same rules.

Free credits

A new account receives a one-time signup bonus of 75,000 credits, granted once its email address is verified. The bonus is one per mailbox: signing up again with an alias of a mailbox that already earned it (a +tag, a dotted Gmail address, or a Googlemail address) creates a new account but skips the second bonus. While the free-tier autorefill is active, the free balance is topped back up to 10,000 credits every 30 days. The refill restores the balance to that target; it does not add 10,000 on top of unused credits, so free credits never accumulate. Free credits have no monetary value and do not expire.

Credit packs

Credits are sold in prepaid packs. The pricing section lists the packs on sale with their current prices, and the billing packs endpoint (GET /api/v1/billing/packs) returns the same list. Prices are in euros with tax included; the checkout shows the final amount in your currency, which depends on your country's tax and the exchange rate.

Each purchase buys one pack size, several times if you like; the current max_quantity is returned by the billing packs endpoint. For more, make several purchases or email support. Buy from Credits in Chef, or create a payment link through the API (POST /api/v1/billing/checkout) or the MCP tool ghostbakery_buy_credits; a person always pays on the checkout page. Credits are added once the payment is confirmed. Payments are processed by Dodo Payments, our Merchant of Record.

The first purchase converts any free credits left to paid credits and ends the free refill.

Voucher credits

Voucher credits use a separate balance. Redeeming a voucher does not change the free tier or convert credits to paid credits. Spending draws from live voucher grants and paid credits together, soonest expiry first; paid credits are spent first when an expiry date ties. Free credits are spent last. Each voucher grant has its own expiry date; the default validity is 90 days, and the exact date is returned when you redeem. Unused credits lapse on that date. Redeem a code in Chef under Credits or through the voucher redemption API.

Expiry

Paid credits are valid for 12 months after your most recent purchase. Every purchase extends the validity of the whole paid balance; credits that already expired are not restored. Voucher grants expire separately on each grant's date, and unused voucher credits lapse then.

Refunds and chargebacks

Unused credits of a purchase can be refunded within 7 days of it. The refund is proportional: unused credits of the purchase × the price paid ÷ the credits bought. Consumed credits are not refundable. Email support to ask; see the refund policy.

A failed-job refund restores spent voucher credits to their grant only while that grant is live; voucher credits whose grant has lapsed are forfeited. Spent paid credits are restored with the current paid expiry if the purchase is still live, or as free credits if that purchase has lapsed. Spent free credits are always restored. A refund or a chargeback removes the purchase's credits in the same proportion as the amount returned, down to a zero balance at most. While a chargeback is open, new purchases are blocked; if it is withdrawn or decided in our favor, the credits and purchases are restored.

Effective smart type weights

Smart type or rule Effective weight
integer 1
decimal 1
boolean 1
date 2
datetime 1
time 1
age 1
port 1
latitude 1
longitude 1
timezoneOffset 1
datetimePart 1
words 1
lorem 1
phrase 1
sentence 3
question 3
quote 3
paragraph 4
enum 1
template 1
regexp 1
pattern 1
firstName 1
middleName 1
lastName 1
fullName 2
namePrefix 1
nameSuffix 1
gender 1
email 2
username 2
phone 1
uuid 3
ulid 1
mongodbObjectId 1
identifier 1
isbn 1
issn 2
semver 1
slug 2
creditCard 1
gtin 1
unitOfMeasure 1
iban 1
bic 1
vatId 1
legalForm 1
subdivision 1
money 1
catalogField 1
url 3
httpUrl 3
domainName 2
hostname 2
fqdn 2
ipv4 1
ipv6 1
ip 1
cidr 1
mac 1
httpStatus 1
httpMethod 1
httpVersion 1
logLevel 1
userAgent 1
jwt 8
city 2
country 1
countryCode 1
currency 1
postcode 1
password 8
hash 1
binary 1
base64 1
color 1
company 2
street 1
hobby 1
monthName 1
weekdayName 1
timezone 3
timezoneAbbr 3
timezoneRegion 3
timezoneFull 1
programmingLanguage 1
domainSuffix 1
languageName 1
continent 1
pick 1
primarykey rule 1
unique rule 1
null rule 1
fk rule 1
autoincrement rule 1
distinct rule 1
eq rule 1
gt rule 1
gte rule 1
lt rule 1
lte rule 1
language rule 1
same rule 1
per rule 1

For 100 rows with one integer() column and one jwt() column, the effective example cost is 900 credits. Replacing jwt() with a second integer() column gives 200 credits.

The free allowances, PDF price, effective weights, purchase availability and pack configuration can change through operator policy. Use the current quote and billing pack response before spending.