Build GuidesRun OpenCode on a local model: Ollama, LM Studio and llama.cpp configs that work
Point OpenCode at a model running on your own machine. Copy-paste opencode.json configs for Ollama, LM Studio and llama.cpp's llama-server, plus the port and context gotchas that trip people up.
October 22, 20267 min readDerrick K.