OpenCode setup with Local models
Notes on this, will publish more as I go: opencode.json { “$schema”: “https://opencode.ai/config.json”, “provider”: { “llama.cpp”: { “npm”: “@ai-sdk/openai-compatible”, “name”: “llama.cpp (local)”, “options”: { “baseURL”: “http://localhost:8000/v1” }, “models”: { “unsloth/Qwen3.5-27B-GGUF:Q6_K”: { “name”: “unsloth/Qwen3.5-27B-GGUF:Q6_K”, “tool_call”: true, “reasoning”: true, “limit”: { “context”: 262144, “output”: 16384 }, “modalities”: { “input”: [ “text”, “image” ], “output”: [ “text” ]…
