Managing Sessions, Persistence, and Credits

A container is cheap because it runs only when you need it and stops when you do not. This guide teaches the everyday management around that idea: seeing your running containers, switching between them, closing one cleanly, and knowing precisely what is saved and what is thrown away. You will also learn the difference between leaving a viewer and shutting down its container, including what happens when the last terminal exits. Finally, this guide answers 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? After this page you will manage containers without waste or surprise charges.

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

After this section you will be able to find and manage every container you have running. 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 stopped at once and its compute is released.
  • 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.

The AI Container screen of the project Northwind support portal. Callout 1 marks the Your containers card: its heading, the line Containers you're running right now. Open one to switch to it, or terminate old ones you no longer need, and the New container button. Callout 2 marks a row for a Virtual worker container, Running, standard size, up 27 minutes. Callout 3 marks the row's Open and Terminate buttons. Below the list is the Launch a container card, with the Standard size card, whose backend and region line is blurred in this figure, the Desktop editor choice, and the AI account card.
The Your containers list on a project's AI Container screen. This person's only live container is a Virtual Worker's, started from the worker's page, and it is listed here all the same.

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 when the container 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.

The My containers page, opened from Current Containers under User Settings in the sidebar. Callout 1 marks the search box, which searches containers by session, provider, region, or worker, and the status filters: All statuses, Queued, Scheduling, Running, Idle, Starting, and Closing. Callout 2 marks the totals: Current containers 1, Server runtime 50m, Projected live usage 6,336 credits, and Next automatic lifetime limit None. Callout 3 marks the card of a running Virtual worker container, which reads Lifetime 50m, Projected 6,336 credits at 7,500 an hour; the line naming its tool and location is blurred in this figure. Callout 4 marks the inspector, which reads Select a current container until you pick one.
Current Containers shows every container you have running, across projects, with how long each has run and a live estimate of the credits it has used.

When the Last Terminal Closes or Exits

After this section you will be able to leave, recover, or shut down without losing the terminal screen you were using. 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.

ChoiceWhat happensBilling effect
Stay connectedCloses 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 shellA 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 runningYour 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 downThe container is stopped at once, exactly as Terminate stops it. Your home folder is kept.Container charges stop when it stops.

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

After this section you will know which way to end a session. There are two ways to close a container, both on its row in your containers list.

  • Terminate stops 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. 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 is immediate and works even on a container that has stopped responding; 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

After this section you will know, with no ambiguity, what survives a shutdown. This is the single most important thing to understand about any disposable cloud environment, and the honest answer for Backbuild containers is simple.

WhatSurvives 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 accessYes, 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.

One home folder, across launches 1. Launch a container a fresh machine with your home folder 2. Work while it runs it draws credits; save your work in the home folder 3. Terminate or Graceful close the home folder is saved and the machine is released 4. Closed files kept, no container charge 5. Relaunch home folder restored, paired coding agents restored from your vault Running processes and anything outside the home folder are not kept.
Closing a container releases the machine but keeps your home folder. Relaunching restores your saved files and, separately, your paired coding agents from your vault.

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

After this section you will be able to reason about container cost with confidence. 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 charged by the second, with a one-minute minimum per session, when the container closes.
  • 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 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 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.
  • No credits, no new containers. A container cannot be launched while your organization's credit balance is at zero or below.

Will a container I forget about run up a bill? It keeps running until it is closed, so 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.

What happens if my credits run out during a session? A container that is already running is not stopped when your balance reaches zero, and its time is charged when it closes. You cannot launch another container until your organization has credits again, so add credits and close what you no longer need.

Where to Next