OpenCode

Use uncensored models in OpenCode

Add Silk Compute as a provider in opencode.json, in your project or in ~/.config/opencode/opencode.json for every project. Then pick a model with /models.

Setup

opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "silkcompute": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Silk Compute",
      "options": {
        "baseURL": "https://api.silkcompute.com",
        "apiKey": "{env:SILK_API_KEY}"
      },
      "models": {
        "kimi-k3.1-uncensored": {
          "name": "Kimi K3.1",
          "limit": { "context": 1048576, "output": 943718 }
        },
        "deepseek-v4.1-flash-1017-uncensored": {
          "name": "DeepSeek V4.1 Flash 1017",
          "limit": { "context": 1048576, "output": 393216 }
        },
        "glm-5.3-flash-uncensored": {
          "name": "GLM-5.3 Flash",
          "limit": { "context": 1048576, "output": 131072 }
        }
      }
    }
  }
}