Skip to content

Instantly share code, notes, and snippets.

@luthviar
Last active February 3, 2026 06:58
Show Gist options
  • Select an option

  • Save luthviar/b6239305789485497a84580ff87d7c00 to your computer and use it in GitHub Desktop.

Select an option

Save luthviar/b6239305789485497a84580ff87d7c00 to your computer and use it in GitHub Desktop.
  1. go to this path and make file for it: ~/.config/opencode/opencode.json
  2. 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"
}
  1. ENJOY!~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment