Making the most of your included free Codespaces usage #39697
-
This post has been replaced by the content in https://docs.github.com/en/codespaces/troubleshooting/troubleshooting-included-usage Retired postSince we released Codespaces for All a few weeks ago some of you have had questions about the free usage and how we count usage. See "About billing for GitHub Codespaces" for the details, but here's a tl;dr and some tips. Delete codespaces when you are done with your taskBecause Codespaces are ephemeral and can be quickly spun up for your work, you can safely delete them once you commit and push the changes you've made to a branch. We recommend that you delete codespaces when you are done with a task to maximize the value of your free included usage, or set a spending limit if you want to keep codespaces around for long periods of time. Codespaces usageWe count two dimensions for Codespaces usage: compute and storage. We first deduct the amount of each you use from your included (free) usage until either compute or storage are consumed. Once one of those limits is reached you can continue to work in your codespace once you've setup a spending limit and a payment method. GitHub provides enough free usage such that most people will never reach the included limits for open source contributions or side projects. It is not enough free usage to do every day work. Codespaces compute is counted in core hours, which is the sum of active time in a codespace, times the multiplier for that machine type (e.g. 2 for a 2 core machine, 8 for an 8 core machine, and so on). Active time is the time from create or resume, until suspension. The default timeout (time until suspend) is 30 minutes, but you can change that. Codespaces storage is counted in GB months, which is a cumulative measure of the total storage each codespace consumes from creation to deletion plus the storage for prebuilds. See the documentation for a detailed example
We are very happy to be bringing Codespaces to all of you, and are grateful for your feedback. |
Beta Was this translation helpful? Give feedback.
Replies: 22 comments 36 replies
-
I was using this as an Educator this semester, right before codespaces became "free" - My impression was that I would be able to use this resource as an educator for my approved github organization. Suddenly, with 2 weeks left in the semester, any repo checked out from GitHub Classroom cannot run a codespace. Is this a quirk of how the "free" rollout happened? Will I get my class back on track? This is so frustrating. I can't give my personal credit card out to all my students to use for this org and I can't ask them to give up their credit card to finish the last week of this class. I'm just an Adjunct Professor teaching this graduate course in open source computing at a State University. I'm so lost and so frustrated and need help urgently. |
Beta Was this translation helpful? Give feedback.
-
Hi, I used up my Codespaces free quota on this account last month But it's now another month and I still haven't received access to Codespaces? what's up? |
Beta Was this translation helpful? Give feedback.
-
You've used 100% of included services for GitHub Codespaces Storage I signed up for Codespaces a few days before the free plan rolled out. It's great! I see that I accumulated enough usage that I'm at 100%. I can see that on the red bar. But I don't know how that happened, so I don't know what to do to avoid it. With only 1 big number (the summary), I can't learn how to manage the details. Can I get an hour-by-hour detail of how it accumulated? (Actually, day-by-day would probably be good enough) Can I get a repo-by-repo detail of how it accumulated? Better still, since the charges accumulate hourly based on space multiplied by repo, it would be better to get time*repo snapshots (by the hour or by the day). P.S. I have a feeling that I should have deleted codespaces instead of stopping them, but I'd like to know (rather than feel). Data will help that. |
Beta Was this translation helpful? Give feedback.
-
Suggestion: Warn of excessive usage before it's all gone Remember when we were charged for text messages? Remember when it was easy to exceed plan limit for number of voice minutes? Remember when you'd get a notice saying that you were on target to exceed those? It sure would be nice to get mid-cycle alerts for Codespace, too. Something like
|
Beta Was this translation helpful? Give feedback.
-
I do appreciate that you put "We appreciate your feedback". So... as I incrementally unwedge myself from a deadlock
That final line gives me the idea for a user-generated (that's me!) backlog item:
|
Beta Was this translation helpful? Give feedback.
-
Final suggestion (for today...) Make the following line bold, italics, 4 points bigger, and highlighted in yellow so that the TL;DR; crowd can easily scan for this buried lead
That was my problem! I left the water running, then went on vacation! Thanks for a great service! I'm diggin' it. |
Beta Was this translation helpful? Give feedback.
-
Hi Craig, thank you for writing the example in the documentation. It has helped immensely to understand Codespaces pricing. But there is still confusion after reading this thread as well as that documentation page. More clarification is desired.
Thanks. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I removed all of my codespaces at least one cycle ago, but I'm still seeing an issue with not being able to create a new codespace due to my having used up all of my free available storage. I was participating in the beta prior to that so I'm wondering if the issues are tied to my usage not resetting properly. |
Beta Was this translation helpful? Give feedback.
-
What if I do not have a credit card and still want to pay somehow? |
Beta Was this translation helpful? Give feedback.
-
Trying to use github codespaces for classes during school. I am using github student. I managed to use 160.92 of 180.00 included core hours and I was wondering if I could reduce how much I was using? |
Beta Was this translation helpful? Give feedback.
-
We've published a new article on the docs site which should help with questions around the free usage included with personal accounts: https://docs.github.com/en/codespaces/troubleshooting/troubleshooting-included-usage |
Beta Was this translation helpful? Give feedback.
-
Anybody knows why 8core machines are now unavailable? I'm a free plan but used to be able to spin up 8 core codespaces on any repo, not anymore. Are they available to pro plan users, or they need to be enabled, similar to the 32gb ones? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I am getting the message that I'm out of storage in my codespace. I am looking to delete what I was doing many months ago and have since forgotten where that is or even what it was called. Do I need to put my payment information just for the pleasure of deleting that? or is there some other way? I'm trying to learn codespaces and probably did not turn it off or delete it when I built it. By the way, am I the only one confused by the algorithm for charges? Seems like an advance degree is needed. What happened to just displaying what is owed somewhere? If I do put my credit card information in how much will I be charged for this experiment I ran? |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
I have zero codespace being listed at https://github.com/codespaces. https://github.com/settings/billing shows I used all the storage and used 0 hour of codespace. I don't even remember having used codespace this month. What could have consumed all the quota? There is no more details. Also at https://github.com/settings/codespaces I see I have the Default idle timeout and Default retention period. |
Beta Was this translation helpful? Give feedback.
-
I also have this problem. Github keeps telling me "hey you've used N% of the included services for codespaces bla bla bla" (it was growing, until hit 100%) I also have never set up any prebuild crap whatsoever. It really looks like microsoft is has a hand made of ass, EVERYTHING it touches becomes a hunk of liquid shit. |
Beta Was this translation helpful? Give feedback.
-
I finally found wher this was hiding. It was under a repo I had made.
Get the usage report from GITHUB and it will tell you which repo. From
there you have to delete the pre build.
I would give more detail but honestly it was a hunt and fish method and I
don’t recall where I clicked to delete the prebuild.
…On Wed, Jun 14, 2023 at 7:08 AM RafaelKuhn ***@***.***> wrote:
I also have this problem.
Github keeps telling me "hey you've used N% of the included services for
codespaces bla bla bla" (it was growing, until hit 100%)
But I have zero codespaces open, I closed my last one months ago, whenever
I enter codespaces it shows nothing, and that crap keeps growing, what the
fuck is happening?
I also have never set up any prebuild crap whatsoever.
It really looks like microsoft is has a hand made of ass, EVERYTHING it
touches becomes a hunk of liquid shit.
—
Reply to this email directly, view it on GitHub
<#39697 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWUZCS2ZXP4G2WM4ZWWN3N3XLHAURANCNFSM6AAAAAASHECKXA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I keep recieving these and I have no codespaces even opened on my end on my account, I checked my repositories if it is occupying external code storage but found nothing. What is going on?! |
Beta Was this translation helpful? Give feedback.
-
I keep recieving these and I have no codespaces even opened on my end on my account, I checked my repositories if it is occupying external code storage but found nothing. What is going on?! |
Beta Was this translation helpful? Give feedback.
-
It's most likely that one or more Codespaces prebuilds are consuming your monthly included storage allowance. You can check this by clicking to expand the "Storage" section of your Codespaces usage details. If this shows use of "Prebuild Storage" you can generate a usage report to find out which repositories have prebuilds set up. See the instructions in the same article. Then go to the settings for those repositories and delete the prebuild configuration. See https://docs.github.com/en/codespaces/prebuilding-your-codespaces/managing-prebuilds#deleting-a-prebuild-configuration. |
Beta Was this translation helpful? Give feedback.
We've published a new article on the docs site which should help with questions around the free usage included with personal accounts: https://docs.github.com/en/codespaces/troubleshooting/troubleshooting-included-usage