3,701 prompts from top AI collections
← Back to Market
[LIVE] [deponere/llm-router] 1 endpoint(s)
ChatGPT API Proxy/ChatGPT
2,111 characters
Status: [LIVE] Endpoints found: https://openrouter.ai/api/v1 Source: https://github.com/deponere/llm-router # router A local proxy that speaks the OpenAI and Anthropic APIs and routes every request to the best available model via a deterministic expert system — no random sampling, no LLM-in-the-loop, no surprises. **What it does** - One endpoint for every model: point any OpenAI **or** Anthropic client at `http://127.0.0.1:4123` and send `"model": "auto"`. - Picks the model per request from a weighted score over **cost, latency, context headroom, preference, and quality** — deterministic, same input → same choice. - Per-request steering via a `x-route-profile` header (six built-in profiles) or a `privacy_tag` for "keep this local / ZDR-only". - Falls back down the ranked list on upstream errors, streams SSE straight back to the caller. - A native **[macOS menu-bar admin app](#admin-app-macos)** to edit the whole config and start/stop the router. - A **[web interface](#web-interface)** at `http://127.0.0.1:4123` — chat playground, sortable model catalog, routing explain dry-run, usage dashboard and live loguru-style logs. **Backends**: pluggable via the `Provider` trait. Built in: - `openrouter` — cloud meta-provider, ~300 models with full pricing + provider routing - `openai_compat` — any OpenAI-compatible server: [oMLX](https://omlx.ai/) / Ollama / LM Studio (local Apple Silicon), or OpenAI · Groq · DeepSeek · xAI · Mistral · Gemini (cloud) - `anthropic` — native `/v1/messages` upstream (translated to/from OpenAI internally) Any number of named backend instances can run at once; see [Configuration](#configuration). ## Get started ```bash git clone https://github.com/deponere/llm-router.git cd router cp .env.example .env # set OPENROUTER_API_KEY cargo run -p router-api --release ``` Then point any OpenAI or Anthropic client at `http://127.0.0.1:4123`. See [Quick start](#quick-start) for a full request example. ## Learn more - [How it works](#how-it-works) — the expert-system pipeline in four phases - [Profiles](#profiles) — the s
Download .txt