Video: Usage-Based Billing with Confidence: GitHub Billing Platform Controls | Duration: 2764s | Summary: Usage-Based Billing with Confidence: GitHub Billing Platform Controls | Chapters: Welcome & Introduction (9.68s), Webinar Overview (164.425s), Usage-Based Billing Transition (288.095s), Usage-Based Pricing (450.515s), Pricing Structure Updates (559.3s), Billing Changes (663.86s), Token Usage Basics (725.18s), Usage Factors (820.325s), Auto Mode Intelligence (967.23s), AI Credit Pooling (1100.325s), Budget Control Levels (1257.03s), User Level Budgets (1447.355s), Budget Interaction Logic (1613.565s), Budget Management Strategy (1756.35s), Billing Preview Tool (1891.105s), Timeline and Transition (2029.98s), Budget Scenarios (2188.595s), Cost Chargeback Models (2492.095s), Next Steps Forward (2582.34s), Closing Remarks (2719.755s)
Transcript for "Usage-Based Billing with Confidence: GitHub Billing Platform Controls":
Hello there, folks. Thank you very much for joining. We're gonna give everybody just a couple of minutes to get on and then we'll kick things off. Probably kick off yeah. Give it to about two minutes past, and then we'll get going. Lovely. For those just joining, I can see the numbers are totting up. We're just going to give it till two minutes past the hour and then we'll get started. Okay. I think that will do. I think given everyone a couple of minutes to join. Thank you very much for joining and spending the next hour or so with me. I'm Grocer Loth. I'm a solutions engineer here at GitHub. This is the usage based billing webinar, really digging into some of the budget controls around usage based billing with GitHub Copilot. Now before we get started, I do just want to mention that I ran a very similar session last week. If you saw that one and you've joined this one, just be aware that we're going to cover pretty much the same set of content. It's effectively a repeat. For those who are new, lovely, nice to meet you. What are we covering today? We're going to get a bit of a dive into how Copilot Billing is evolving and some of the changes that that's bringing and how we're going to be approaching that. We'll then have a quick look at some technical enhancements that are coming out with auto mode. We'll then be digging into a bit of detail around the new shared usage consumption model. We'll get into a lot of that later. We'll then go and have another look at how you can get to control that usage and spend with the budgeting controls. Some of that is new as well. Definitely worth covering. Then we'll finish with some example scenarios to get a bit of an idea of how some of this works in practice. Another call out is we do have a Q and A. I've got a whole host of lovely colleagues in the background who are there waiting to see your questions. I think on the right hand side of your page, you should see a Q and A box. As I go through, please drop questions in there and hopefully somebody will get back to you. I will call out as well. In the webinar we did last week, we had a huge host of questions like hundreds and hundreds, which is really great to see, but it meant that practically we couldn't get round to all of those questions. It might be that if there are a lot of very similar questions, the team will answer one or two of them. Just keep an eye on questions as have been answered as well. Hopefully you'll get plenty of information from there. One of the things I always like to know, the first question I'd be asking is hey is this going to be recorded and can I go and catch up on it later? Absolutely. So this is being recorded. We'll be sending out an email after the webinar with the recording link in there. Okay, let's get started. So What is the move to usage based billing? This is definitely a hot topic at the moment. Starting June 1, premium request units, so you'll know those as PRUs, They're going to be replaced by a new currency which we're calling GitHub AI credits. Now those credits are going to be consumed in a different way compared to how PRUs are consumed today. They're based on a token usage measurement. If you're not familiar with the concept of a token when it relates to AI, it's a way of measuring the input and output of large language models. Effectively, it's like a way of counting words in a sentence. If you're new to the idea of tokens, just think of them as a count of number of words. These new GitHub AI credits will be consumed based on the tokens, input tokens, output tokens, cache tokens, and reasoning tokens of the models that you're using. Different features will produce a different amount of tokens and the way you use those features will change the token usage and that will reflect in the consumption of your GitHub AI credits. It's worth mentioning as well, the API rates for each model do differ so depending on the complexity and size of that model, they have different rates and you will consume those credits according to the published API rates that we have for those models In terms of when this is happening, this is all going live on June 1. Let's be real, fairly soon, a couple of weeks from now. It's worth calling out. There's also a billing preview throughout May, so this month. There's two elements to that. There's a billing preview tool that lets you see how your current usage will look under the new billing model. That's available and went live today. I'll dig into that later. There's also the ability to go and look at what opt into a billing preview. If you want to go and have a play around with this, that's possible as well as a private preview. If you want to do that, I would go talk to your account team and see how they can help you with that. That's a super high level overview of what's changing. Now look, what's the driver behind this change? Fundamentally, if you look at how Copilot has evolved over the last months and years, Like most technologies, it starts out fairly simple and gets more and more advanced and more capable. As that has progressed, we found that the PRU measurement has become in some instances separated from the underlying compute costs of those Copilot features. We're moving away from the PRU pricing and going to this usage based model, which gives us a lot more flexibility It better aligns the usage and value you're getting from Copilot from the billing methods It gives us a lot more flexibility and adaptability, which means as we move forward, we can bring out new features and new models. And under this new pricing model, we can do that and basically it's more straightforward. I'll give you an example of what that looks like in practice. We're planning to bring out a much larger context size windows with the idea that now under the new pricing model, we can reflect the same context windows that you'd get natively from the model vendors. We'll be able to provide those to you in Copilot as well. And all being well, we're expecting that to land on June 1 as well. A nice feature enhancement there is actually really quite exciting. Now, what's not changing? The base pricing is staying the same. That's still $19 for Copilot business, dollars 39 for Copilot enterprise. The core developer experience is still included as it is today. That's your next edit suggestions and code completions in the IDEs. They're still included and do not consume AI credits. Now I mentioned the plan values are staying the same. Why this gets interesting is how this relates to token amounts. Now for, say, Copilot business, you get the face value of $19 in included AI credits. You get $19 worth of usage credits and then the same for enterprise. They go into a pooled model across all users so you get a lot more flexibility in how you consume that, but I'll dig into that in a couple of slides time. The other thing I'd like to call out is we have a promotion going through June, July, and August billing periods where for the same business Copilot enterprise price, you get a higher level of AI credits included. Really, the idea there is to smooth over and give a bit more flexibility in the transition from the PRU pricing to the new AI credit pricing. That's just worth bearing in mind as well. A couple of callouts that are important that are worth bearing in mind. Currently today, if a user runs out of PRUs, there's a fallback model that allows them to continue working, but it's a free model. Under the new usage based billing, that's going away. All usage really falls under the consumption of AI credits. Then also on the Copilot code review side, currently as it stands today, code review runs on top of GitHub actions, but we haven't been counting the action minutes that are consumed through that. Moving forward, the action minutes are going to be consumed in the same per minute rate as like all your other GitHub action workflows. Two important callouts there. How does this really work under the hood? I've mentioned that we're moving to the token based measurements. Tokens come in a few different forms. You've got the input, output tokens, you've got cached tokens, and then for some models, you've also got reasoning tokens as well. All of those count towards your usage. We've got two concepts that we're creating to go alongside this. You've got included usage and an additional usage. You'll hear me refer to that a lot as we move forward. The included usage, that's the amount of credits that you get from your Copilot licenses. For example, that Copilot business gives you $19 of usage per licence. That is your included usage. Your additional usage is any usage above and beyond that included usage from the licence? That's measured in dollars and AI credits. One AI credit is worth 1 US cents. Like a $10 budget, that's a thousand AI credits. You could also control this additional usage through budgets in a number of different ways. And that's more or less what this session is all around. We'll drill into this later as well. Now I've used the term usage a lot and I think it's just helpful to go and understand what kind of real world activities will influence the usage and really that's the usage, token usage, token measurements, kind of all the same thing. Now one of the really big ones is the model you're choosing to use. What LLM AI model are you using? Each one of the models comes with a different rate card and that's effectively like a multiplier on your usage. If you're using a small computationally not as intensive model, that's cheaper. If you're using a really advanced large model that uses a lot of compute, you'll see that generally with a higher rate card associated with it. Now we've mentioned input tokens and output tokens. They're directly related to the prompt size and the response size. How big the prompt you're giving Copilot and then what kind of size response you're expecting to get out of Copilot all impacts your usage. Additionally, so in the same vein, the context and cache all again relates into the token usage. How many files you're asking Copilot to look at as context along with your prompt, that also all has an impact on your usage. Agent driven workflow so that your agentic features, these can have a really quite significant impact on usage, particularly when you're looking at long running sessions that are doing multiple steps, multiple workflows in the same run. All of that has an impact on your usage. Then finally, and I think this is one that you'll see become more and more important as time progresses, is the MCP servers and skills that you're connecting Copilot to, depending on what they look like and what they're doing, they all also will incur a usage value alongside that. Now, something to be excited about for sure is auto mode. Auto mode is our solution to rather than picking the model you want to be using with Copilot, stick it on auto mode and auto mode will automatically choose which model you're using. As it sounds today, auto mode primarily looks at routing based on availability of models. Sending your requests to a model that's currently got plenty of availability. What we're bringing in and we're hoping this again to land on the first of June is auto mode to be a bit more intelligent about how it picks which model it sends you to. This is based on the complexity of the prompt you're giving auto mode. A simpler task should be sent to a simpler, cheaper model and a more advanced task sent to a more advanced model. Really looking under the hood here, at the moment, this is really the delineation between using reasoning models and models that don't do reasoning. If it's a more advanced prompt, send it to a reasoning model. If it's simpler, send it to a model that's not using reasoning. Effectively, what this means is as a developer, at least for me, I always tend to just use the largest model. I can admit to that because my boss isn't on the call, so it's okay. But I don't really want to be worrying about what model I use day to day. From now on, I can just stick that on auto mode and that auto mode automatically decide what model is the most efficient, the most sensible model, and I should have the same experience effectively right sizing my model choice. It's also worth mentioning auto mode gets a 10% discount. Definitely worth considering looking further at auto mode. Let's start looking at cost control and budgets and how all these credits flying around, how we can look at making sure they get spent in the right way for your organization. First up, and this is a really key change, is we now have AI credit cooling. As I've mentioned already, every Copilot license brings with it an amount of AI credits. In the traditional PRU model, those credits were directly assigned to the user from the license and that user couldn't share PRUs. In the new model, you have pooling. Every Copilot license, its credits put into a single shared enterprise pool. Now every user using Copilot draws from this shared pool first. That's really key. You'll see why as we dig into some other budgets, but that impacts how the budgets work. The pool is always consumed first by any user that's using it. Once the pool is drained and there's no pool left, if you so wish, you can go and do additional spend above and beyond that pool. We've got budgets to allow you to control that as well. But what's really nice about this is you can share the pooled usage between users. As an example here, I've got my first user that isn't using all of their Copilot usage. They're not a particularly heavy user. I've then got my second user. That's a really heavy user of Copilot. They love it. They're doing all sorts with it. Now, in the PRU model, user two, as you can see here, they're hitting a lot of additional spend. But I've got a completeity with user one that's not being used. Now onto the right hand side. With the shared pool, all of that usage is within my pool. We've got the same usage, but because I'm sharing that pool with my users, we're not going into additional spend. This should basically enable a whole lot of efficiency across your organization. I'm going to go dig into the budget controls that we have now. As I do that, I want you to try and keep in mind just these four questions to help give you an idea of how you might then go and use these budget options. So the first one is, yeah, how much as a business are you willing to spend on AI services? How much should any engineer on their own be able to spend? What's the maximum each business unit or team can spend? And then finally, are there any exceptions to this rule? Do you have any cost centers or individuals that power users, they need much bigger budgets than what might be default across your organization? Just keep those in mind to give a little bit of color to how you might use the budget options. What are our budget options? I've spoken about them enough already. Let's get into it. You can have budgets at three primary levels. You've got the user level budget, you've got your cost center level budgets, and your enterprise level budgets. Now the user level budgets work differently from the cost center and enterprise level The user level budgets manage or control the full usage every AI credit that that user is consuming. That's pooled usage and also the additional usage. The cost centers and the enterprise level only manage additional usage, so they don't come into play with the pool. They only come into play once the pool is empty. If we dig into what those look like, we've got the enterprise level. This is a top level spend control across the whole organization. If you set your enterprise level to zero, there will be no additional spend across the enterprise. And then any more than that, set it to whatever you like above that and it's your top level spends control. A quick example there, if you've got 100 users, the Volvo Copilot Enterprise, they're all contributing $39 each, which is the list seat price for Copilot Enterprise. There's 100 of them. They're giving you $3,900 into the pool. If you then went to set your additional spend enterprise level budget to $2,000 you've got a total AI credit spend. All the credits available of your enterprise additional spend plus your pool, which in this example is $5,900 The enterprise is a top level spend control. If we move down one level, we've then got our cost center. This is very, very similar to the enterprise level. This is the maximum additional spend each cost center can incur. There's an important call out here. You actually have the ability for the cost center level to ignore a specific enterprise level budgets. You'll set that on the enterprise budget, but you can effectively have the cost center level ignore enterprise level budgets if you want to. We tried to build this in a way that it gives you as much flexibility as necessary to make this work for your organization. Okay. Then onto the user level. These are the ones that are new with the usage based billing. As I mentioned before, so the user level, this controls all AI credit consumption of the user, so pooled usage and additional usage combined. We've got two categories of use level budget. You've got the default user level budget. I like to think of this as the, I call it the fairness control. This is a per user budget that you set it once and it applies to every user in your enterprise. Really, this is there to stop or control users from using so much AI credits that they impact other users and make other users start hitting budgets. That's the default level. You then have the ability to set an individual user level budget. I think of this as like a power user override. This is a specific per user budget that supersedes the default user level budgets. Because this is a per user budget, you have to set it for every user you want to give, say a power user override. And the example here is, so if you've got a 100 users and they all need a $50 individual budget, you're going to have to set a 100 individual $50 budgets, so one for each user. There is an API available for this as well or there will be. You can do this programmatically. It's worth calling out as well. This won't apply to most of our customers, but for really large customers, GitHub has a top level budget limitation where the maximum number of budgets you can have is 10,000. Now all of these budgets do contribute towards that limit. Just bear that in mind if you're thinking about using a vast number of individual use level budgets. That's all the different budgets that are available. Now, how do they work together? This is key when you start to think through how you might want to set these budgets. Fundamentally, each one of those budgets has a veto. If any of those budgets hits zero, that stops the usage. But the way this is evaluated is really important. It's like a two phase approach. You've got what happens when the shared AI credit pool still has usage in it and what happens when that pool has run out and is empty. While there's still credits in the pool, all that matters is the user level budget because the other budgets, the cost center and the enterprise level only impact additional spend. If you're still consuming your pooled licenses, then as long as a user has use level budget remaining, then they can go and use Copilot Now once that credit pool is empty, we move on to phase two And here this is where the Cost Center budget and the Enterprise budget also come into play If any one of those is zero, then the user is blocked So if their Cost Center still got budget but their enterprise level budget is empty, then they're blocked, vice versa with any of them. You only need to hit one of your budgets and you'll get blocked. Now, moving on from that, additionally, it's worth calling out that each one of these budgets is a maximum spend limitation. They're not reserving or partitioning any AI credits. Particularly when you're thinking about the cost center budgets, just bear in mind that just because a cost center has got a set budget doesn't necessarily mean that they'll get to use all of that budget. It could be that other users pull from a pool in a different way and that impacts what available usage there is. Effectively, they might hit a different budget first. Now that's a whole lot of stuff to think about as you like. How do we want to set this? If I were in your shoes looking at how I want to set this, a few things I'd be thinking through is, what do I want my user level budget to be in a way that prevents any one user from really consuming all of the AI credits and impacting everybody. But realistically, you don't want to be blocking huge numbers of users at the universal level budget because that just won't give a good experience. You'll also probably want some power users to have much higher level budgets. Maybe you trust more or they've got more funding in this part of the business they're in. You want to be able to have that flexibility. Again, cost center control, who the cost centers are, are there cost centers that are putting more of an emphasis on AI usage and how do you manage that? Then also the enablement piece. I think this gets really interesting. As we're moving towards a time when efficient and responsible use of AI is becoming more and more important, You might find that it makes sense to go with some enablement to your developers to help them use AI in a way that brings the most value out of it. I I think as well on that one, it's important that you know, we we want people to be using Copilot in the right way, but we also really, we don't want people to, at least in my opinion, focus too much on sort of micro optimization. Really, you want to be able to use these tools in the way that's going to work for you. And in the perfect world, all of this billing stuff gets out of the way, and you get to go and use these tools in whatever way makes sense. But things like, you know, enabling understanding and enabling auto mode might make sense. Okay, so next stage, I mentioned that we have some toolings that we built that will allow you to go and look at how your previous usage will look in the new usage based billing. We've released a tool. In fact, this is hot off the press. This came out this morning or I think last night, this morning, if you're in the EU, this allows you to go and preview your billing and you should be able to access this today. I think you might need admin privileges on your account, but it's there. If you go to your billing and licensing page, you'll get a pop up and it will prompt you to go and download an export file of your previous usage. You can then go and upload that into this Billing Preview tool and don't worry about the link. The link is in the UI so you can just click through. But then you'll get a page that looks a bit like what we've got here on the screenshot. This lets you dig down into all of your usage and what that looks like as we move forward. You can drill down, see usage on a per user level, look at the models you're using, look at that, the organizations and cost centers. But also you can go and run a bit of a simulation on what budgets you might want to set. So if you see on the left hand side here, there's a cost management pane. I'd recommend going and having a look at that and playing around with what budgets you're thinking about setting and see how they'll work and it'll show you how many users are being blocked, at what time during the month are they getting blocked. Just to give you a bit of an idea of helping answer the question of what should I be setting these budgets to. I appreciate it's not necessarily that straightforward. It doesn't jump straight out of the page at you, so it's nice to be able to have a play. I should say again, that's available today. You can go and play with that now. That's the budgets and how they work. Now let's go and see what this is going to be in terms of a timeline. How is this going to work as we move forward? Before June 1 today, you can set your existing PRU budgets. Most of you will have these set already. If not, you can go and set budgets that manage PRU spend today just like standard budgets. On June 1, when this changes, those existing PRU budgets that you've got will be automatically transitioned to manage AI credits. They'll work in the same way. Today they cover additional spend dollar value on PRUs. They will cover additional spend dollar value on credits moving forward. We'll also update the UI to match with the new credits and included usage. Key thing here though is on June 1, you won't have any of the user level budgets set because they're new, so they will go live on June 1. I would be looking at on June 1, have an idea of what you want those use level budgets to be and then go and put them in place. At least look at putting a default high level user budget on there for everybody just to make sure that everything goes nice and smoothly. We'll also be updating the dashboarding and reporting tools that we have. You'll be able to see as the month progresses, how you're drawing down on your included usage. See how that's progressing and then you can go and see how your additional spend is progressing beyond that. You'll also be able to go and dig down and explore that usage data. Filter it looking at usage by user, model, organization, cost center, really dig into that and whatever you need to. Actually, you'll be able to export that data as well. If you need to go and pull this and put it into a different tool, you can go and do that. Yeah, that's just a few of the things that you'll see changing as we progress over the next couple of weeks. Okay. Right. So now I'd like to take you through some budget scenarios. I've spent the last couple of weeks going and talking to customers, sort of covering some of this. And some of the feedback I've had is, hey look Greg, this is cool but how does it work in practice and particularly around the cost center scenarios? Basically put some numbers to this, what does it look like? I've got a couple of scenarios. I've got three scenarios I want to take you through. Now they're all very similar. We've got 10 users and each one of those are on Copilot business. They all bring $19 each in credits from their license that they put into our shared pool. We've got $190 of a shared pool. I've then also gone and set an enterprise budget at $310 Now effectively, what this means is total shared pool plus enterprise budget, we have $500 of AI credits that can be used within my organization. We've got a default user level budget at $50 In this scenario, we're at the end of the month. Everybody has used $50 We've exhausted the pool and the enterprise budget has also been used up. In some ways, this is like a perfect happy scenario. Everybody's had the same amount of usage. Everyone's had the same byte from that shared pool. In reality, everyone's also been blocked. You probably don't want the use of a budget to be exactly that usage and everyone's got to the end of the month and been blocked so everyone's had a fair use but you probably want to have those budgets slightly higher and again, when you're thinking about setting these budgets, you can go and use our billing preview tool to use the simulations and see what this might look like with your usage. Okay, now I want to bring in a cost center. I've got five of my users in a cost center now. We're halfway through the month. Everybody's used $19 which means my shared pool is fully exhausted. We still got an enterprise budget of $310 Nobody's used any of that yet. We've just used the shared pool and everyone's taken the same amount from that shared pool. Now that's important because the order you people consume from the shared pool can have an impact on how these budgets work. There's a bit of nuance here. If we drill down into the cost center budget, every user still has $31 left to use in that month. Now 31 times five is a $155 That's less than the cost center budget of $160 That means in this instance, that cost center budget is not hit and it doesn't end up blocking users. Users all get blocked by their use level budgets first. Now, if we change that scenario and we have a different level of usage from that shared pool, that changes how these budgets work. We're in the same scenario. We're halfway through the month. The shared pool has been exhausted. Any further usage is additional spend that eats into my enterprise budget and my cost center budget. In this instance, though, the users who aren't in the cost center have used more credits than the users within the cost center. Effectively, what this means is the users outside the cost center have taken a bigger bite of the shared pool compared to those in the cost center. Now if we look in the cost center, every user has $37 that they can now use that's left in their user level budget and 37 times five is a $185. So there's a maximum potential usage within my cost center of a $185. Now that's more than my cost center budget. That means that we're now hitting my cost center budget before we get to use our full $50 each. The key takeaway there is because the shared pool is across everybody, but the budgets don't come into effect until after those, the shared pool has been used, that really can have an impact on how the budgets work. Excuse me. I would bear that in mind when you're thinking about what you might want to set the budgets to. Additionally, this actually has quite a big impact on if you're wanting to do a chargeback model. Say each cost centre pays for their AI credit usage rather than just paying it centrally. If you want to split that usage out, you don't just want to be looking at the cost center budgets because that doesn't necessarily have a true reflection of what that cost center took from the shared pool. The way I would be looking at and recommending you to do is at the end of the month, take your CSV export of your usage and use that to drive your cost allocation and cost chargeback models rather than using the budgets because you'll get a more accurate and more true response there. That was a lot. We're nearly there, I promise. Next steps. What do I think you should be looking at? What order do you want to be doing things in as we move forward? First thing, prior to the June 1, I would recommend start using our billing preview tool. Use that to get an understanding of what your usage looks like and how that's going to be measured as we move forward to usage based billing. Use that to get an idea of what you want your top level enterprise guardrails to be and use that to put those enterprise level budgets in place. Effectively, what is the maximum as an organization, you you think you're willing to is sensible to spend per month? Then go and look at the cost center budgets, see whatever you make sense to do there, and you can put those in place. Point one, two, and three, you can do that all prior to June 1. As we progress and this goes live on June 1, go look at putting those user level budgets in place in a way that makes sense for your organization and again that's your default user level budgets and then go and put in those individual level budgets for the power users, if that makes sense. Then realistically, this is going to be something that evolves over time. I wouldn't see this as a set and forget. I would be looking at having a workflow where occasionally you go monitor your Copilot usage as an organization, look to see how that's evolving and fits in with the controls you put in place. Most of my customers, they've found that as we bring out more features for Copilot, they're getting more and more value from that, but they're also using it more and they're going back and looking at some of these controls and letting them evolve over time, essentially. Now I appreciate that was a lot to cover there. That's probably forty five minutes that made it feel like you were back in a a math lesson potentially. I hope not not too much. But look, I really appreciate you giving me your time today. I really hope that was useful. And, you know, I'm sure we've been lots of questions going forward and backwards in the chat. I can see see a few of them. But I hope that was, that was useful. Lovely. I hope you have a lovely rest of your day and a lovely rest of the week. All the best. Thank you.