packages/cloud-frontend/content/billing.mdx
import { Callout, Cards } from "@/docs/components";
elizaOS Cloud bills usage in USD-backed credits for flexible, pay-as-you-go pricing.
<Callout type="info"> Provider pricing is refreshed from upstream catalogs and pricing pages. The dashboard and API Explorer reflect the latest stored rates; this page gives the billing model and current ranges, not a frozen source-of-truth table. </Callout>$0.00024 to $0.018 per 1K input tokens.text-embedding-3-small is currently about $0.000024 per 1K input tokens after markup.$0.0468 to $0.0960 per generated image.$0.336 to $3.840.$0.060 to $0.120 per 1K characters after markup.$0.0044 per minute after markup.| Resource | Cost |
|---|---|
| Container (per day) | 0.67 credits (~$20/mo) |
| Container deployment (one-time) | 0.50 credits |
| Knowledge storage (per GB/day) | 0.01 credits |
Purchase credit packs from the dashboard. The available pack sizes and promotions can change over time, so use the billing UI or credit-pack API for the current offerings.
View your balance at Dashboard → Billing.
curl -X GET "https://elizacloud.ai/api/v1/credits/summary" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"balance": 4523.5,
"pending": 0,
"usage": {
"today": 45.2,
"thisMonth": 1250.0
}
}
curl -X POST "https://elizacloud.ai/api/stripe/create-checkout-session" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"packId": "growth"
}'
Pay with USDC via x402 protocol:
curl -X POST "https://elizacloud.ai/api/v1/credits/topup" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "X-PAYMENT: <x402-payment-header>"
<Callout type="info">See crypto payment documentation for details.</Callout>
Configure automatic credit refills:
curl -X POST "https://elizacloud.ai/api/auto-top-up/settings" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"enabled": true,
"threshold": 100,
"amount": 1000
}'
| Setting | Description |
|---|---|
enabled | Enable auto top-up |
threshold | Trigger when balance falls below |
amount | Credits to add |
Track your spending via the credits summary endpoint:
curl -X GET "https://elizacloud.ai/api/v1/credits/summary" \
-H "Authorization: Bearer YOUR_API_KEY"
See the Credits API for the complete response format including usage breakdown by agents and apps.
curl -X GET "https://elizacloud.ai/api/invoices/list" \
-H "Authorization: Bearer YOUR_API_KEY"
curl -X GET "https://elizacloud.ai/api/invoices/{id}" \
-H "Authorization: Bearer YOUR_API_KEY"
Payment methods are managed through the Stripe checkout flow. When you create a checkout session via /api/v1/credits/checkout, Stripe handles payment method collection securely.
Cost alerts can be configured in your Dashboard → Billing settings. You can set:
New accounts receive:
<Callout type="info">Free credits expire after 30 days of inactivity.</Callout>
For high-volume usage:
Contact [email protected] for enterprise plans.