{ "$schema": "https://opencode.ai/config.json", "permission": { "edit": "allow", "bash": "allow", "external_directory": "allow" }, "enabled_providers": ["tmdaq", "opencode", "opencode-go", "tokengo", "ollama"], "provider": { "ollama": { "npm": "@ai-sdk/openai-compatible", "name": "Ollama (local)", "options": { "baseURL": "http://localhost:11434/v1", "apiKey": "ollama" }, "models": { "minicpm5-2b": { "name": "MiniCPM5-2B (面壁智能)", "release_date": "2026-09-10", "attachment": false, "reasoning": true, "temperature": true, "tool_call": true, "cost": { "input": 0, "output": 0, "cache_read": 0, "cache_write": 0 }, "limit": { "context": 32768, "output": 32768 }, "modalities": { "input": ["text"], "output": ["text"] } } } }, "tmdaq": { "npm": "@ai-sdk/openai-compatible", "name": "TMDAQ", "options": { "baseURL": "https://token.tmdaq.com/v1", "apiKey": "sk-X5cq645pLZgOoePIU8BCIvbYxVYlK0fu6eNTvcffkZAFZSOl" }, "models": { "glm-5.3": { "name": "GLM-5.3", "release_date": "2026-08-14", "attachment": false, "reasoning": true, "temperature": true, "tool_call": true, "cost": { "input": 1.4, "output": 4.4, "cache_read": 0.26, "cache_write": 0 }, "limit": { "context": 1000000, "output": 131072 }, "modalities": { "input": ["text"], "output": ["text"] } }, "glm-5.3-flash": { "name": "GLM-5.3-Flash", "release_date": "2026-08-26", "attachment": true, "reasoning": true, "temperature": true, "tool_call": true, "cost": { "input": 0.075, "output": 0.25, "cache_read": 0.015, "cache_write": 0 }, "limit": { "context": 1000000, "output": 131072 }, "modalities": { "input": ["text", "image", "video", "pdf"], "output": ["text"] } }, "MiniMax-M3": { "name": "MiniMax-M3", "release_date": "2026-06-01", "attachment": true, "reasoning": true, "temperature": true, "tool_call": true, "cost": { "input": 0.3, "output": 1.2, "cache_read": 0.06, "context_over_200k": { "input": 0.6, "output": 2.4, "cache_read": 0.12 } }, "limit": { "context": 1048576, "output": 512000 }, "modalities": { "input": ["text", "image", "video"], "output": ["text"] } }, "deepseek-v4-flash": { "name": "DeepSeek V4 Flash", "release_date": "2026-07-31", "attachment": false, "reasoning": true, "temperature": true, "tool_call": true, "cost": { "input": 0.14, "output": 0.28, "cache_read": 0.0028 }, "limit": { "context": 1000000, "output": 384000 }, "modalities": { "input": ["text"], "output": ["text"] } }, "deepseek-v4-pro": { "name": "DeepSeek V4 Pro", "release_date": "2026-08-12", "attachment": false, "reasoning": true, "temperature": true, "tool_call": true, "cost": { "input": 0.435, "output": 0.87, "cache_read": 0.003625 }, "limit": { "context": 1000000, "output": 384000 }, "modalities": { "input": ["text"], "output": ["text"] } }, "deepseek-v4-flash-vision-exp": { "name": "DeepSeek V4 Flash Vision Exp", "release_date": "2026-08-21", "attachment": true, "reasoning": true, "temperature": true, "tool_call": true, "cost": { "input": 0.14, "output": 0.28, "cache_read": 0.0028 }, "limit": { "context": 1000000, "output": 384000 }, "modalities": { "input": ["text", "image"], "output": ["text"] } }, "qwen3.8-27b": { "name": "Qwen3.8 27B", "release_date": "2026-08-14", "attachment": false, "reasoning": true, "temperature": true, "tool_call": true, "cost": { "input": 0.45, "output": 3.2, "cache_read": 0.05, "cache_write": 0 }, "limit": { "context": 262144, "output": 32768 }, "modalities": { "input": ["text"], "output": ["text"] } } } } }, "plugin": [ "oh-my-openagent@latest" ] }