SingleAPI
Click to expand - Client
- SingleAPI
- Industry
- AI Infrastructure & Developer Tools
- Location
- Worldwide
- Website
- singleapi.ai
- Year
- 2026
- Stack
- Python, LiteLLM, PostgreSQL, TimescaleDB, Redis, Celery, Stripe, Docker
SingleAPI is a single gateway to frontier and open-weight language models. Developers call models from OpenAI, Anthropic and open-weight families such as Qwen through one endpoint, pay with prepaid credits or their own provider keys, and manage every key from one dashboard.
The problem
Teams that work with several language models end up with a separate account, key, bill and request format for each provider. Changing models means changing code. Spend is spread across provider portals, and there is no single place to limit what a key can do or see what each request costs. SingleAPI gives developers one place to reach any model, control every key and track credit usage.
The platform covers the whole workflow.
- One endpoint for every supported model
- Prepaid credits or bring your own key
- Scoped API keys with budgets, expiry and model access
- Usage and cost records per key and model
- A public model catalogue and hosted documentation
- An admin dashboard for users, usage, failures and payments
The approach
Each provider has its own API, pricing and feature set. Developers should not have to deal with any of that. SingleAPI accepts the same chat-completion request for every model and translates it for the provider behind it, so switching models means changing one string. Code already written with the OpenAI SDK needs only a new base URL and a SingleAPI key.
Billing works in two ways. Developers load prepaid credits, charged at each provider’s list price, or bring their own provider key and pay the provider directly. Every request is metered by key and model. The admin view keeps payments received apart from credits consumed.
The build
The dashboard opens on credits, active keys and recent spend. The model catalogue lists each model with its context window, output limit and price per million tokens, so developers see the cost before they send anything. A new key takes one form, with model access, an optional USD limit that resets on a set period, an optional expiry and opt-in prompt logging. Logged prompts are encrypted and expire after 30 days. Streaming, tool calls and JSON output work on the models that support them.
The brand uses a logomark built from rounded blocks, IBM Plex Serif for headlines and a black, parchment and grey palette that runs from the landing page to the dashboard.
- Python serves the API, with LiteLLM translating requests between providers.
- PostgreSQL holds accounts, keys and credit balances, and TimescaleDB aggregates the request metrics behind the usage views.
- Redis and Celery run inside the inference pipeline, built against a target of 10,000 requests per minute.
- Stripe processes credit top-ups, and Clerk handles sign-in, including Google accounts.
- Docker Compose runs staging and production, with CI on every change and automatic deployment.
Outcomes
SingleAPI is live at singleapi.ai, open for any developer to sign up. Developers reach frontier and open-weight models through one endpoint and one bill, and switch models without rewriting their integration. Each key carries its own budget, model access and expiry, and can be rotated or revoked at any time. Tokens, charges and timing are visible per key and model in one place, kept separate from prompt content. In production the platform runs over HTTPS with automated database backups and a tested restore.
The product spans backend & infrastructure, web app development and UI/UX design.