import { CommuneClient } from 'commune-ai';
const commune = new CommuneClient({ apiKey: process.env.COMMUNE_API_KEY });
const bundles = await commune.credits.listBundles();
for (const bundle of bundles) {
console.log(`${bundle.id}: ${bundle.credits} credits for $${bundle.price}`);
console.log(` $${bundle.price_per_credit} per credit`);
}
from commune import CommuneClient
client = CommuneClient()
bundles = client.credits.list_bundles()
for bundle in bundles:
print(f"{bundle.id}: {bundle.credits} credits for ${bundle.price}")
print(f" ${bundle.price_per_credit} per credit")
list_credit_bundles()
curl https://api.commune.email/v1/credits/bundles \
-H "Authorization: Bearer comm_..."
commune credits bundles
{
"data": [
{
"id": "starter",
"credits": 1000,
"price": 12,
"price_per_credit": "0.0120"
},
{
"id": "growth",
"credits": 5000,
"price": 55,
"price_per_credit": "0.0110"
},
{
"id": "scale",
"credits": 20000,
"price": 200,
"price_per_credit": "0.0100"
}
]
}
Credits
List Credit Bundles
List available credit bundles that can be purchased as one-time add-ons. Purchased credits roll over and never expire.
GET
/
v1
/
credits
/
bundles
import { CommuneClient } from 'commune-ai';
const commune = new CommuneClient({ apiKey: process.env.COMMUNE_API_KEY });
const bundles = await commune.credits.listBundles();
for (const bundle of bundles) {
console.log(`${bundle.id}: ${bundle.credits} credits for $${bundle.price}`);
console.log(` $${bundle.price_per_credit} per credit`);
}
from commune import CommuneClient
client = CommuneClient()
bundles = client.credits.list_bundles()
for bundle in bundles:
print(f"{bundle.id}: {bundle.credits} credits for ${bundle.price}")
print(f" ${bundle.price_per_credit} per credit")
list_credit_bundles()
curl https://api.commune.email/v1/credits/bundles \
-H "Authorization: Bearer comm_..."
commune credits bundles
{
"data": [
{
"id": "starter",
"credits": 1000,
"price": 12,
"price_per_credit": "0.0120"
},
{
"id": "growth",
"credits": 5000,
"price": 55,
"price_per_credit": "0.0110"
},
{
"id": "scale",
"credits": 20000,
"price": 200,
"price_per_credit": "0.0100"
}
]
}
import { CommuneClient } from 'commune-ai';
const commune = new CommuneClient({ apiKey: process.env.COMMUNE_API_KEY });
const bundles = await commune.credits.listBundles();
for (const bundle of bundles) {
console.log(`${bundle.id}: ${bundle.credits} credits for $${bundle.price}`);
console.log(` $${bundle.price_per_credit} per credit`);
}
from commune import CommuneClient
client = CommuneClient()
bundles = client.credits.list_bundles()
for bundle in bundles:
print(f"{bundle.id}: {bundle.credits} credits for ${bundle.price}")
print(f" ${bundle.price_per_credit} per credit")
list_credit_bundles()
curl https://api.commune.email/v1/credits/bundles \
-H "Authorization: Bearer comm_..."
commune credits bundles
{
"data": [
{
"id": "starter",
"credits": 1000,
"price": 12,
"price_per_credit": "0.0120"
},
{
"id": "growth",
"credits": 5000,
"price": 55,
"price_per_credit": "0.0110"
},
{
"id": "scale",
"credits": 20000,
"price": 200,
"price_per_credit": "0.0100"
}
]
}
Response
CreditBundle[]
Array of all available credit bundles.
Larger bundles offer better per-credit pricing:
- Starter (1,000 credits): $0.0120/credit
- Growth (5,000 credits): $0.0110/credit
- Scale (20,000 credits): $0.0100/credit
Last modified on March 19, 2026
Was this page helpful?

