Status: [UNTESTED] Endpoints found: http://localhost:8787/v1/chat/completions http://localhost:8787/v1/messages Source: https://github.com/Mitriyweb/model-router # model-router Universal AI proxy with Anthropic and OpenAI APIs that lets **Claude Code**, **Codex**, **Agent Team**, **ZeroClaw**, **Aider**, **Cline (Roo Code)**, **Cursor**, **mini-agent**, and custom Chat UIs run on **10 free-tier and local LLM providers** with automatic fallback, caching, and rate limiting. ## Supported Providers | Provider | Free Tier Limit | API Type | Best For | |---|---|---|---| | **Cerebras** | Trial: 1M+ tokens / day | OpenAI-compatible | Ultra-fast Llama-3.3-70b batch processing | | **Groq** | 30 RPM / 6k TPM / 14.4k RPD | OpenAI-compatible | Instant streaming and fast tool calling | | **Google Gemini** | 15 RPM / 1M TPM / 1.5k RPD | Gemini API | Large context windows (>4k tokens) | | **OpenRouter** | 20 RPM / 50 RPD (free models) | OpenAI-compatible | Broad selection of open models | | **Mistral AI** | 2 RPM / 500k TPM / ~1B tpm/mo | OpenAI-compatible | Codestral & Mistral Large | | **NVIDIA NIM** | 40 RPM / 1,000 requests | OpenAI-compatible | 90+ models (Llama, DeepSeek, Phi) | | **Hugging Face** | Varies by upstream provider | OpenAI-compatible | Access models via HF Inference Providers (Groq, Cerebras, Together, etc.) | | **Cloudflare AI** | 60 RPM / 10k RPD | Cloudflare AI | Serverless edge inference | | **Cohere** | 10 RPM / 100 RPD | Cohere Chat v2 | Command R+ with advanced RAG & tool-use | | **Local (Ollama)** | Unlimited | OpenAI-compatible | Fully offline & private execution | --- ## Dual API Architecture `model-router` simultaneously exposes two standard APIs on port `8787`: 1. **Anthropic API** (`POST /v1/messages`): For Claude Code, Codex, Agent Team, and Anthropic clients. 2. **OpenAI API** (`POST /v1/chat/completions` & `GET /v1/models`): For ZeroClaw, Aider, Cline, Roo Code, Cursor, Continue.dev, mini-agent, and Web Chat interfaces. Both endpoints accept compressed request bodies — send `Content-Encoding: gzip`, `deflate`, or `br` with a compressed JSON payload to reduce upload size on large prompts. Decompre