Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 30 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ Done. Server is at `http://localhost:6446`. API keys are in `api-keys.json` (aut

| Model | What it is | Reliability |
|-------|-----------|-------------|
| `mimo-v2.5-free` | Xiaomi MiMo v2.5 | Solid |
| `deepseek-v4-flash-free` | DeepSeek V4 Flash | Solid |
| `north-mini-code-free` | North Mini Code | Solid |
| `nemotron-3-ultra-free` | NVIDIA Nemotron 3 Ultra | Solid |
| `big-pickle` | DeepSeek V4 Flash (alias) | Solid |
| `minimax-m2.5-free` | MiniMax M2.5 | Solid |
| `nemotron-3-super-free` | NVIDIA Nemotron 3 Super | Hit or miss |
| `qwen3.6-plus-free` | Qwen 3.6 Plus | Intermittent |

All models support streaming, tool calls, and system messages.

Expand Down Expand Up @@ -156,6 +156,33 @@ sudo systemctl enable --now opencode-proxy
|----------|---------|------|
| `PROXY_PORT` | `6446` | Server port |
| `KEYS_FILE` | `./api-keys.json` | API keys file path |
| `SOCKS5_PROXY` | _(none)_ | SOCKS5 proxy address for upstream requests |

## SOCKS5 Proxy

Route all upstream requests to opencode.ai through a SOCKS5 proxy.

### CLI argument

```bash
node server.mjs --proxy 127.0.0.1:9150
node server.mjs --proxy socks5://user:pass@10.0.0.1:1080
```

### Environment variable

```bash
SOCKS5_PROXY=127.0.0.1:9150 node server.mjs
SOCKS5_PROXY=socks5://user:pass@10.0.0.1:1080 node server.mjs
```

CLI `--proxy` takes priority over `SOCKS5_PROXY`. If neither is set, requests go directly.

### systemd with proxy

```ini
Environment=SOCKS5_PROXY=127.0.0.1:9150
```

## How it works

Expand Down
Loading