Short answer. Keep LiteLLM when provider flexibility, your own keys and a self-hosted control point are hard requirements, and you have a platform team to run the proxy and its database. Choose a managed API such as Plugsky when the gateway has become infrastructure you do not want to operate: one endpoint, one bill, all public model IDs and no provider key ring. Migration is usually a base URL, alias map and test pass.
Key facts
| LiteLLM model | Open-source SDK plus a self-hosted gateway (proxy) |
|---|---|
| Provider keys | You connect your own accounts; tokens bill at each provider |
| Gateway features | Routing, fallbacks, retries, virtual keys, budgets and spend tracking |
| Plugsky model | Managed multi-model API; no gateway or database to operate |
| Models | all public model IDs behind one OpenAI-compatible endpoint |
| Pricing | Flat monthly self-serve plans plus a free plan with two models |
| Deployment | Plugsky cloud, your VPC, on-premises or air-gapped |
| Product status | Chat, streaming, JSON mode, function calling and embeddings are live |
TL;DR
- Keep LiteLLM when provider flexibility, your own keys and self-hosting are hard requirements.
- Choose a managed API when operating the gateway is overhead rather than a feature.
- Plugsky serves all public model IDs behind one OpenAI-compatible endpoint.
- Flat monthly self-serve plans replace reconciling many per-token provider bills.
- Start on the free plan with plugsky-micro and plugsky-lite, no card required.
How it works, step by step
- List which providers, models and keys your gateway currently fronts, and mark what your app truly depends on.
- Decide whether provider-level routing across your own accounts is a requirement or a convenience.
- Create a Plugsky API key and point a test environment at the OpenAI-compatible base URL.
- Map each model alias your app uses to a Plugsky model, keeping aliases in configuration.
- Re-run your evals and integration tests for streaming, JSON mode and function calling.
- Move traffic in stages, comparing latency, refusals and output quality per workload.
Try it yourself
The cost calculator compares a LiteLLM deployment — provider bills plus infrastructure — with a flat managed plan at your token volume.
Open the LiteLLM API cost calculator →
What LiteLLM does well
LiteLLM solves a real problem: one OpenAI-shaped interface over many providers. The SDK drops into an application, and the gateway runs as a shared service that accepts OpenAI-style calls and translates them to each provider’s native API. The official documentation describes a self-hosted AI Gateway with one OpenAI-compatible endpoint for more than 100 providers, MCP tools and A2A agents.
The control-plane features are the reason teams adopt it. Virtual keys give each user, team or project its own model list, budget and rate limits. Load balancing, fallbacks and retries move traffic between deployments when a provider has a problem. Spend tracking and budgets turn many provider bills into one internal accounting view. Some of those features require an Enterprise licence, so check the current feature split before standardising.
What LiteLLM does not change is who serves the model. Every request still lands on a provider account you manage, and every token still bills at that provider’s rate. The gateway is a layer you own, not a replacement for the provider relationship.
When LiteLLM is the better choice
LiteLLM is the right answer more often than a vendor comparison admits. Keep it when one or more of these is true:
- You must use your own provider accounts. Existing cloud commitments, enterprise agreements or regional contracts cannot be moved to a reseller.
- You need cross-provider fallback with your own keys. A managed catalogue cannot route around a provider you have contracted directly.
- Policy requires a self-hosted control point. The gateway, its database and its logs sit inside your boundary.
- You need per-team virtual keys and budgets across providers. That is LiteLLM’s core strength.
- You want an open-source layer you can inspect and extend. The trade-off is that you own the upgrade and security path.
A managed API cannot replace those requirements today. If two or more apply, the honest recommendation is to keep the gateway and route only new, self-contained workloads to a managed catalogue.
Best LiteLLM alternatives for production
LiteLLM is a gateway, not a model provider. The alternative you pick depends on whether you want to keep a control plane over your own keys or remove that layer entirely.
| Option | Best for | Billing | Watch out |
|---|---|---|---|
| Plugsky | A managed multi-model API with no gateway, database or key ring to run | Flat monthly, free tier to $120/mo | No cross-provider fallback with your own keys |
| Portkey | A gateway with observability, guardrails and routing | Open-source gateway; managed free tier and paid plans | Another control plane to operate or trust |
| OpenRouter | Catalogue breadth and provider fallback | Provider list price plus a 5.5% credit-purchase fee | Credit-purchase fee; provider variance |
| Cloudflare AI Gateway | Edge caching, rate limiting and observability on Cloudflare | Core features free on all plans; 5% fee on Unified Billing credits | Best inside Cloudflare; not a model catalogue |
| Keep LiteLLM | Self-hosted control over your own provider keys | Provider bills plus your infrastructure | You own the proxy, database, upgrades and on-call |
Short version: choose Plugsky if the gateway has become infrastructure you do not want to run; keep LiteLLM or Portkey if cross-provider control with your own keys is a hard requirement.
When each alternative wins
- Plugsky wins when you want one managed catalogue, one bill and a private deployment path without running a proxy.
- Portkey wins when you need a managed gateway with guardrails, tracing and routing in one control plane.
- OpenRouter wins when breadth and automatic provider fallback matter more than running your own keys.
- Cloudflare AI Gateway wins when the application already runs on Cloudflare and you want caching and rate limiting at the edge.
- LiteLLM wins when self-hosting, open source and provider-level control are non-negotiable.
The hidden cost of running a gateway
A proxy in front of every model call becomes production infrastructure. Someone must deploy it, keep its database healthy, rotate provider keys, upgrade versions, watch error rates and respond when it fails — and because all traffic passes through it, its uptime ceiling becomes yours.
| Workstream | What it involves | Why it matters |
|---|---|---|
| Compute and database | Proxy containers, Postgres, backups and connection pooling | The gateway cannot issue keys or track spend without its database |
| Upgrades | Version pinning, changelogs, staging and rollback | A proxy bug affects every model call at once |
| Key custody | Provider keys, rotation, scoping and revocation | A single leaked key can expose every provider account |
| Observability | Traces, logs, spend attribution and alerting | You cannot debug a multi-provider path without them |
| On-call | Runbooks, escalation and incident review | The gateway is now on the critical path for every request |
| Security review | Network boundary, admin UI, SSO and audit trail | The control plane sees prompts and holds credentials |
A managed API such as Plugsky removes that layer. Plugsky serves all public model IDs directly over an OpenAI-compatible endpoint, so there is no proxy to run and no ring of provider keys to secure. Self-serve plans are flat monthly with a free plan that includes plugsky-micro and plugsky-lite; Enterprise options add VPC, on-premises and air-gapped deployment. Current plan details are on the pricing page. The unlimited API guide covers the flat-plan fine print.
Managed API vs self-hosted gateway
The architectural difference is who owns the control plane. With LiteLLM, you own the proxy, the database, the virtual-key system and the provider credentials. With a managed API, the provider owns the serving layer and you own the application, the prompts and the data policy.
| Dimension | LiteLLM proxy | Plugsky managed API |
|---|---|---|
| Serving layer | You run the proxy; providers run inference | Plugsky serves the model directly |
| Credentials | You hold provider keys | You hold one Plugsky key |
| Model access | Whatever you connect | all public model IDs in one catalogue |
| Routing | Fallbacks, retries and budgets across providers | Choose a model per request; no cross-provider fallback with your keys |
| Billing | Provider bills plus infrastructure | One flat plan |
| Data path | Your infrastructure and each provider | Published regions plus private deployment options |
| Operations | You | Plugsky |
| Exit | Change the proxy configuration | Change the base URL and model names |
The trade is control for operational surface. A gateway gives you provider-level routing and a single place to enforce policy; a managed API gives you a smaller platform to run. Neither is universally better. The mistake is adopting a gateway for flexibility you never use, then staffing it like a product.
When to keep LiteLLM, when to move
- Keep LiteLLM when provider flexibility is a hard requirement: existing cloud commitments, region-by-region routing with your own credentials, or a policy that demands a self-hosted control point. Those are legitimate reasons, and a managed platform cannot replace them today.
- Move when the gateway has become maintenance work rather than a product capability.
- Move when you want one endpoint and one bill instead of reconciling provider accounts.
- Combine when your gateway must stay for legacy providers while new workloads run on a managed catalogue.
Moving off LiteLLM without a rewrite
Most LiteLLM deployments use it for one OpenAI-shaped client over several providers. Moving to a managed API is usually a configuration change plus a test run:
- Inventory aliases. List every model alias, provider and fallback rule your proxy exposes.
- Map the aliases. Point each alias at a model in the managed catalogue; keep the gateway only for aliases the catalogue cannot cover.
- Change the base URL and key. Test in staging first; keep the old path behind an environment flag.
- Re-run the contract tests. Check streaming, JSON mode, tool calling, error shapes and long context — not just a hello-world completion.
- Cut over by workload. Move batch and non-critical chat first, then latency-sensitive paths after the numbers hold.
- Measure cost per solved task. A cheaper token price with more retries is not a saving.
from openai import OpenAI
client = OpenAI(
base_url="https://api.plugsky.com/v1", # was your LiteLLM proxy URL
api_key="YOUR_PLUGSKY_KEY", # was a LiteLLM virtual key
)
reply = client.chat.completions.create(
model="plugsky-pro", # mapped from your old alias
messages=[{"role": "user", "content": "Summarise the incident."}],
)
print(reply.choices[0].message.content)
The public docs also accept https://plugsky.com/v1 as an alias; examples here use the canonical host. If the old proxy used a model alias such as gpt-4o, keep that name in your application config and map it to a Plugsky ID at the boundary. That keeps the migration reversible and the application readable.
If you keep a gateway for legacy providers, route new workloads to the managed API and leave the proxy for the exceptions. The OpenAI API alternatives guide covers the model side; the OpenAI-compatible API guide covers the interface and exit cost.
How we evaluated this
We compared the options on five criteria, weighted for a production decision rather than a demo:
| Criterion | Weight | What we looked for |
|---|---|---|
| Operational burden | 30% | Proxy, database, upgrades, key custody and on-call |
| Deployment and data path | 25% | Region choice, private deployment and who can access data |
| Billing predictability | 20% | Pass-through, markup, credits, idle cost and overage |
| Model access | 15% | Catalogue depth and fit for the workload |
| Migration effort | 10% | OpenAI compatibility, alias mapping and test surface |
The weights are editorial, not a published standard. We did not run latency or throughput benchmarks, did not complete a migration, and did not review any provider’s security report. We read the official documentation and pricing pages on 20 November 2026 and treated “not published” as unknown rather than guessing.
Honest comparison
| Capability | Plugsky | LiteLLM self-hosted | Direct provider APIs |
|---|---|---|---|
| What it is | Managed multi-model API | Open-source gateway and SDK | One vendor per integration |
| Infrastructure | None to operate | Proxy, database and upgrades are yours | None |
| Keys and billing | One Plugsky plan | Your provider keys, provider bills | Your keys per provider |
| Model access | every public model in one catalogue | Whichever providers you connect | One vendor catalogue each |
| Routing | Choose a model per request | Fallbacks, retries and budgets built in | You build it |
| Private deployment | Cloud, VPC, on-premises, air-gapped | Wherever you run containers | Vendor dependent |
What we did not verify
- We did not benchmark LiteLLM or Plugsky. No latency, throughput or cost-per-task figure in this page is a measurement.
- We did not complete a migration from a LiteLLM proxy. The code path is documented, not run end to end here.
- We did not review LiteLLM’s licence, security posture, database schema or upgrade history. Confirm the feature split and support terms before standardising.
- We did not review a Plugsky SOC 2 report, subprocessor list or private-deployment contract. A SOC 2 report can be requested under NDA; confirm the period, scope and exceptions.
- We did not verify competitor prices beyond the published figures cited; credit fees, free tiers and rate limits change.
Frequently asked questions
What is the best LiteLLM alternative for a small team?
For a small team the main alternative is a managed multi-model API. Plugsky serves all public model IDs behind one OpenAI-compatible endpoint with flat monthly plans, so there is no gateway, database or provider key ring to operate.
Can I keep using my OpenAI SDK after moving off a LiteLLM proxy?
Yes. Plugsky exposes OpenAI-compatible chat and embeddings endpoints, so you change the base URL and model names and keep your existing client code. Re-test streaming, tool calls and error shapes before cutover.
Does Plugsky match LiteLLM's routing features?
Partly. Plugsky lets you choose a model per request, but it does not offer provider-level fallback across third-party keys the way a self-hosted LiteLLM proxy does. Keep a gateway if cross-provider routing with your own accounts is essential.
Is there a free way to test a managed API?
Yes. The free plan includes plugsky-micro and plugsky-lite with no card required. Paid plans carry a 7-day money-back guarantee, and annual billing is 20% off. Check the pricing page for current terms.
How much migration work is involved?
You change the base URL, map model aliases and re-run your tests. Applications written against an OpenAI-compatible client usually need no other code changes, but tool schemas and streaming behaviour still need verification.
Can I deploy Plugsky privately instead of using its cloud?
Yes. Deployment options include private VPC or dedicated endpoint, on-premises and air-gapped environments. Private deployment is contract-led, so scope, hardware, update path and support access must be confirmed in writing.
Does LiteLLM stop being useful if I move to Plugsky?
No. Many teams keep a gateway for legacy providers or cloud commitments and route new workloads to a managed catalogue. The two layers can coexist without sharing a key or a database.
When is LiteLLM the better choice?
When your own provider accounts, cloud commitments or a self-hosted control point are hard requirements, when you need cross-provider fallback with your own keys, and when you have a platform team to run the proxy, database and upgrades.
Is LiteLLM open source?
LiteLLM is an open-source project whose gateway runs as a self-hosted server. Some features require an Enterprise licence, so check the current licence and feature split before standardising on it.
Related pages
Test the migration on one workload
Bring an alias list and a prompt set. We will map the catalogue and show what changes at the boundary.
Start free See pricingSources
Competitor claims below were checked on the linked official page on 20 November 2026. Prices and free-tier terms can change.
- LiteLLM: self-hosted AI Gateway — OpenAI-compatible endpoint, virtual keys, budgets, fallbacks and retries. Checked 20 November 2026.
- LiteLLM: virtual keys — per-key models, budgets, rate limits and the database dependency. Checked 20 November 2026.
- OpenRouter: FAQ — pass-through pricing and the credit-purchase fee. Checked 20 November 2026.
- Cloudflare: AI Gateway pricing — free core features and the Unified Billing credit fee. Checked 20 November 2026.
- Portkey: what is Portkey — open-source gateway, managed free tier and paid plans. Checked 20 November 2026.
- Plugsky docs — OpenAI-compatible API and endpoint reference. Checked 20 November 2026.
- Plugsky pricing — plan limits and billing terms. Checked 20 November 2026.
- Plugsky models — all public model IDs and context. Checked 20 November 2026.
- Plugsky status — live component health. Checked 20 November 2026.
Last checked 20 November 2026. Approved product facts live at /facts; Plugsky plan terms live at /pricing. Legal: Terms and SLA.