{ "$schema": "https://opencode.ai/config.json", "keybinds": { "model_cycle_recent": "alt+m", "model_cycle_recent_reverse": "alt+shift+m" }, "plugin": [ "oh-my-opencode" ], "autoupdate": false, "model": "opencode/glm-4.7-free", "small_model": "opencode/glm-4.7-free", "theme": "tokyonight", "tools": { "todoread": true, "todowrite": true, "webfetch": true }, "permission": { "bash": "ask", "write": "ask", "edit": "ask", "read": "allow", "todowrite": "allow", "todoread": "allow", "task": "ask", "grep": "allow", "glob": "allow", "list": "allow", "webfetch": "allow", "skill": { "*": "allow" } }, "provider": { "opencode": { "name": "OpenCode Free", "models": { "glm-4.7-free": { "name": "GLM 4.7 Free", "limit": { "context": 32768, "output": 4096 }, "modalities": { "input": ["text"], "output": ["text"] } }, "gpt-5-nano": { "name": "GPT-5 Nano", "limit": { "context": 128000, "output": 4096 }, "modalities": { "input": ["text"], "output": ["text"] } } } } } }