Agent chat switches to Opus 5 on its own
Description
When I use Copilot Fusion in Agent chat it swaps to Claude Opus 5 on its own after finishing work on the current prompt. I've lost thousands of credits because of this already, not noticing the change in time and continuing the active session.
Issue Details
| Item | Value |
|---|---|
| Issue Category | Bug |
| Target | Visual Studio Code |
| Repository | Microsoft/vscode |
| VS Code Version | Code 1.144.0 (2c33b50b16c472efe58357d1d2a8a5414bc23fbf, 2026-10-27T20:18:03Z) |
| OS Version | Windows_NT x64 10.0.26200 |
System Info
| Item | Value |
|---|---|
| VS Code Version | Code 1.144.0 (2c33b50b16c472efe58357d1d2a8a5414bc23fbf, 2026-10-27T20:18:03Z) |
| OS Version | Windows_NT x64 10.0.26200 |
| CPUs | AMD Ryzen 7 9800X3D 8-Core Processor (16 x 4700) |
| GPU Status | 2d_canvas: enabled GPU0: VENDOR= 0x10de, DEVICE=0x2c02 [NVIDIA GeForce RTX 5080], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=32.0.16.1714 ACTIVE GPU1: VENDOR= 0x1002, DEVICE=0x13c0 [AMD Radeon(TM) Graphics], DRIVER_VERSION=32.0.21042.62 GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.9711 Machine model name: Machine model version: direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | |
| Memory (System) | 31.13GB (13.05GB free) |
| Process Argv | --crash-reporter-id 4d3405a1-cdf1-4105-acbd-ad13311ffbea |
| Screen Reader | no |
| VM | 0% |
| User Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.144.0 Chrome/150.0.7871.250 Electron/43.8.3 Safari/537.36 |
| Installation pure | true |
Extensions (18)
| Name | Identifier | Author | Version |
|---|---|---|---|
| GitLens — Git supercharged | eamodio.gitlens | eamodio | 19.5.0 |
| Figma for VS Code | figma.figma-vscode-extension | figma | 0.4.8 |
| GitHub Actions | github.vscode-github-actions | github | 0.32.3 |
| C# Dev Kit | ms-dotnettools.csdevkit | ms-dotnettools | 3.40.215 |
| C# | ms-dotnettools.csharp | ms-dotnettools | 2.160.4 |
| .NET Install Tool | ms-dotnettools.vscode-dotnet-runtime | ms-dotnettools | 3.2.0 |
| Data Workspace | ms-mssql.data-workspace-vscode | ms-mssql | 0.8.0 |
| SQL Server (mssql) | ms-mssql.mssql | ms-mssql | 1.47.0 |
| SQL Bindings | ms-mssql.sql-bindings-vscode | ms-mssql | 0.4.1 |
| SQL Database Projects | ms-mssql.sql-database-projects-vscode | ms-mssql | 1.9.0 |
| Python Debugger | ms-python.debugpy | ms-python | 2026.6.0 |
| Python | ms-python.python | ms-python | 2026.10.0 |
| Pylance | ms-python.vscode-pylance | ms-python | 2026.4.1 |
| Python Environments | ms-python.vscode-python-envs | ms-python | 1.40.0 |
| PowerShell | ms-vscode.powershell | ms-vscode | 2025.4.0 |
| Ollama | ollama.ollama | Ollama | 0.0.14 |
| WoW Lua Language Server | tradeskillmaster.wowlua-ls | TradeSkillMaster | 0.35.2 |
| Unity | visualstudiotoolsforunity.vstuc | visualstudiotoolsforunity | 1.3.2 |
Theme extensions: 9
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
478i5457:31544283
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
c3h7c220:31478652
ge8j1254_inline_auto_hint_haiku:31490510
cp_cls_c_1081:31454833
conptydll_true:31498968
core-renderer-profiling-on:31440367
e9c30283:31461165
46204921:31447328
capico_axe_098a3278:31590238
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
2d1bi976:31596492
i2gc6536:31499202
52612955:31516516
ddid_t:31478206
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_t_632:31543129
748c7209:31512887
32d76977:31512328
ha629193:31508444
a1ije391_t:31540920
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
ahp-both-windows:31556933
ihg5j128:31534457
9gg7f176:31542112
enable_editor_pane_layout:31569726
allow-none:31555437
ac562147:31564510
1h923230:31564177
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
switchtoauto:31559321
0c1h4866:31566224
session-mark-done:31591648
plus-and-new:31602494
multi-root:31593626
5b8j3302:31564601
autotiers:31584978
mangle-name-treatment:31572634
allow-signed-out:31592042
b17abb00-cfec-4134-90da-ee5e32ce4426:31602001
intellij_nes_preview_t:31580086
39a5d156:31574986
aw-autom-on:31583758
issue9151-7215f35b:31597540
usage_tips_endabled_0911:31587631
7g328426_fixed:31595622
codex-agent-host-stable-editor:31599810
9b7i0944:31600022
skill-budget-30000:31597277
welcomesignin9359t:31602106
e6882f69-f5cc-4f90-9073-69a4ca3e50ea:31602109
d6a5dc66-a24d-4215-bf31-317b28ac768a:31603712
0915b77b-4632-4fb2-9377-b5640c1e9623:31606574
5a177259:31599157
i67i8290:31599156
edbgf432:31599155
2b2dee84:31605428
msft-auth-on:31593345
codex-continuation-treatment:31605234
variation2-current-feedback:31600291
permission_prompt_treatment:1332566
ccr_pr_nudge_auto_review:1467214
vsc_wsm_t:1340632
cfee5631:1379228
4cj51803:1433348
hdfaf120:1479249
cmc_aa_c:1435710
canvases-enabled:1476219
c_ws_f8jhi663:1455089
2ca6g807:1469189
seatcta-d9cadb09:1462477
st_t_a_hibg2293:1460019
prewarm_treatment:1478570
ctid-aa-t:1469309
titlebar-rich-hover-many-windows-to-one:1479477
welcome-agents-window-graphic-many-windows-to-one:1479483
parallel-banner-view-reveal:1479486
One symptom, at least three distinct mechanisms, and they are worth separating before a fix lands, because two of the three are working as intended and only the third is the real defect.
- Availability fallback. If the requested model returns a rate limit or a capacity error, the client retries on an available model mid conversation and the served model changes under you. Intended behavior, but it should be announced in the transcript rather than left to be noticed.
- Per mode model resolution. If the mode pins the model for its first request while the composer resolves the model per turn from a default, then a mode that selected Opus 5 once will keep being Opus 5 while the picker shows Fusion. Nothing switches; the selection was never sticky.
- Inherited model on a delegated path. A sub agent or a tool invoked agent inherits the parent's model unless the parent pins it explicitly. Here the visible writer changes even though the session's own model never did.
The artifact that settles which one, in a single line: the chat log records the model for each request. Open the Chat Debug view for one session where the switch happened, and compare the model on the request before the switch with the one after. Three outcomes, three different bugs: a rate limit retry in the same entry, a model field that never contained Fusion, or a nested request whose model was inherited.
That log is also authoritative for the credits question, since charge attribution follows the model actually served, not the one the picker displayed. So one screenshot of that view answers both the behavior and the billing half of the report.
If the model field shows Opus 5 while the picker shows Fusion for the same turn, that is a genuine defect and worth its own issue with the log line attached, independent of any question about fallback being intended. In the meantime the containment is to pin the model explicitly in the mode configuration rather than relying on whichever default the next turn resolves, which will not stop the fallback path but will stop case 2 and case 3.
Separately, please avoid framing it as a scam in the title. If this is the fallback path, the maintainers will close the thread on the framing alone, and the fixable part of the report is the missing notice.
I do not see any model changes in the Chat Debug View. all entries contain gpt-4o-mini-2024-07-18 in model field. Whereas the first prompt was processed by GPT-6 Luna and the next within the same session was processed by Claude Opus 5, and Claude Opus 5 replaced Copilot Hydra in the input area at the bottom.
Please direct me what exactly I should check in this Debug View.
PS I am sorry for being aggressive in the description, but from the user perspective it looked exactly like this. It wasn't a subagent chosen for a specific complex task, but the whole session was switched to a specific very expensive model.
Possibly related: #348936 reproduces a picker switching models on its own in chats created by create_session. The new chat's picker gets seeded with the model Auto routed to, and the next send makes that the real selection. I haven't established that it's the same cause as here.
I just had this happen too. I was using Copilot Fusion. Suddenly, 15-20% of my additional budget is gone in an hour or so, and I see that it switched to a high-end Claude model without my consent. It hurts to have that much of your budget burnt on one small task...