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
{{ message }}
Repository navigation
[BUG] Default small_model charges users when free alternative exists on Copilot #6802
When using GitHub Copilot provider, OpenCode defaults small_model to gemini-3-flash-preview (paid) instead of gpt-5-mini (free). This silently incurs charges for users who have free model options available.
I logged in with GPT 5.2 and my usage of premium requests for Gemini 3 Flash kept increasing.
However, it should default to a free model, like the gpt 5 mini instead of a paid model.
If a large context model is used, then GPT-4.1 is also free, but gpt 5 mini is probably a better fit do to the larger output.
| Model | Used For | Cost |
|------------------------|-------------------------|------|
| gpt-5-mini | Available but NOT used | Free |
| gemini-3-flash-preview | Default for small tasks | Paid |
OpenCode's small_model default picks a paid model when a free alternative (gpt-5-mini) exists in the same provider. Users are charged without knowing why.
Activity
rekram1-node commentedon Jan 4, 2026
ez fix will do
rekram1-node commentedon Jan 4, 2026
should be fixed in next release: 96a00ff