Blog Post

FinOps Blog
12 MIN READ

Cap it with GitHub, make it count with Azure: governing GitHub Copilot spend

tonimontez's avatar
tonimontez
Icon for Microsoft rankMicrosoft
Jul 27, 2026

When GitHub Copilot moved to usage-based billing, a predictable per-seat cost became a variable one, and teams now have to answer two questions: how do we control this spend, and how do we make it count on infrastructure we already own? GitHub's native budgets are the right first move. This post shows the next layer for teams that need it: route Copilot's bring-your-own-key through an Azure API Management gateway in front of Azure AI Foundry, and you get real-time per-developer token quotas, per-developer metrics in Azure Monitor, and the token consumption on your own Azure meters. It ships with a one-command azd sample you can deploy and try.

The good news is that GitHub gives you real native controls, and you should turn them on first. The part worth writing down is where those native controls stop, and what an Azure API Management gatew...
Updated Jul 21, 2026
Version 1.0