Status: [UNTESTED] Endpoints found: http://localhost:3800/v1/chat/completions Source: https://github.com/ahmdngi/llm-api-translator # LLM API Translator

llm-api-translator

> **Multi-format LLM API proxy: accept Anthropic Messages API and OpenAI Chat API, forward to any OpenAI-compatible backend (DeepSeek, Groq, Together, etc.), return responses in the original format.** - Version: **1.0.0**, published 25 May 2026. - License: MIT - Runtime: Node.js 18+ [![GitHub Release](https://img.shields.io/github/v/release/ahmdngi/llm-api-translator?style=flat-square)](https://github.com/ahmdngi/llm-api-translator/releases) [![License](https://img.shields.io/github/license/ahmdngi/llm-api-translator?style=flat-square)]() [![Language](https://img.shields.io/badge/language-JavaScript-blue?style=flat-square)]() [![Stars](https://img.shields.io/github/stars/ahmdngi/llm-api-translator?style=flat-square)](https://github.com/ahmdngi/llm-api-translator) ## Why LLM tools speak different API formats. Claude Code and Cursor use Anthropic Messages API. Most cost-effective providers (DeepSeek, Groq, Together) use OpenAI Chat API. Instead of modifying SDKs or maintaining vendor-specific adapters, run this proxy — it translates between formats transparently. Use cases: - Run Claude Code against DeepSeek instead of Anthropic's API ($0 vs $100/mo) - Point any OpenAI SDK at a cheaper backend without code changes - Bridge Anthropic-format agents to OpenAI-compatible infrastructure - Experiment with multiple backends by swapping a single environment variable ## Quick Start ```bash git clone https://github.com/ahmdngi/llm-api-translator.git cd llm-api-translator # Set your API key export DEEPSEEK_API_KEY="sk-..." # Start the proxy node translator-proxy.mjs ``` The proxy listens on `http://localhost:3800`. ## Usage ### Anthropic format (Claude Code, Cursor, etc.) ```bash # One-shot ANTHROPIC_BASE_URL=http://localhost:3800 claude -p "Hello from DeepSeek!" # Or set globally export ANTHROPIC_BASE_URL=http://localhost:3800 ``` ### OpenAI for