[LIVE] [bigdata2211it-web/opencode-free-proxy] 2 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,180 characters
Status: [UNTESTED]
Endpoints found:
http://localhost:6446/v1/chat/completions
http://localhost:6446/v1/messages
Source: https://github.com/bigdata2211it-web/opencode-free-proxy
# opencode-free-proxy
Free AI models from [OpenCode](https://opencode.ai) exposed as standard OpenAI and Anthropic APIs.
One server — works with any tool that speaks OpenAI or Anthropic format: Cursor, Continue, Cline, Claude Code, aider, opencode CLI, raw `curl`, whatever.
## 30-second setup
```bash
git clone https://github.com/bigdata2211it-web/opencode-free-proxy.git
cd opencode-free-proxy
npm install
node server.mjs
```
Done. Server is at `http://localhost:6446`. API keys are in `api-keys.json` (auto-generated on first run).
## What you get
| Model | What it is | Reliability |
|-------|-----------|-------------|
| `deepseek-v4-flash-free` | DeepSeek V4 Flash | 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.
## API
### OpenAI format — `POST /v1/chat/completions`
```bash
curl http://localhost:6446/v1/chat/completions \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-flash-free",
"messages": [{"role": "user", "content": "Hello"}],
"stream": true
}'
```
### Anthropic format — `POST /v1/messages`
```bash
curl http://localhost:6446/v1/messages \
-H "x-api-key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-flash-free",
"system": "You are helpful.",
"messages": [{"role": "user", "content": "Hello"}],
"max_tokens": 1024,
"stream": true
}'
```
### Other endpoints
| Method | Path | What |
|--------|------|------|
| `GET` | `/v1/models` | List models |
| `GET` | `/health` | Health + version |
### Auth
Both `Authorization: Bearer KEY` and `x-api-key: KEY` work on all endpoints.
## Use with tools
### opencode CLI
Add to `~/.config/opencode/opencode.json`:
```json
{
"provid