AIAny
AI API2026
Icon for item

DS2API

Converts DeepSeek protocol calls into OpenAI/Claude/Gemini-compatible APIs with a Go backend and React admin UI. Offers account pooling, protocol adapters, tool-call translation, PoW, and multiple deployment modes (Docker, Vercel, standalone).

Introduction

LLM integrations often fail not because models are incompatible, but because client protocols, tool-call formats, and auth modes differ across providers. DS2API addresses that integration friction by acting as a protocol translation and runtime layer that exposes DeepSeek-style endpoints with OpenAI/Claude/Gemini-compatible APIs, letting existing clients talk to multiple upstreams without changing wiring.

What Sets It Apart
  • Protocol unification: adapts OpenAI, Anthropic (Claude), and Google Gemini paths into a normalized DeepSeek core so clients can use familiar endpoints (/v1/chat/completions, /anthropic/v1/messages, /v1beta/models/*:generateContent) while the backend handles mapping and aliasing.
  • Runtime-first Go implementation: the server is implemented in Go (no Python dependency) with a React WebUI for admin — designed for lightweight builds, static deployment, and binary releases. It includes account pooling/round-robin, rate-control (in-flight + queue), and a small PoW implementation for request gating.
  • Tool-call and safety-aware translation: recognizes XML/markup-style tool calls and translates them into each protocol’s native function/tool-call structures, with leak-mitigation heuristics for streaming responses.
Who it fits and trade-offs

Great fit if you need to evaluate or proxy multiple LLM providers with minimal client changes (local testing, hybrid deployments, or multi-account orchestration). It’s also useful when you want a single OpenAI-compatible facade in front of DeepSeek or mixed upstreams and need features like per-account concurrency control, admin UI, or Vercel/Docker deployment templates.

Look elsewhere if you need a managed, SLA-backed gateway (this repo is community-maintained and explicitly for research/experiments), or if you require enterprise-grade secrets management and formal compliance out of the box — DS2API expects operators to manage keys/config securely and accepts the repository’s license/disclaimer constraints.

Where it fits in a stack

Use DS2API as a local or self-hosted compatibility layer between client SDKs and diverse LLM backends: helpful for development, CI testing across providers, or small-scale production where you control accounts and deployment. It’s not a drop-in replacement for commercial API gateways with billing, analytics, or legal guarantees.

Implementation notes

The project emphasizes deterministic, Go-native runtime behavior: multi-platform binary releases, Docker/compose templates, Vercel serverless hooks for streaming, and an extensible adapter layer (OpenAI/Claude/Gemini adapters) so new provider mappings can be added via configuration. The README documents model aliasing, config.json-driven deployment, and developer-focused test harnesses for unit and live end-to-end testing.

More Items

GitHub
AI Infra2026

Provides a unified tool catalog and proxy for AI agents: one team token lets agents call thousands of third-party endpoints (and your team’s keys) with per-call pricing. Injects credentials server‑side so agents never hold provider secrets, and exposes CLI/skill recipes and OAuth tools for team-wide use.

GitHub
AI API2026

Captures an app's network traffic, extracts its authentication/session bundle, and auto-generates an editable Python client to call the app's API. Supports mitmproxy, cURL and HAR capture backends and provides Session helpers for replay and token refresh.

GitHub
AI API2025

Gateway that pools multiple AI subscription accounts and issues platform API keys while handling authentication, token-level billing, load balancing, rate limits, and per-user/account concurrency—enables shared subscriptions for Claude, OpenAI, Gemini and Grok.