CodeSandbox VM Frozen: Credits Ran Out
Quick answer
Per CodeSandbox docs, a VM Sandbox freezes when the workspace has too few credits to run it: on Free when credits run out, on Pro when the spending limit is reached. Upgrade, raise the limit, or wait for renewal.
Most likely fix: Raise the spending limit (Pro)
How to fix it
Try these in order — the most common fix is first.
1. Raise the spending limit (Pro)
- Open workspace billing settings
- Increase the maximum spending limit
- Restart the VM Sandbox
Did this fix it?2. Upgrade from Free
- Open workspace billing and choose Pro
- Restart the frozen VM Sandbox
Did this fix it?3. Use Browser Sandboxes and reduce usage
- Browser Sandboxes do not consume credits, so use them for frontend-only work
- Shut down VMs you are not using and pick smaller VM specs
Did this fix it?4. Wait for renewal
- Credits renew at the start of the next billing cycle
Did this fix it?
Symptoms
VM Sandboxes and repositories stop running and show as frozen; the preview does not come up.
Why it happens
- Free workspace used its monthly credits
- Pro workspace hit its maximum spending limit
- Large VM specs or many VMs left running
This guide also covers
- codesandbox credits ran out
- codesandbox vm frozen
- codesandbox spending limit
- codesandbox free plan limits
Still not working?
If CodeSandbox keeps failing, you're not alone. See every CodeSandbox problem users report or the alternatives people switch to.
We build software. Any software.
Paying for apps that don't quite fit? We build exactly what you need.
We're a small team of developers who build custom software fast. Not just tools like CodeSandbox: web and mobile apps, games, desktop software, AI tools, internal tools: whatever you have in mind. We build and run our own products too: booking platforms, games, learning apps. See our work
- Web apps & SaaS
- Mobile apps (iOS & Android)
- Games
- Desktop software
- AI tools & automations
- Internal tools & dashboards
- Client portals & booking
- Your own version of any tool
- ✓ Free 15-min call to scope it
- ✓ Price agreed up front
- ✓ Your data, your code
The same problem in other apps
Other CodeSandbox errors
- CodeSandbox 502 "Dev Server Has Not Started Yet" Error
- CodeSandbox Not Loading or Not Starting
- CodeSandbox Preview Not Showing for Private Sandbox
- CodeSandbox "Request Entity Too Large" Error on Import or Commit
- CodeSandbox "Only a Max of 250 Modules Is Allowed" Import Error
- CodeSandbox "Could Not Find Dependency" Error
- CodeSandbox VM Slow or Out of Memory
- CodeSandbox Private Sandboxes on the Free Plan