Skip to main content

Credit Wallet

The credit wallet covers the cost of AI token consumption when your application makes requests through the Vexrail API. Each API request consumes tokens from the underlying LLM, and these costs are billed against your credit wallet.

How Credits Work

When your AI application sends a request through Vexrail:

  1. The request is forwarded to the LLM provider.
  2. The LLM processes the request, consuming prompt and completion tokens.
  3. The token cost is deducted from your credit wallet.

This is separate from your earnings wallet, which tracks revenue from ad placements.

Credit Wallet Balance

Your credit wallet shows:

  • Current balance -- Your remaining credit for token consumption.

Your credit balance must be positive for chat completion requests to succeed. If your credit balance reaches zero, API requests will be rejected until you add more funds.

Adding Credits

  1. Go to Billing from the sidebar.
  2. Switch to the Credit Wallet tab.
  3. Click Add Funds.
  4. Select or enter an amount.
  5. Complete the payment.

Funds are typically available within minutes after a successful payment.

Transaction History

The credit transaction history shows:

TypeDescription
Top-upFunds you added to your credit wallet.
ConsumptionToken usage charges from API requests.

Managing Costs

  • Choose the right model -- Different models have different token costs. Using a smaller model for simple queries can reduce consumption.
  • Monitor usage -- Check your credit transaction history to understand your consumption patterns.
  • Set up alerts -- Keep an eye on your credit balance and top up before it runs out to avoid service interruptions.
caution

If your credit balance reaches zero, chat completion requests through the Vexrail API will fail. Make sure to maintain a positive balance for uninterrupted service.