Description
The current configuration for the Gemma 4 26B model uses an incorrect identifier, which prevents the model from loading correctly unless manually patched.
Problem:
The model ID is currently set to gemma-4-26b-it, but the correct ID required by the backend/API is gemma-4-26b-a4b-it.
Evidence/Fix:
I have verified that manually editing the local configuration file at ~/.cache/opencode/models.json resolves the issue. Current (Incorrect)
Config:
"gemma-4-26b-it": {
"id": "gemma-4-26b-it",
"name": "Gemma 4 26B",
...
}
Required (Corrected) Config:
json
"gemma-4-26b-a4b-it": {
"id": "gemma-4-26b-a4b-it",
"name": "Gemma 4 26B A4B",
...
}
Plugins
No response
OpenCode version
No response
Steps to reproduce
Try to initialize or use the gemma-4-26b-it model.
Observe the failure/error due to the incorrect ID.
Manually update models.json with the a4b suffix.
The model becomes fully functional.
Environment:
Config path: ~/.cache/opencode/models.json
Model family: Gemma 4
Screenshot and/or share link
No response
Operating System
debian on WSL
Terminal
bash
Description
The current configuration for the Gemma 4 26B model uses an incorrect identifier, which prevents the model from loading correctly unless manually patched.
Problem:
The model ID is currently set to gemma-4-26b-it, but the correct ID required by the backend/API is gemma-4-26b-a4b-it.
Evidence/Fix:
I have verified that manually editing the local configuration file at ~/.cache/opencode/models.json resolves the issue. Current (Incorrect)
Config:
"gemma-4-26b-it": {
"id": "gemma-4-26b-it",
"name": "Gemma 4 26B",
...
}
Required (Corrected) Config:
json
"gemma-4-26b-a4b-it": {
"id": "gemma-4-26b-a4b-it",
"name": "Gemma 4 26B A4B",
...
}
Plugins
No response
OpenCode version
No response
Steps to reproduce
Try to initialize or use the gemma-4-26b-it model.
Observe the failure/error due to the incorrect ID.
Manually update models.json with the a4b suffix.
The model becomes fully functional.
Environment:
Config path: ~/.cache/opencode/models.json
Model family: Gemma 4
Screenshot and/or share link
No response
Operating System
debian on WSL
Terminal
bash