AIAny
AI API2023
Icon for item

One API

Self-hosted gateway putting OpenAI, Claude, Gemini, DeepSeek and 20+ providers behind one OpenAI-compatible endpoint. Adds per-token quotas, channel load balancing and usage billing, so teams or resellers meter keys without sharing upstream credentials.

Introduction

Most "LLM proxies" stop at rewriting a request and forwarding it. The harder problem is everything that happens once more than one person shares a key: who gets to spend how much, which upstream channel should serve a call, and how do you bill it. One API treats that bookkeeping as the product, not the routing.

The core idea is a clean split between channels (your real upstream keys, grouped and load-balanced) and tokens (the keys you hand out, each with its own quota, expiry and optional channel pin). Callers only ever see an OpenAI-shaped endpoint; the credentials and the cost model stay on your side.

What Sets It Apart
  • Quota is computed, not guessed: cost = group multiplier x model multiplier x (prompt + completion x completion multiplier), so GPT-4 vs GPT-3.5 vs a local model are billed on the same ledger.
  • Channels can be grouped for tiered pricing and automatically health-checked and balance-tested, which is what makes it usable as a real reseller backend rather than a hobby proxy.
  • Ships as a single Go binary or Docker image; clustering only needs shared MySQL + Redis, so scaling out is configuration, not a rewrite.
Who It's For

Great fit if you run a shared internal LLM gateway or resell access and need metering, vouchers and per-user isolation out of the box. Look elsewhere if you just want a transparent passthrough for one application key, or if you need a fully managed SaaS with SLAs - this is infrastructure you operate yourself, and the billing multipliers need tending as provider prices move.

Information

  • Websitegithub.com
  • OrganizationsSouth China University of Technology
  • Authorssongquanpeng
  • Published date2023/04/22

Categories

More Items

GitHub
AI Infra2026

Adds keyless model channels to DeepSeek Harness and brings multiple providers into one model picker and local compatible gateway. Availability is checked dynamically; free quotas, regional access, and data handling remain controlled by upstream services.

GitHub
AI Infra2026

Connects coding agents to one local model gateway, making providers and subscriptions available across agents and routing requests to another account or model when quotas run out.

GitHub

Connects MCP-compatible AI assistants to Google Ads for account queries and reporting, with guarded support for asset creation, video uploads, and label management. It does not modify campaigns, budgets, or bids.