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

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.