Setup guide

Run OpenCode on DeepSeek V4.1 Flash

Add Yeta as an OpenAI-compatible provider in OpenCode and switch between DeepSeek V4.1 Flash, its uncensored version and GLM 5.3 Flash.

Setup

npm install -g opencode-ai

Add this to ~/.config/opencode/opencode.json (create it if needed):

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "yeta": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Yeta",
      "options": {
        "baseURL": "https://platform.yeta.ai/v1",
        "apiKey": "YOUR_API_KEY"
      },
      "models": {
        "deepseek-v4.1-flash": {
          "name": "deepseek-v4.1-flash",
          "limit": {
            "context": 1048576,
            "output": 65536
          }
        },
        "deepseek-v4.1-flash-uncensored": {
          "name": "deepseek-v4.1-flash-uncensored",
          "limit": {
            "context": 1048576,
            "output": 65536
          }
        },
        "glm-5.3-flash": {
          "name": "glm-5.3-flash",
          "limit": {
            "context": 200000,
            "output": 65536
          }
        }
      }
    }
  },
  "model": "yeta/deepseek-v4.1-flash"
}

Run opencode and switch models with /models.

Models you can use

All models are self-hosted on Yeta's own GPUs with zero data retention: prompts and outputs are never stored.

Get an API key Talk to us

More setup guides