Status: [UNTESTED] Endpoints found: http://localhost:8080/v1/chat/completions http://localhost:8080/v1/models Source: https://github.com/creasydude/crRoute # crRoute [![Go](https://img.shields.io/badge/Go-1.24+-00ADD8?logo=go&logoColor=white)](https://go.dev) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Build](https://img.shields.io/github/actions/workflow/status/crRoute/crRoute/release.yml?branch=main)](https://github.com/crRoute/crRoute/actions/workflows/release.yml) [![Release](https://img.shields.io/github/pre-release/v/crRoute/crRoute?label=pre-release)](https://github.com/crRoute/crRoute/releases) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md) [![Platform]()](https://github.com/crRoute/crRoute/releases) > A lightweight Go API gateway that proxies OpenAI-compatible requests to multiple upstream providers — OpenCode's free **zen** API and **Qwen Chat** (chat.qwen.ai) out of the box — with per-profile SOCKS5 proxies, round-robin routing, live model discovery, and anti-rate-limit request signatures. --- ## What it does crRoute sits between your client (any OpenAI-compatible SDK, `curl`, OpenCode itself, LM Studio, etc.) and upstream providers. It: - **Speaks OpenAI-compatible HTTP** — `POST /v1/chat/completions`, `GET /v1/models` - **Multiple provider types**: - `openai` type (e.g. zen) — mimics OpenCode CLI's exact headers (`Authorization`, `HTTP-Referer`, `X-Title`, `x-opencode-session/request/client/project`, `User-Agent`) so traffic lands in the CLI rate-limit pool instead of the exhausted shared-public pool - `qwen` type — talks to chat.qwen.ai's web API with browser-like TLS fingerprints (utls), auto-creating/deleting a chat per request - **Live model discovery** — fetches each provider's real model list (`/models` for openai-type, `/api/v2/models` for qwen), caches in memory for 12h, replaces on refresh — so `/v1/models` never hammers upstream - **Rotates across multiple profiles** — each with its own SOCKS5/HTTP proxy, round-