gb balance
Show your Genbox credit balance.
Synopsis
gb balance [options]Description
Displays your current credit balance and usage information.
Options
| Option | Description |
|---|---|
--json | Output as JSON |
Examples
Check Balance
gb balanceOutput:
Credit Balance
Available: 1,250 credits
This month: 750 credits used
Running environments:
feature-auth medium 2 credits/hour
bugfix-login small 1 credit/hour
Estimated daily cost: 72 credits (at current usage)JSON Output
gb balance --json{
"available": 1250,
"used_this_month": 750,
"running_environments": [
{
"name": "feature-auth",
"size": "medium",
"credits_per_hour": 2
}
],
"estimated_daily": 72
}Credit Rates
| Size | vCPU | RAM | Credits/Hour |
|---|---|---|---|
| Small | 2 | 4 GB | 1 |
| Medium | 4 | 8 GB | 2 |
| Large | 8 | 16 GB | 4 |
| XL | 16 | 32 GB | 8 |
Notes
- Credits are consumed while environments run
- Stopped environments don’t consume credits
- Auto-destroy prevents unexpected charges
- Check balance regularly to avoid interruptions
See Also
Last updated on