Managing Sessions, Persistence, and Credits
A container is cheap because it runs only when you need it and stops when you do not. The everyday management follows from that idea: you see your running containers, switch between them, close one cleanly, and know precisely what is saved and what is thrown away. Leaving a viewer and shutting down its container are different actions, and the last terminal exiting has its own effect. Then there is the question that makes people nervous about any cloud environment: what does this cost, and how do I make sure a container I forgot about does not run up a bill?
Containers run on universal usage credits and are available on every plan, including Free. Credits are drawn only while a container is running. A closed container draws nothing. See pricing.
Your Containers List
The Your containers list sits at the top of a project's AI Container screen as soon as you have a container, and shows every session you have live, whichever project you opened it from: queued, scheduling, starting, running, idle, or closing. That includes your containers from other projects and the containers of the Virtual Workers you hired or are the human manager of; an administrator who manages your organization's containers also sees every worker's container there. Each row names the kind of container, shows its status, marks the one you have open, and shows its size and how long it has been up.
From the list you can:
- Open a container to switch to it and work in its terminal, editor, and desktop. The one you have open shows Current instead.
- Terminate a container you are done with. It is closed at once and any container charges stop. In Backbuild's cloud its compute is released straight away; on a remote host, the host removes the container when it next checks in.
- Graceful close the container you have open while it is running, which lets it finish its work in an orderly way before it closes.
- New container when you need a fresh one, for example at a larger size or with a different desktop editor.
A Virtual Worker's container belongs to the worker, not to the person who started it, so Terminate and Graceful close on a worker's row work only for a role that manages your organization's containers. For anyone else, including the worker's human manager, the request is refused.
This is also your safeguard against forgotten containers. Because the list shows everything you have running and how long each has been up, a container left on is visible rather than hidden, and you can terminate it in one action.
Every Container You Run, in One Place
For more detail on the same containers, open Settings, then Current Containers under User Settings, which opens the My containers page. Totals at the top show how many containers you have, their combined running time, their projected usage in credits, and the next automatic lifetime limit, when one applies. Each container's card shows its kind, its status, how long it has been running, and a live estimate of the credits that running time has used at its hourly rate; the amount actually charged is settled while it runs, about every five minutes, and the last seconds when it closes. You can search the list or filter it by status. Select a container to inspect it, then Request graceful close or Force stop it. On a Virtual Worker's container both follow the same rule as the list: they work only for a role that manages your organization's containers.
When the Last Terminal Closes or Exits
Closing the final live terminal is different from closing one of several terminal tabs. When the last shell exits, or when you ask to close it, Backbuild keeps the terminal pane and its scrollback mounted while it asks what should happen next.
| Choice | What happens | Billing effect |
|---|---|---|
| Stay connected | Closes the prompt and leaves everything as it was. Offered when you asked to close the last terminal. | No change: the container keeps running and drawing credits. |
| Start a new shell | A new shell opens on the existing container connection. The old terminal remains available as a scrollback tab for copying. | The same container keeps running and drawing credits. |
| Disconnect and leave running | Your viewer disconnects. The container and its work continue in the background, ready to reopen from your containers list. | The container keeps drawing credits until you shut it down. |
| Yes, shut down | The container is closed at once, exactly as Terminate closes it. Your home folder is kept. | Container charges stop at once. |
Backbuild opens the replacement shell before closing a last live shell that you asked to replace. If replacement fails, it keeps the prompt, the existing terminal, and its scrollback available and shows an error. It does not enter a reconnect loop or discard the screen you may need to copy.
Can I close the browser but leave a long job running? Yes. Choose Disconnect and leave running. Reopen the container from your containers list when you are ready. Remember that a running container continues to draw credits.
What if my shell exited but I need its output? Keep the retained terminal tab open. Select Start a new shell to continue working without removing the old scrollback.
Closing a Container
There are two ways to close a container, both on its row in your containers list.
- Terminate closes the container at once. It asks you to confirm, then tears the container down without waiting for anything running inside it, so even a container that has stopped responding is closed and stops billing straight away. On a remote host, the host removes the container when it next checks in. Any unsaved work in the live session is lost; your home folder is preserved.
- Graceful close, offered on the container you have open while it is running, stops new work from reaching the container and lets it finish writing out its session record, after which it closes. It needs no confirmation.
In practice: save your files (they live in the home folder), then close the container either way without worry.
What is the difference between Terminate and Graceful close? Terminate takes effect at once and works even on a container that has stopped responding (a remote host removes the container when it next checks in); Graceful close lets the container wind down by itself. Both release the container and keep your home folder. Neither one deletes your saved files: the home folder is what carries your work to the next session.
Exactly What Persists
This is the single most important thing to understand about any disposable cloud environment, and the honest answer for Backbuild containers is simple.
| What | Survives teardown? |
|---|---|
| Your home folder (your files and saved work) | Yes. While the container runs you work on a copy of it inside the container, and when the container shuts down that copy is written back to private storage that only your own containers in that project can reach. It is restored when you next launch a container in the same project. Each project has its own home folder, so files saved in one project's container are not in another's. |
| The running machine's live state (running processes, anything not saved to the home folder) | No. The running container is released on teardown. Save your work to the home folder to keep it. |
| Paired coding-agent access | Yes, through your selected Backbuild Secrets vault. Credential files are not saved in the home folder. Each fresh container restores every supported coding agent you paired when its vault grant is active. |
The active session is remembered per project, so if you reload while a container is running, you return to it rather than to the launch screen. When a session ends, that memory clears and the next visit starts fresh at the launch screen. Nothing you did not save to the home folder is retained as machine state. Because the home folder is written back when the container shuts down, not continuously while it runs, a container that is lost without shutting down, for example when the machine under it fails, loses the changes made in that session; push work that matters to a repository as you go. Paired coding-agent access follows a separate path: the container restores it from the vault you chose, not from a file copied out of the old machine. If the grant has been revoked or is unavailable, the affected agent stays signed out instead of falling back to another credential source.
If I close the container, do I lose my files? No, not the ones in your home folder. That folder is written back to private storage when the container shuts down, and restored when you next launch a container in the same project. What is lost is the live machine state: running processes and anything you did not save into the home folder. So save your work, then close.
How do I start completely fresh? Launch a new container. Your home folder still carries your saved files; if you want an empty workspace, remove what you no longer need before or after relaunching.
Do I have to pair every coding agent again after relaunch? No. Each paired, supported agent is restored from your selected vault when its grant remains active. Revoking the grant prevents future restoration.
What It Costs, and How to Avoid a Surprise Bill
Cost has one governing rule: you pay for the time a container runs, from the moment it is ready until it closes. Everything else follows from that.
- The rate is the credits-per-hour on the size card. Larger sizes cost more per hour; smaller ones cost less. Running time is settled about every five minutes while the container runs. Each session is billed for at least one minute and then in whole minutes, rounded up; where the underlying provider bills in larger increments, the session's minimum and increment match the provider's.
- Your own hosts have their own rule. Up to 10 containers running at the same time on your organization's Remote Hosts draw no container credits; each one beyond those 10 costs your plan's rate per container-hour (2,500 credits on Free, 2,000 on Lite, 1,750 on Pro, 1,500 on Enterprise), billed by the second with no minimum.
- The status bar keeps the cost in view. While a container runs, the bar along the bottom of its terminal shows a running estimate of the credits the session has used so far (the size's rate times the time since it became ready) and how long it has been up; the exact charge is settled as it runs and completed when the container closes.
- Closed containers cost nothing. There is no charge for a container that is not running, and no separate charge for keeping your home folder between sessions.
- Real-time syncing to a running container draws from your Real-Time Session Minutes, of which every organization gets 10,800 free each month, and only active time counts; idle time never does.
A charged container you launch keeps running, and keeps drawing credits, until you close it: stepping away from the keyboard or closing the browser tab does not stop it. That is deliberate, because a long build or an agent run should not die when you look away. The safeguards are in your hands and your administrator's:
- Close it when you are done. Use Terminate or Graceful close in your containers list, or Yes, shut down when the last terminal closes.
- Check the list. Your containers list shows everything you have running and for how long, and Current Containers in Settings adds the projected credits, so a forgotten container is visible and one action from closed.
- Limits your administrator sets. Under Settings, then Policies, then Containers, an administrator can cap how many containers your organization runs at once, and can give containers that start automatically for AI work a maximum lifetime.
- A new container needs its first 30 minutes of credits. A container starts only when your organization's available credits cover 30 minutes at its rate. Available means your balance minus what your running containers have already set aside. That amount is set aside, not spent: you are charged only for the time the container actually runs. Your organization's first 10 containers running at the same time on its own Remote Hosts need no container-credit hold; each one beyond those 10 is charged and held at your plan's rate. Container time is paid in credits even when the AI in it runs on your own key; when Ask AI or a virtual worker cannot start its container for this reason, its notice offers Buy credits.
How a running container stays paid for
About every five minutes, Backbuild checks each running container: it charges the time used since the last check and sets aside the credits for the next 30 minutes. As long as that succeeds, nothing interrupts your work.
- When credits run out. If the next 30 minutes cannot be set aside, the container is shut down. It stops at once, even if someone is using its terminal, unless a Virtual Worker task is in progress in it; then it gets up to five more minutes to finish or hand the task back. Your organization's owners and admins are told in the app and by email that the container stopped because the organization ran out of credits. Unfinished Virtual Worker tasks go back to the queue, never marked complete, and resume when credits are added.
- Time that ran past your credits. If a container used more time than your available credits covered (for example, in those last five minutes), the difference is recorded as owed. It is settled first from the next credits you add, and no new container starts until it is.
- When credits cannot be checked. If a problem on our side keeps Backbuild from confirming your balance, containers keep running on the 30 minutes already set aside. If the check still has not succeeded after 25 minutes, the shutdown starts (a container with no Virtual Worker task in progress stops then), and it is finished by 30 minutes after the last successful check. Owners and admins get a different notice, saying the platform could not confirm the organization's credit balance, so you can tell it apart from running out of credits. Unfinished Virtual Worker tasks go back to the queue and resume once credits can be checked again.
- Large balances ride out a check problem. If your balance at the last successful check covered more than a full day of your organization's container usage, your containers keep running through such a problem instead of stopping at 25 minutes. The shutdown starts only when the credits your containers have used since that check reach two thirds of that balance (containers that started or ended since then count too), and it is finished within five minutes. New containers can still start meanwhile, as long as their own first 30 minutes can be set aside, and each one counts toward that two thirds.
Will a container I forget about run up a bill? A charged container keeps drawing credits until you close it. Own-host containers within the included allowance draw no container credits, even if you leave them running. Close containers you are not using. Your containers list shows everything running and for how long, and Terminate closes one in a single action, even a container that has stopped responding.
Am I paying for an idle machine? Yes, if it is running. A running container draws its per-hour rate whether or not you are typing. The way to pay nothing is to close it; your home folder is kept for next time. Own-host containers within the included allowance draw no container credits while running.
What happens if my credits run out during a session? At the next check, about every five minutes, a container whose next 30 minutes cannot be set aside is shut down: at once, or within five minutes if a Virtual Worker task is in progress in it. Your owners and admins are notified, and you cannot start another container until your available credits cover its first 30 minutes, so add credits and close what you no longer need.
Why did my container stop when I still had credits? Read the notice your owners and admins received. It says whether the organization ran out of credits, reached its monthly budget cap, a worker reached its monthly limit, or the platform could not confirm the credit balance for 25 minutes. In the last case nothing was wrong with your credits; start the container again once the problem has passed.
Do the 30 minutes set aside cost anything? No. They are held so a running container is always covered, then released at the next check; only the time the container actually ran is charged.
Where to Next
- Universal Usage Credits: what a credit buys, packages, and rollover.
- Real-Time Session Minutes: the active-sync allowance and how it meters.
- Container Policies and Administration: for admins, controlling sizes, backends, and who can launch.