# OpenCode · SI-API

All 7 SI-API models · one Agent setup
Default startup model: deepseek-flash
Surface: cli
System: macos

Included models: GLM 5.3 Flash (glm-5.3-flash), DeepSeek V4.1 Flash (deepseek-flash), Kimi K3.1 Pro (kimi-k3.1-pro), Kimi K3.1 Pro HighSpeed (kimi-k3.1-pro-highspeed), GLM 5.3 (glm-5.3), MiniMax M3.1 Flash (minimax-m3.1), Qwen3.8 Max (qwen3.8-max).

Templates contain placeholders only. Save your real key locally. Keep unrelated settings and permissions.

## 1. Prepare your tool and key

Install OpenCode from its official page. Create or copy your SI-API key from /keys.

Create ~/.config/opencode/siapi.key and paste only your key, without quotes. Run chmod 600 on the key file.



## 2. Save the configuration

Download and extract the ZIP. Replace YOUR_SIAPI_API_KEY with your key, then save each file to the path below. Merge these fields into an existing file, preserving other providers, permissions and preferences. Do not replace an existing configuration wholesale.

Configuration location: ~/.config/opencode



## 3. Start your Agent

Start a new session and send a message. The startup model is deepseek-flash.

opencode --model siapi/deepseek-flash



## 4. Switch between all models

After setup, choose any model below inside your Agent. The same key and configuration work for all seven models; no new download or connection is needed.





### GLM 5.3 Flash · glm-5.3-flash

/models → SI-API → GLM 5.3 Flash (glm-5.3-flash)

Thinking settings: Low, High and Max. Thinking is always enabled; choose Low for less reasoning. The model default is Max.

### DeepSeek V4.1 Flash · deepseek-flash

/models → SI-API → DeepSeek V4.1 Flash (deepseek-flash)

Thinking settings: Off, Low, High and Max. Medium / XHigh map to High; Ultra maps to Max.

### Kimi K3.1 Pro · kimi-k3.1-pro

/models → SI-API → Kimi K3.1 Pro (kimi-k3.1-pro)

Thinking settings: Low, High and Max. Thinking is always enabled; choose Low for less reasoning. The model default is Max.

### Kimi K3.1 Pro HighSpeed · kimi-k3.1-pro-highspeed

/models → SI-API → Kimi K3.1 Pro HighSpeed (kimi-k3.1-pro-highspeed)

Thinking settings: Low, High and Max. Thinking is always enabled; choose Low for less reasoning. The model default is Max.

### GLM 5.3 · glm-5.3

/models → SI-API → GLM 5.3 (glm-5.3)

Thinking settings: Low, High and Max. Thinking is always enabled; choose Low for less reasoning. The model default is Max.

### MiniMax M3.1 Flash · minimax-m3.1

/models → SI-API → MiniMax M3.1 Flash (minimax-m3.1)

Thinking settings: Use the model default. This route does not expose custom thinking controls.

### Qwen3.8 Max · qwen3.8-max

/models → SI-API → Qwen3.8 Max (qwen3.8-max)

Thinking settings: Off, Low, Medium and XHigh. High / Max map to XHigh, not additional levels.

## 5. Choose reasoning effort



Run /models to switch models, then choose low or high in the variant selector.

### Inside your Agent

```text

/models

```





Start on DeepSeek V4.1 Flash. Choose Low, send a short file-reading task, then choose High and repeat. Check the current setting after each change.

Effort means how much reasoning to request. Kimi K3.1 Pro / HighSpeed, GLM 5.3 and GLM 5.3 Flash offer Low / High / Max with thinking always enabled. Choose Low for shorter reasoning; there is no Off option. Their model default is Max, but a client setting can override it. DeepSeek and Qwen have their own intensity levels listed below.

MiniMax M3.1 Flash uses its default reasoning behavior. MiniMax M3 settings apply to a different model.

Each model's options.reasoningEffort supplies its starting effort. A selected variant overrides that option. Select DeepSeek V4.1 Flash in /models, then use the variant control or the shortcut assigned to variant_cycle in your keybind settings. Choose low, then high; check the selected variant beside the model before sending. Selecting a model alone does not select a variant.

For a one-shot CLI task, use the --variant flag shown below. Choose a variant declared for that model.

### Terminal · choose a model and variant together

```bash

opencode run --model siapi/deepseek-flash --variant high "What is 6 × 7?"

```

- If there are no variants, reload the app after merging the model's reasoning and variants fields. Check project configuration and Agent-specific options for overrides. Do not add a fixed reasoning_effort in an extra request body; it can override the selected variant.

Expected: On DeepSeek V4.1 Flash, the current setting changes from Low to High and back to Low before your next message. Other models follow the controls listed below.

OpenCode variants and cycle control: https://opencode.ai/docs/models/#variants

## 6. Check the model and run your first task

Open a project containing README.md. Allow the tool to read it, then send the prompt below. Confirm that it reads the file and returns a summary. To check another model, switch using the table above and repeat this task.

/models

Use the file-reading tool to read README.md in this project and summarize its purpose in one sentence. Do not modify any files.

## opencode.json

Save to: ~/.config/opencode/opencode.json

Merge these fields into an existing file, preserving other providers, permissions and preferences. Do not replace an existing configuration wholesale. Preserve every model’s options.reasoningEffort and variants: the first supplies its default effort, and variants let you change it.

## Notes

CLI and Desktop use the same global configuration and key file. A project config can override the global model selection.

Title and other small-model tasks use DeepSeek Flash; these requests also consume your plan or credit. Choose a model variant to change its reasoning effort.

Off, Low, High and Max. Medium / XHigh map to High; Ultra maps to Max.

Reference: https://opencode.ai/docs/providers/#custom-provider

Model configuration: https://siapi.ai/docs/models#configuration

Agent compatibility: https://siapi.ai/docs/compatibility
