Last active
May 22, 2026 23:52
-
-
Save stefanthoss/74d715a74d9e7382126dfbd40d8df94d to your computer and use it in GitHub Desktop.
OpenCode Config for Ollama
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://opencode.ai/config.json", | |
| "provider": { | |
| "ollama": { | |
| "npm": "@ai-sdk/openai-compatible", | |
| "name": "Ollama (local)", | |
| "options": { | |
| "baseURL": "http://ollama:11434/v1" | |
| }, | |
| "models": { | |
| "gemma4:31b": { | |
| "name": "Gemma 4 (31B)" | |
| }, | |
| "qwen3:30b": { | |
| "name": "Qwen 3 (30B)" | |
| }, | |
| "qwen3.6:35b": { | |
| "name": "Qwen 3.6 (35B)" | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment