Local AI use cases with OpenCode
OpenCode is an open-source coding agent for the terminal that can edit files and run commands, and it can be pointed at a local model served by llama.cpp or Ollama.
Inkling 2 Mini on one RTX 5080 for local agent coding with Basalt
A LocalLLaMA user runs Inkling 2 Mini on a single 16 GB RTX 5080 with the Basalt engine and a DFlash 2 drafter, and measured about 215 tok/s live in a 125-request opencode session that passed a hidden test suite.
Getting OpenCode to work with a local Ollama model by fixing the 4,096-token context
OpenCode on a local Ollama model ignored files, invented tasks or looped, because each ~23k-token request was silently cut to fit Ollama's default 4,096-token context on a 16 GB GPU.
OpenCode on a CPU-only Intel i7 laptop talking to local Ollama coder models
Idada Osaigbovo James wires OpenCode on a Dell Latitude 5430 (i7-1265U, 32 GB RAM, Iris Xe) to Ollama’s local OpenAI-compatible API and runs Qwen2.5-Coder 1.5B/7B with no cloud subscription.
Local AI Starter: a one-click Mac wizard that installs llama.cpp, Qwen3, and OpenCode in one folder
Kirill Lukyanov built an MIT-licensed double-click wizard that sizes a Mac’s RAM, downloads a pinned llama.cpp build plus a Qwen model and OpenCode, proves the model answers, then opens a sandboxed coding agent and browser chat.
Letting a coding agent tune llama.cpp on an 8 GB AMD GPU: 3x faster prompt reading for OpenCode
Cliff K had his coding agent benchmark llama.cpp backends and flags for a Qwen3.6 35B MoE on a Radeon RX 6600 XT, at the context depths OpenCode really uses, and turned the process into an open-source skill.