Reproduction steps
[Prerequisit]: OpenRouter key is set and it can be used by Zed Agent.
- Start zed
- In the AI assistant chat panel, select a free OpenRouter model, e.g. Stepfun 3.5 Flash( free )
- Type some test message like "hi"
- Check the OpenRouter activity log. It will show two requests. One is from the selected model "Stepfun 3.5 Flash( free )" and the other is from the "openrouter/auto" model. In my case, I set it to "Mistral Small 3.2 24B", which is specified using a filter setting at https://openrouter.ai/settings/routing. If I don't set this, it will choose "Claude Opus 4.6".
Note, this is not sent with every message, it happens at the beginning. However, it has small amount of unexpected cost on my openrouter credit.
Extra info: The "openrouter/auto" seems to be used In the "Model"'s constructor.
Current vs. Expected behavior
Current behavior: Unexpected request is sent using "openrouter/auto" model shown as the screenshot:

Expected behavior: No request should be sent using "openrouter/auto" model
Zed version and system specs
Zed: v0.224.11+stable.175.e4cabf49a18ed03969d84ee15643e9ec81857e97 (Zed)
OS: macOS 26.3
Memory: 18 GiB
Architecture: aarch64
Attach Zed log file
Zed.log
Relevant Zed settings
settings.json
Relevant Keymap
keymap.json
(for AI issues) Model provider details
- Provider: OpenRouter
- Model name: "openrouter/auto"
- Mode: Agent pannel
If you are using WSL on Windows, what flavor of Linux are you using?
None
Reproduction steps
[Prerequisit]: OpenRouter key is set and it can be used by Zed Agent.
Note, this is not sent with every message, it happens at the beginning. However, it has small amount of unexpected cost on my openrouter credit.
Extra info: The "openrouter/auto" seems to be used In the "Model"'s constructor.
zed/crates/open_router/src/open_router.rs
Line 87 in a8043dc
Current vs. Expected behavior
Current behavior: Unexpected request is sent using "openrouter/auto" model shown as the screenshot:

Expected behavior: No request should be sent using "openrouter/auto" model
Zed version and system specs
Zed: v0.224.11+stable.175.e4cabf49a18ed03969d84ee15643e9ec81857e97 (Zed)
OS: macOS 26.3
Memory: 18 GiB
Architecture: aarch64
Attach Zed log file
Zed.log
Relevant Zed settings
settings.json
Relevant Keymap
keymap.json
(for AI issues) Model provider details
If you are using WSL on Windows, what flavor of Linux are you using?
None