cita-777/metapi

把你在各处注册的 New API / One API / OneHub / DoneHub / Veloera / AnyRouter / Sub2API 等站点, 汇聚成 一个 API Key、一个入口,自动发现模型、智能路由、成本最优

What it solves

Metapi is a meta-aggregation layer designed for users who manage multiple AI API proxy stations (such as New API, One API, and others). It eliminates the need to manage separate API keys, balance tracking, and model lists across different providers by consolidating them into a single unified gateway.

How it works

Metapi acts as a proxy between your AI clients (like Cursor, Claude Code, or Open WebUI) and various upstream AI providers. It integrates with multiple aggregation panels and official APIs through specialized adapters. It then provides a single OpenAI/Claude-compatible endpoint for all downstream tools.

Who it’s for

Developers and AI power users who use multiple AI API proxy services and want a centralized way to manage their keys, monitor costs, and ensure high availability of their models.

Highlights

  • Unified Gateway: Consolidates multiple upstream sites into one API key and one entry point.
  • Smart Routing: Automatically selects the best channel based on cost, balance, and usage rates, with automatic failover and cooling periods for failed channels.
  • Automatic Model Discovery: New models from upstream providers are automatically added to the routing table without manual configuration.
  • Centralized Management: Features a dashboard for balance tracking, consumption trends, and automated check-ins for reward-based accounts.
  • Multi-Platform Support: Compatible with a wide range of aggregation panels (New API, One API, OneHub, etc.) and official endpoints (OpenAI, Claude, Gemini).
  • Comprehensive Monitoring: Includes a model marketplace for comparing pricing and performance, as well as real-time availability monitoring and multi-channel alert notifications.

Related

  • Project
  • Project
  • Project
  • Project
  • Project