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
- DeepSeek V4.1 Flash API · 1M context, $0.08 / $0.35 per 1M tokens
- DeepSeek V4.1 Flash Uncensored API · 1M context, $0.08 / $0.35 per 1M tokens
- GLM 5.3 Flash API · 262K context, $0.08 / $0.42 per 1M tokens
All models are self-hosted on Yeta's own GPUs with zero data retention: prompts and outputs are never stored.
Platform: platform.yeta.ai · Email: [email protected] · X: @yetalabs