Billing & Credits
Vocobase uses a credit-based billing system. Credits are consumed based on the duration of your voice sessions.
How Credits Work
Credit Calculation
1 credit = 60 seconds of voice conversationCredits are calculated pro-rata:
- 30 seconds = 0.5 credits
- 90 seconds = 1.5 credits
- 2 minutes = 2 credits
When Credits Are Deducted
Credits are deducted when a session ends. The amount is based on the total session duration from connection to disconnection.
Purchasing Credits
- Go to Billing in the dashboard
- Click Purchase Credits
- Enter the amount (100 - 10,000 credits)
- Complete the payment
Credit Packages
| Credits | Price | Per Credit |
|---|---|---|
| 100 | $10 | $0.10 |
| 500 | $45 | $0.09 |
| 1,000 | $80 | $0.08 |
| 5,000 | $350 | $0.07 |
| 10,000 | $600 | $0.06 |
Transaction History
View all credit transactions in the Billing section:
| Type | Description |
|---|---|
| PURCHASE | Credits added via payment |
| USAGE | Credits consumed by sessions |
| BONUS | Promotional or referral credits |
| REFUND | Credits returned (rare cases) |
Insufficient Credits
When your balance reaches zero:
- New session requests fail with
INSUFFICIENT_CREDITSerror - Active sessions continue until they end naturally
Handling in Your App
<VoiceAgent
apiKey="..."
agentName="..."
onError={(error) => {
if (error.code === 'INSUFFICIENT_CREDITS') {
showUpgradePrompt()
}
}}
/>FAQ
Are unused credits refundable?
Credits do not expire and are non-refundable. They remain in your account until used.
What happens if a session fails?
If a session fails to connect or ends abnormally, you are not charged for that session.
Last updated on