Credits
How credits work, what they're used for, and how to buy more
Credits
Credits are the currency of LaraCopilot. They are consumed whenever the AI generates or modifies code — for new projects and follow-up prompts alike.
How credits are used
| Action | Credit cost |
|---|---|
| Generating a new project | Varies by project complexity |
| Follow-up prompt in Chat | Varies by change complexity |
| AI code generation in IDE | Varies by request |
Credits are deducted from your team's balance in real time. If credits run out mid-generation, the stream stops with a credits_exhausted notification — no partial charges are applied for incomplete work.
Checking your balance
Go to Credits in the sidebar to see:
- Current Balance — available credits right now
- Total Purchased — all credits ever added to this team
- Total Used — all credits consumed across all projects
- Total Transactions — count of all credit events
The balance shown is always live — it updates immediately after any purchase or usage event.
Buying credits
- Go to Credits in the sidebar
- Enter the dollar amount you want to purchase
- The estimated credits you'll receive is shown below the input
- Click Purchase Credits
- You're redirected to a Stripe checkout page
- Complete payment — your balance updates immediately
Purchases are one-time and don't expire. They stack with any subscription-based monthly credits.
Subscription credits
If you're on a paid plan, you receive a monthly credit allowance as part of your subscription. These credits are added at the start of each billing cycle.
- Monthly allowance credits do not roll over to the next month
- One-time purchased credits do not expire and carry over indefinitely
See Plans & Billing for the credit amounts included in each plan.
Coupon codes
If you have a coupon code, you can redeem it for bonus credits:
- Go to Credits in the sidebar
- Find the coupon section and enter your code
- Click Redeem
- Credits are added to your balance immediately
Transaction history
Click History in the Credits section to see a full log of all credit events:
| Transaction type | Description |
|---|---|
| Purchase | Credits added from a one-time purchase |
| Admin | Credits added by an admin (e.g. bonuses, support credits) |
| Usage | Credits deducted by AI generation |
Each entry shows the amount (positive for additions, negative for deductions), a description, the date, and status.
Use the filter buttons at the top to show only purchases or only usage transactions.
Project usage breakdown
The Credits page also shows a breakdown of credits consumed per project:
- Project name
- Total credits used by that project
- Whether the project is still active or has been deleted
This helps you understand which projects are consuming the most credits.
Running out of credits
If your team has zero credits and you try to generate:
- The chat form shows a "Not enough credits" error
- Generation via the Agent API returns a
400response with the same message - Mid-stream: generation stops with a
credits_exhaustedSSE event
To continue, purchase additional credits or upgrade to a plan with a higher monthly allowance.