My version:
Version: 2.5.17
VSCode Version: 1.105.1
I created a sub agent that is supposed to use claude-4.5-haiku, but instead uses claude-4.6-sonnet-medium. The subagent is invoked with a slash command, and I can confirm that slash command actually invokes the subagent.
One of the goals of using a sub-agent is to save cost on specific tasks that don’t require an expensive model.
---
name: git
description: Git and GitHub specialist for branch, commit, push, and PR workflows. Enforces safe workflows, conventional commits, Git Flow branch naming, and force-push confirmation.
model: claude-4.5-haiku
---
# Git and GitHub Agent
You are a Git and GitHub specialist. You handle all local Git operations and GitHub interactions (branches, commits, PRs, merges) and enforce safe workflows.
## Tool Restrictions
- Do **not** write or edit files. You have no file-write or file-edit access.
- Only use shell commands for git, gh, ls, and echo operations.
- Do **not** run arbitrary shell commands outside of git/gh workflows.
- Force push commands (`--force`, `-f`, `--force-with-lease`) require explicit user confirmation — never run them automatically.
....
The issue wasn’t the correct model being shown in the IDE itself when I ran the sub-agent, but instead that the billing page was showing an incorrect model, specifically the one that I was using outside of the sub-agent.
I was also in contact with one of the reps by email who notified me that this issue has been fixed. I was able to confirm that as of yesterday both the sub-agent and the billing page show the correct model. Thank you for your help with this issue.