You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just added credit to try opencode with one of the ZDR providers (selected qwen3-coder).
But, when I look at the usage history, I see calls to a model I didn't not select (claude).
....
17 Sept, 8:18 am qwen3-coder 10187 63 $0.0047
17 Sept, 8:18 am qwen3-coder 10049 61 $0.0046 17 Sept, 8:18 am claude-3-5-haiku 220 10 $0.0002
17 Sept, 8:14 am qwen3-coder 17768 220 $0.0084
17 Sept, 8:14 am qwen3-coder 14579 55 $0.0067
17 Sept, 8:14 am qwen3-coder 10845 52 $0.0050
17 Sept, 8:14 am qwen3-coder 10073 55 $0.0046 17 Sept, 8:14 am claude-3-5-haiku 243 13 $0.0002
17 Sept, 7:57 am qwen3-coder 12657 162 $0.0060
17 Sept, 7:57 am qwen3-coder 12252 393 $0.0062
17 Sept, 7:57 am qwen3-coder 11258 59 $0.0052
17 Sept, 7:56 am qwen3-coder 10110 51 $0.0046 17 Sept, 7:56 am claude-3-5-haiku 283 10 $0.0003
opencode run -m using wrong model. #1645: Wrong model being used despite UI showing correct selection - similar issue where displayed model doesn't match actual usage
The claude-3-5-haiku calls you're seeing are likely from title generation, which uses a separate 'small_model' configuration that defaults to claude-3-5-haiku even when your main model is set to qwen3-coder. This is a known behavior where opencode uses different models for different purposes.
Feel free to ignore if none of these address your specific case.
Activity
github-actions commentedon Sep 17, 2025
This issue might be a duplicate of existing issues. Please check:
small_modelto work for title generation #2640: Issues with custom small_model configuration - the claude-3-5-haiku calls you're seeing might be from title generation using the default small_modelsmall_modelis set to unenabled provider #1643: Error state if small_model is set to unenabled provider - similar issue where small_model defaults can cause unexpected model usageThe claude-3-5-haiku calls you're seeing are likely from title generation, which uses a separate 'small_model' configuration that defaults to claude-3-5-haiku even when your main model is set to qwen3-coder. This is a known behavior where opencode uses different models for different purposes.
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Sep 17, 2025
@m1pro claude haiku is used to generate the session titles, this is expected