Before Paying for Codespaces, Check What a Closed Tab Still Leaves Running
Short answer: Closing the browser tab doesn’t stop a codespace. GitHub says that if you close the tab, "the codespace remains running on the remote machine" until you stop it or it times out from inactivity, and compute is used while it runs. Stopping ends compute but not storage: "A stopped codespace incurs only storage … Read more