endpoint
POST
/api/credits/autotopup
Configure automatic top-ups
auth: sessionbase https://app.nz
Request
curl -sX POST https://app.nz/api/credits/autotopup \
-H "Authorization: Bearer pk_live_..." \
-H "Content-Type: application/json" \
-d '{}'Billing & plans
Everything is paid from one prepaid credit balance (credits are ~$0.001 each). On top of pay-as-you-go, a Pro ($20), Ultra ($60), or Max ($200) plan grants monthly credits, a guaranteed number of concurrent machines, and per-product free quotas. Plan credits are used before purchased credits and roll over for one month.
Plan tiers
freeplan$0 — pay-as-you-go credits, shared worker pool.proplan$20/mo — 25,000 credits, 1 guaranteed machine.ultraplan$60/mo — 80,000 credits, 3 machines + priority.maxplan$200/mo — 280,000 credits, 6 machines + top priority.Check your plan and subscribe from the CLI
# Inspect the catalog
curl -s https://app.nz/api/plans | jq
# From the CLI (app login first)
app plan show
app plan subscribe ultra
app billing usageMore in Billing & plans
GET
/api/pricingUsage-based pricing: model token rates, compute, search, credit unitGET/api/plansList plan catalog (price, credits, machines, quotas)GET/api/plans/meYour plan, credit balance, and product quota usagePOST/api/plans/subscribeStart a Pro/Ultra/Max checkoutPOST/api/plans/cancelCancel at period endPOST/api/plans/portalOpen the Stripe billing portalGET/api/credits/balancePrepaid credit balance + auto-topupPOST/api/credits/checkoutBuy credit packs