[BUG] Cowork 3P Gateway — Model picker ignores version and display name
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Product: Claude Desktop — Cowork on 3P (Gateway mode)
Platform: macOS
Gateway: GitHub Copilot (https://api.githubcopilot.com/)
Issue:
When using Gateway inference provider, the model picker displays truncated
model names — e.g. "Opus 4" instead of "Opus 4.7" or "Claude Opus 4.7".
This makes it impossible to distinguish between models of the same family
(claude-opus-4.7 vs claude-opus-4.6 vs claude-opus-4.5 all show as "Opus 4").
Additional context:
- GitHub Copilot's GET /models endpoint returns a "name" field with the full
display name (e.g. "Claude Opus 4.7") but Cowork ignores it.
- The /v1/models auto-discovery also fails because GitHub Copilot serves
models at /models (no /v1 prefix). Cowork should try both paths.
Expected behavior:
- Display the full version number (4.7, 4.6, 4.5) in the picker
- Ideally use the "name" field from the gateway's model list
- Support /models in addition to /v1/models for auto-discovery
Workaround: Manually set inferenceModels with one model per family.
What Should Happen?
Expected behavior:
- Display the full version number (4.7, 4.6, 4.5) in the picker
- Ideally use the "name" field from the gateway's model list
- Support /models in addition to /v1/models for auto-discovery
Error Messages/Logs
Steps to Reproduce
- Install Claude Desktop on macOS
- Enable Developer Mode: Help → Troubleshooting → Enable Developer Mode
- Open Developer → Configure third-party inference
- Configure Gateway provider:
- Inference provider: gateway
- Gateway base URL: https://api.githubcopilot.com/
- Gateway API key: <valid GitHub Copilot OAuth token>
- Gateway auth scheme: bearer
- Set model list (inferenceModels) with multiple versions of the same family:
[claude-opus-4.7, claude-opus-4.6, claude-opus-4.5, claude-sonnet-4.6, claude-sonnet-4.5, claude-sonnet-4, claude-haiku-4.5]
- Click Apply locally, quit Claude Desktop (Cmd+Q), relaunch
- Select Cowork on 3P at the sign-in screen
- Open the model picker in the Cowork tab
Expected Result:
Each model displays its full version — "Opus 4.7", "Opus 4.6", "Opus 4.5", "Sonnet 4.6", "Sonnet 4.5", etc. — matching what VS Code / GitHub Copilot shows ("Claude Opus 4.7").
Actual Result:
All Opus models display as "Opus 4". All Sonnet models display as "Sonnet 4". Impossible to distinguish between versions in the picker.
Additional Context:
- The gateway's GET /models endpoint returns a "name" field with the full display name (e.g. "Claude Opus 4.7") — Cowork ignores it.
- Auto-discovery via GET /v1/models fails (404) because GitHub Copilot serves models at /models without the /v1 prefix. Cowork should try both paths.
- The modelOverrides and ANTHROPIC_DEFAULT_*_MODEL_NAME env vars work for the Code tab but have no effect on the Cowork tab picker.
- Claude Desktop version: latest as of 2026-04-23
- macOS
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Claude 1.3883.0 (93ff6c) 2026-04-21T17:24:01.000Z
Platform
Other
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗