/credits
Overview
The /credits command displays your current workspace credit balance and provides a quick way to open the Console billing page to purchase more credits.
Usage
Alias: /buy
Prerequisites
You must be connected to Pensar Console via the /auth command before using /credits. If you’re not authenticated, Apex will prompt you to connect first.
What You’ll See
When you run /credits, Apex:
- Validates your authentication token
- Fetches your current workspace credit balance from the Pensar gateway
- Displays the balance along with your connected workspace name
Purchasing Credits
From the /credits screen, press the indicated key to open the Console credits page in your browser. This takes you directly to the purchase flow where you can:
- Buy credits instantly — choose from 30, 100, or enter a custom amount
- Start a monthly subscription — receive credits automatically each billing cycle
- Configure auto-reload — automatically top up when your balance drops below a threshold
For full details on credit purchases, auto-reload, and billing management, see the Console Billing & Usage documentation.
How Credits Work
Credits are a pre-paid balance (denominated in USD) stored at the workspace level in Pensar Console. When Apex uses Pensar managed inference, each AI request deducts from this balance based on the model used and tokens consumed.
Credits are shared across all billing categories in your workspace (Apex Inference and Continuous Pentesting). Monitor usage per category from Settings > Usage in Console.
Troubleshooting
'Not authenticated' error
Run /auth first to connect Apex to your Console workspace.
Balance shows $0.00
Open the Console billing page to purchase credits. You can also enable auto-reload to prevent your balance from reaching zero. See Console Billing & Usage.
Browser doesn't open
Copy the URL displayed in the terminal and open it manually in your browser.