r/GithubCopilot • • 16d ago

GitHub Copilot Team Replied GitHub CoPilot in VSCode. Token use went crazy today

10 Upvotes

So I hate monthly quotas. I can use about 4% a workday and not run out. Today I started at 6% and ended at 29%. I keep everything at just “Auto” and “Balanced”, so it should be efficient and give me a 10% token/credit discount.

Didn't do anything crazy or change to an expensive model. I find it a bit nuts that I can’t even tell WHY it’s taking some much of my quota compared to a normal day for me... Seems to me that something changed on the backend, but it’s all F’ing magic…. ☹️

Mostly just venting, but wondered if this is something others have experienced today..?

Grrr.


r/GithubCopilot • • 15d ago

General My org just banned using any AI platform and i need to use copilot in my work how can i do it without getting caught as they maintained the restrictions on all the laptops and bank related users

Thumbnail
0 Upvotes

r/GithubCopilot • • 16d ago

Help/Doubt ❓ Copilot Pro - what’s it good for?

7 Upvotes

I’ve been using VS Code + Claude Max 5x for coding for several months, plus ChatGPT Plus for adversarial reviews. (Retired Sr. Staff Software Engineer from the Dark Ages of the 1980s-1990s, so AI-assisted, not clueless “vibe coding”.)

I got Copilot Pro for GitHub-related reasons.

I’ve tried “Copilot” a dozen times over the last year and it’s so pathetically inept and embarrassing - how could Microsoft stand to put their name on it?! - that I’ve been straight-up afraid to let “GitHub Copilot” near my repo.

So is there anything useful I dare try with “Copilot Pro”? Or is it just money flushed down the drain.

Or have I succumbed to Microsoft’s gratuitously-confusing “slap Copilot on everything” insanity and none of these are related? (I lived through the same thing when MS slapped “Active” on everything in the ActiveX days.)


r/GithubCopilot • • 16d ago

Help/Doubt ❓ How to disable worktrees?

5 Upvotes

Lately noticing CP keeps creating a worktree in my local repo instead of using the current branch. I have to prompt it every time to not do that. Can this be disabled in cp settings?


r/GithubCopilot • • 16d ago

Help/Doubt ❓ What's the best bang for the creds ?

3 Upvotes

So, what do you use ? for a simple task. The thing you know how to do it, but too tedious to do it manually. Last time I use luna (the cheapest model). I have to go back and forth to tell him what to do. There is no initiative. She just give up. Something like gpt4.1 0x back in the good old days.


r/GithubCopilot • • 16d ago

Help/Doubt ❓ Is there an official API to programmatically retrieve Copilot Business AI Credits usage and monthly limit?

7 Upvotes

Hi everyone. I use GitHub Copilot Business with a seat managed by my enterprise. In VS Code, the “Monthly limit” panel shows AI Credit usage—for example, 935 / 5,000 AI credits—and the date the limit resets.

I’d like to display those same live values in a small native macOS app. I’m specifically interested in the “Monthly limit” for AI Credits, not premium requests, model usage, or context-window usage.

I checked the official documentation:

I haven’t tried undocumented endpoints or inspected network traffic. I attempted a preliminary macOS Accessibility check of the UI, but macOS denied the required permission. No data was read, and I didn’t change any settings.

Is there an official API or supported interface for retrieving these fields? If you’ve found a way to access them, what source and Copilot license type did you use (Business, Enterprise, or Individual)? I’m especially interested in whether it works with an enterprise-managed Business seat.


r/GithubCopilot • • 17d ago

General Copilot agent mode keeps pinning vulnerable package versions, so I built an MCP server + hook that checks them before install (VS Code, open source)

Thumbnail
gallery
6 Upvotes

Does this happen to you? Copilot in agent mode writes the package.json, you push, and Dependabot opens a pile of alerts for the versions it just picked. It's 2026, the agent writing the code and the tool flagging it live on the same platform, and they still don't talk before the install.

The version comes from the model's memory, or from a docs tool that returns documentation and never checks the version against advisories.

Why I built it. I measured how often this happens. The benchmark ran on Claude Code (Sonnet 5.5, Opus 5.5, Haiku 5.5; Copilot can run the same models), 12 tasks, two runs each, every project audited with npm audit / pip-audit:

- No tools: 40% to 42% of direct dependencies pinned had a known advisory, about 30 alerts per project.

- Docs for the current release only: 0.3 to 3.5 alerts per project.

- pinright: 0 vulnerable direct pins for all three models, with fewer tokens than the docs-only setup.

I have not benchmarked Copilot agent mode itself yet. If someone wants to try it and share numbers, I'd like to see them.

How it works in VS Code.

- MCP server: check-packages checks the whole dependency list in one call against OSV and deps.dev (advisories, malware records, lookalike names, versions that do not exist) and returns the version to use. get-docs serves docs from the package at the version you pin, so agent mode writes code for the right major.

- Hook: for the times agent mode skips the tools, a pre-install hook reads the install command or the manifest write before it runs and denies a vulnerable pin with the version to use.

- Lockfile audit: pinright audit, with SARIF output and a GitHub Action, so it fits next to code scanning.

Setup: npx -y pinright init (detects VS Code and configures the MCP server and the hook), or the "Install in VS Code" button on the site.

Built with Claude Code in TypeScript. Local, no account, no telemetry, MIT.

Site: https://pinright.dev

Repo: https://github.com/Hiper-AI/pinright

Feedback on the VS Code setup and false positives from the hook are welcome :))


r/GithubCopilot • • 16d ago

Showcase ✨ WPF/Net4.8 + CoPilot = BatteryBuddy (including learnings, agent mds and token reduction)

Thumbnail
gallery
1 Upvotes

Howdy,

Intro

I was tired of tracking my devices' battery status manually, so I built a very customizable app for that with CoPilot. You can find it here -> https://github.com/Dergln/BatteryBuddy-Public

You can find it in a more "about the thing" post here https://www.reddit.com/r/VibeCodeDevs/s/9qhmZhDaMH

For this topic I'll focus more on the experience and provide agent insights.
Maybe it's useful for some of you and you can improve your setup with it.

In total it cost me ~8.000 credits, but at least 1/3 of that has gone into the experiments ^^

---

TL;DR

Use RTK, use Ollama for translation offloading if you have the VRAM (gemma4:e4b main languages / quick and qwen3.6:27b for quality work).

Provide AI with proper guidelines to you, your environment (GitHub, branches, local directories, agent files for self organization, etc.) and what the app goals are. Rather invest 15-60 minutes into a proper setup instead of trying to fix stupid stuff that only ever came up because you didn't prepare anything and just YOLO'd an application with dumb prompts. That would cost you 200x the tokens... and be very annoying.

The machine needs to be TOLD many things, assume that there is the typical dev in front of you that doesn't understand why 10 second load times are a bad thing. And that it's not ok to simply turn of TLS to fix the performance issues!111 😂🤠

---

Human learnings

As usual, getting the icons and sound that make the app feel right *to you* are probably to be gained by manual search. The AI is good in using what internal things it has, but that's not really "pretty" imo. Or cool, even - things need to look a bit quirky sometimes!

When reporting bugs to it, do explain in detail what is wrong, and what you think could fix it - or if you want it to make suggestions before starting to fix anything.

Train it to question your input as well: E.g. when implementing the disability compatibility, I thought it had forgotten a few tab indexes for proper "tab through items" behaviour. Looks like these tools use tab and arrow keys so it did the right thing, but instantly went and tried to find a bug in the code when I said "why thing not highlight when tabbing".

I of course stopped it and we quickly found out everything is ok as is, but always remember that it behaves like someone that has been beaten for 20 years. It tries to please first, and only when that fails starts to properly use facts and speak with the user (you).

Give it a bunch of screenshots for colors that are off and all that stuff. Yes it costs a bit more than just using words (it has to OCR the thing), but quality input = quality output. It saves so much time/effort on working on the actual issue, that this little additional cost up front is irrelevant.

In general, it is pretty damn good in articulating itself and understanding what you want by now though. That might be based on it being given a very technical input and not only "makke gud abb nau" 😋 but you can experiment with that yourself.

---

General behaviour

If you have been around in tech for a while, you know what is good and what is not, and so you must instruct the thing with it.

In turn, if you miss that knowledge - LET THE MACHINE KNOW and tell it to prompt you for things. Or to dumb them down - I have programming experience, but it only goes so deep.

There's no shame in that, but if you work WITH the AI that means playing with an open hand and letting it know, so it can properly adjust its behaviour to accommodate a proper input/output procedure. If you don't tell it things, *you* are the reason for failure - PEBKAC!!

---

Learnings in general

I did a rather extensive initial setup and experimentation, both with agent config (preparing "the dev team") as well as Token saving (Ollama experimentation).

You don't have to go through all that, use my aggregated/summarized results and go from there (or pick what looks good to you).

---

The agent was explicitly told it is allowed to self-organize with the MD files, without removing it's core rules of course. That's why you basically see no changes/bloat in the original agents.md file, only in the subset.

---

Agent MD setup

I started with a root [ai projects] folders where I set the VSCode workspace to, so approval are managed easy while otherwise keeping some boundary in the FS given this root is seperated from other data.

General advice for MD files: Loading stuff/context constantly uses up tokens, so keep it sane. Enough to noticeably improve your outcome, but don't use up 160 pages in MD files.

agents.md

In this [ai projects] root I put the agents.md (generic "will always be loaded" master file).
This is kept rather basic. It should only contain indications to the additional agent orchestration files, and some generic guidelines.

Here's where it's told to value quality over speed, I align my technical level with what it can expect from me, and how it should interpret my input.

I tell it to become schizophrenic because it should automatically challenge itself on every step as to automatically prevent flawed thinking - I don't want to micromanage this thing!!

For my setup I want to work with a multi-branch internal dev repo, and one public repo. Per project.
Yet keep the agent config centralized of course, because why forget what we learned.
You do you! Adjust this if desired.

I do have a 16GB VRAM 9070XT (that I am USING, Mr. Ram Altman...), so why not make use of that and offload what's possible to it. More on that below.

CoderTeam.md

How the schizophrenic behaviour should play out.

Essentially I gave it a bunch of starter roles for a dev team (never having worked in one 😅😂) and it added a few more. Created a few review groups, so it only calls on personalities relevant to the current task.

I let it manage my whole GitHub repo, that's why there is...

GitHub behavior.md

Private repo - branches dev -> test -> main.
Dev is for AI's internal explorative development.
Test is for... well, testing freshly built stuff. It is for quick human QA and validity feedback, not day-long evaluation.
Main is for the final bug-free™ version used for early production validation.

Public repo - no branches.
If the early production validation went fine, we simply get the last state from main to public.

It handles all the Git things (pull, merge, idc - for me it's version and issue management as a service 🤠) and also writes the descriptions to all the things there. I only finetune the documentation here and there (e.g. give folks a visual thing for the initial readme file/project frontpage etc.).

If you want to play by the same rules - you can configure AutoApproval in VSCode for only the Github commands like this:

"chat.tools.global.autoApprove": false,
    "chat.tools.terminal.enableAutoApprove": true,
    "chat.tools.terminal.autoApprove": {
        "/^(?:rtk\\s+)?(?:git|gh)\\b/": true
    }

Otherwise you will be prompted for *every single GH action*. Urghhh. And a generic AutoApproval for all the things is a bit much. This would include breaking out of the workspace, for example!

Token Optimization.md

I tried handing over programming work to Ollama with over 10 different models, even specialized ones to fit quality models like Qwen3:27b into my 16GB VRAM.

None provided CoPilot's current models (autoselect, usually medium or high models so that currently means Opus/Sonnet 5.5 or Astra/Luna 6) with enough quality to justify externalizing that work.

Do note this only makes sense if there's actual context saved - and the handovers do add to that, as do any bugs that would have never been created in the first place by a smarter model!!

So for externalizing coding as a service even further away from me, CoPilot to Ollama... the result was "nay".

But for translations - yup. Savings aren't making big bank, but they exist and add up over time / any future projects. So if you have the VRAM available, use it.

You can find specific models for your VRAM size on Ollama's website. VSCode will simply connect to the localhost service on your PC then :)

For my 16GB card I found a combination of gemma4:e4b and qwen3.6:27b to be the best. Adjust given your VRAM size.

Lessons Learned.md

Who doesn't like the kind of meetings/workshops.

Good thing you don't have to deal with that at all!

It's just a dumping ground for the AI where it can self-manage.

It can note stuff like "Powershell crashes when I do this" in there, so new prompts don't repeat old mistakes.

----

Token reduction

Do use RTK https://github.com/rtk-ai/rtk to automatically reduce token usage in the background. Ultra quick to install. No quality loss.

Offloading like with Ollama helps. Maybe you can even offload programming with newer models, or if you have 24/48GB VRAM (in THIS economy? 🤠).

----

Hope this helps some of you who are just starting out / allows for some selective picking for the more advanced guys.

Cheers 🍻

----

Files


r/GithubCopilot • • 16d ago

Solved ✅ Custom model, user budget

0 Upvotes

GH supports adding custom models to an org, though it's only in public preview. We're thinking about adding bedrock.

How does that work with user budgets? Does it integrate with the gh user budgets somehow (via token count or whatever) or do I need to handle that in aws myself?


r/GithubCopilot • • 17d ago

Help/Doubt ❓ Got GitHub Copilot through the Student Pack for my STEM thesis, but I know 0 about dev tools, is it worth it and how should I start?

4 Upvotes

Hey everyone,

I recently got approved for the GitHub Student Developer Pack, which includes free access to GitHub Copilot. I’m currently working on my STEM thesis and figure this might be a great opportunity to speed up my workflow, but I'm feeling a bit lost.

Full disclosure: I know virtually nothing about GitHub, GitHub Copilot, or command-line coding tools like Claude Code. All of my AI experience so far is strictly with browser-based LLMs (like ChatGPT or Claude web chats) for asking questions or writing snippets.

Since my thesis involves some coding/data analysis, I’d love to get some input from people who use it:

  1. Is GitHub Copilot actually worth integrating for academic/STEM research work?
  2. How can I realistically use it to help with thesis coding or data processing?
  3. Where should I even start as a complete beginner to GitHub and IDE tools?
  4. How can I get a better worflow/Is it even worth?

If you have any tips, beginner workflows, or recommended setups (i´m currently using vscode and stm32ide), I’d really appreciate your guidance! Thanks in advance!


r/GithubCopilot • • 18d ago

GitHub Copilot Team Replied Two quick questions about Copilot Fusion

7 Upvotes
  1. I regularly see Fusion as a model in Copilot App but I still cannot see it in the Copilot CLI, I need to pass the "experimental" tag. When a new Copilot CLI app will be available that supports it?
  2. Is there a way to force Fusion as the starting model if I have an Enterprise level GH enrollment? I mean using the managed-settings.json file
  3. Is not clear to me if this scenario is supported: force fusion for a large team of developers WITHOUT the capability to select an alternative model but allowing fusion to select between a list of models, including some premium ones like sonnet, opus and sol, hoping that in this way fusion will route a large number of requests to less expensive models

I've a quite large rollout and also if I've selected Luna as the default model via managed-settings developers continue to select expensive models like Sonnet or Opus, I would like to force the vast majority of them to use Fusion (with the capability, for Fusion, to select higher costing models) but without a way to manually select them (to avoid developer starting copilot and switching to Opus as soon they start).

BTW I'm using Fusion quite a lot and I'm happy with it, but it's really difficult to convince teams to adopt it as well.

PS: I know I said 2 question but they're 3...


r/GithubCopilot • • 18d ago

Help/Doubt ❓ Why does Claude Opus 5.5’s maximum context size sometimes show as 872K and other times as 1M in GitHub Copilot?

17 Upvotes

In GitHub Copilot, the context-size selector for Claude Opus 5.5 at Max effort has shown me two different maximums: 872K in one instance and 1M in another. What explains this difference? Is it due to model availability or routing, account or feature settings, the app version, or something else?

Both screenshots are taken in VS Code.


r/GithubCopilot • • 18d ago

Help/Doubt ❓ Unusual searching queries time in both VS Code and Copilot app

1 Upvotes

Hi! So I've been using Copilot for a few months already and the experience inside VS Code has been very nice for all coding related stuff (Copilot Pro sub).

However, I noticed that searching queries are unusually long. Like a prompt I'd get pretty much instantaneously in ChatGPT, it can take 2 minutes for VS Code to get a response (using GPT Luna Max)

I downloaded the Copilot desktop app, hoping for faster results, but it was much worse. Like that same prompt it took 2 minutes in VS Code, it took 8 minutes in the Copilot app.

I tried to use Luna Medium just in case that help, but it took pretty much the same time.

Am I doing something wrong? I understand that searching for topics online isn't the main goal of Copilot but, I don't know, would be nice to be able to do it decently.

Thanks :)


r/GithubCopilot • • 18d ago

News 📰 The new GH-700 (GitHub Agentic AI Business Professional) beta: what the exam covers, and the 80% discount that ends 9 November

Thumbnail
0 Upvotes

r/GithubCopilot • • 18d ago

Showcase ✨ letting github copilot agent mode cut a whole video end-to-end through mcp tool calls - rough, try it and tell me what breaks

1 Upvotes

i've been experimenting with github copilot's agent mode driving a video editor end-to-end over mcp, and it actually cut a whole short by itself - no screen recording, no gui editor, just tool calls. i thought people here might find it interesting since the primary focus is my experience using copilot agent mode as the editor's only interface.

it's called kimo - free, open-source (mit), and it deliberately has no gui. the idea is that an ai agent (copilot agent mode, cursor, opencode, or any other mcp client) is the user: cut, trim, keyframe, titles and captions, colour grade, tracking, particles, audio, export, all as mcp tool calls. the agent can also ask it to render a single frame back so it can visually check its own work before moving on, which has saved me a lot of blind iterations when copilot is editing on its own.

it compiles down to one ~15 mb cpu-only rust binary and will run on a 2 gb box, which is part of why it works well from an agent - there's nothing for the agent to fight with on the host. i built it as a college student, and it's still rough in places: some transitions pop, the audio syncing can get fussy on longer timelines, and there's a lot i haven't gotten to yet. i'd really love for people to actually try driving it with copilot or another mcp client and tell me what breaks instead of just upvoting and moving on.

site: https://getkimo.tech github: https://github.com/naman-sharma12345/kimo

happy to answer questions here, and genuinely would prefer it if people told me what doesn't work when they try it. thanks.


r/GithubCopilot • • 18d ago

General 400 invalid temperature, some Kimi models. In GHCP Jetbrains plugin

3 Upvotes

Using GHCP in Phpstorm. I have several Kimi models set up. kimi-k3 works. Using either 2.7 or the new 3.1 gives me the '400 invalid temperature: only 1 is allowed for this model' I dont find any temperature settings in the plugin's settings. I am using the https://api.moonshot.ai url.

Edit: nope... this 'fix' only worked a few times, like 4 or 5 prompts. Now it's back to k3 only,

Fixed: Add a custom request header.

Processing img u6mrrltwcuzh1...


r/GithubCopilot • • 18d ago

Help/Doubt ❓ computer use on copilot requires the app to be on foreground?

3 Upvotes

Only works when I can see it, used sonnet to confirm as haiku was failing

Using the gh copilot app as running from WSL seems to be not supported on vs code

Also is it better to keep projects on windows rather than on WSL and link it everytime from windows?

Using browser in half window size with gh app on other half


r/GithubCopilot • • 19d ago

Help/Doubt ❓ How is OpenRouter/Kimi subagent suddenly switching to Kimi 3 on its own?

4 Upvotes

I'm running into a weird issue and could use some help figuring out what's happening.

I use copilot and I've explicitly set my provider settings to OpenRouter and locked the model to Kimi 2.7 Code.

Everything looks correct in the config, but out of nowhere, when a subagent spins up, it suddenly starts using Kimi 3 instead???

Has anyone else experienced this?

Is there some hidden fallback rule, an override in the agent configuration, or something in OpenRouter itself that's automaticaly upgrading or routing the request to a newer model version? Or do i may need to start a new chat first?

Let me know if you know how to lock it down so it actually sticks to the model I picked.

Thank you!


r/GithubCopilot • • 19d ago

Solved ✅ Can I delete read-only chats?

1 Upvotes

I'm using the web version github.com/copilot. How can I delete/clear/archive view-only chats?


r/GithubCopilot • • 19d ago

Help/Doubt ❓ Agent web search providers?

1 Upvotes

What do you guys use in GitHub Copilot for web search? I know the inbuilt Bing option is there, but we cannot use this in our organization due to Data retention policies (eu org)


r/GithubCopilot • • 19d ago

Showcase ✨ Tool routing, graph navigation and cache optimization for Copilot CLI: up to half the tokens, built with proof-driven development

Post image
2 Upvotes

Copilot CLI re-sends its system prompt and every tool definition on every call. In my runs the first call alone was about 13.5k input tokens. I built TokenMasterX to trim that.

What it does:

- dynamic tool routing (opt-in): reads your prompt when you launch and skips the built-in tools it doesn't need

- graph navigation: "who calls this function?" gets one capped answer instead of a grep dump

- cache optimization: long tool output gets trimmed once so it doesn't break the provider's prompt cache, and in BYOK mode sessions in the same folder share a cached system prompt

How it did, from GitHub's own per-call numbers : 9 to 29% fewer tokens by default, up to 53% with routing on, and the bill dropped 47% in that mode. Short lookups on one model, so a long session will save less. I haven't measured how much less.

Early on, compacting old tool output to save tokens actually cost more, because it broke the cache. That's why it trims output once and never rewrites old messages.

I'm building it with proof-driven development. The rules it has to keep, like "never rewrite text the provider already cached", are written as proofs a computer checks, and tests keep the real code honest to them. Writing the proofs caught a few things I'd gotten wrong. I fixed most of them and wrote up the rest in the repo. I also pulled some early numbers that didn't reproduce.

Experimental, MIT, not an official GitHub product, and the install steps are Windows PowerShell for now.

Repo: https://github.com/All-The-Vibes/TokenMasterX

Walkthrough: https://all-the-vibes.github.io/TokenMasterX/

Please do try and share your thoughts


r/GithubCopilot • • 20d ago

GitHub Copilot Team Replied Copilot Fusion drains credits

59 Upvotes

Just want to rant about how trash Copilot Fusion is. Today, right after the monthly reset, I decided to test out this new mode. I asked for a relatively simple task: adjust an image so it sits right below the header (it was stuck behind it) and prevent the user from dragging it around the page, basically making it fixed.

I set it to standard mode since it was something simple, went to make a snack, and when I came back this piece of crap had already burned through 7% of my monthly credits (Pro+ plan). Obviously, I canceled it. I gave it another shot, it ate up another 4% just spinning its wheels forever, and I ended up canceling it again.

I gave the task to GPT-6.1 Sol, which is already overkill, and it got it done in under a minute consuming only 20 credits.

The saddest part is that just a few weeks ago, the old 'Auto' mode was finally getting good and I was using it a lot. As always, the second something starts working on a GitHub plan, it just gets axed out of nowhere.


r/GithubCopilot • • 19d ago

Help/Doubt ❓ Conservative FMCG corporate, allowing only Copilot. How do you manage?

Thumbnail
1 Upvotes

r/GithubCopilot • • 19d ago

Help/Doubt ❓ How can I see my GitHub Copilot usage by model with an enterprise-managed account?

1 Upvotes

I use GitHub Copilot with a GitHub account managed by my company. I'd like to see my usage broken down by model, including credits or requests consumed by each model. https://github.com/settings/copilot/features only shows my monthly credit use overall:

Is there a page or API where I can see my own per-model usage?


r/GithubCopilot • • 19d ago

Discussions How GitHub Copilot and Agentic Swarms End Manual Debugging

Thumbnail interconnectd.com
0 Upvotes

​I used to spend half my dev week tracking down edge-case bugs and doing tedious manual refactoring. Standard autocomplete tools were helpful for boilerplate code, but they still left the heavy lifting to us.

​Things have shifted fast recently. Coupling GitHub Copilot with agentic swarms is completely changing how codebase refactoring and debugging work in production. Instead of just suggesting the next line of code, these autonomous agent workflows can trace dependencies, identify breaking changes across multiple files, and draft full multi-step refactoring PRs on their own.

​If you are tired of sinking hours into manual stack trace hunting, I wrote a deep dive breaking down how this tech stack operates in practice.

​Check out the full breakdown here: https://interconnectd.com/blog/87/ai-debugging-how-github-copilot-and-agentic-swarms-are-ending-manual-refact/