- go to this path and make file for it:
~/.config/opencode/opencode.json - use below for non-coding plan byteplus:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"arkv3": {
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "https://ark.ap-southeast.bytepluses.com/api/v3",
"apiKey": "<YOUR_API_KEY>"
},
"models": {
"ep-20260126121800-xp8ql": { "name": "ep-123123123-ep8ql" }
}
}
},
"model": "arkv3/ep-20260126121800-xp8ql"
}
- ENJOY!~