
Model Not Found: When Config References Don't Match
OpenCode failed with ‘ProviderModelNotFoundError.’ The model ID existed—just not spelled the way my config spelled it.

OpenCode failed with ‘ProviderModelNotFoundError.’ The model ID existed—just not spelled the way my config spelled it.
ProviderModelNotFoundError when starting OpenCode. The oh-my-opencode.json config referenced model IDs that don’t exist in the provider definitions.
ProviderModelNotFoundError
providerID: "google"
modelID: "gemini-3-flash"
suggestions: ["gemini-3-flash-preview", "antigravity-gemini-3-flash"]
~/.config/opencode/oh-my-opencode.json:multimodal-looker agentvisual-engineering categoryartistry categorywriting categoryChanged all occurrences to use valid model IDs:
// Before (invalid)
"model": "google/gemini-3-flash"
"model": "google/gemini-3-pro"
// After (valid - using antigravity provider)
"model": "google/antigravity-gemini-3-flash"
"model": "google/antigravity-gemini-3-pro"
Model IDs in oh-my-opencode.json must exactly match the model IDs defined in opencode.json provider config. The error’s suggestions field shows valid alternatives - use those exact strings.