# Une alternative à LiteLLM que vous n&#39;hébergez pas

LiteLLM is open-source software you deploy on your own server — Docker, config files, provider keys, uptime your problem. RunAPI is a hosted gateway: same OpenAI-compatible API, same 100+ LLMs, no server to run. Change the base URL and your existing code keeps working. RunAPI also adds image, video, and music generation, built-in billing, MCP server, CLI, and SDKs at 50% off official rates.

*Updated June 23, 2026 · RunAPI Editorial*

## LiteLLM vs RunAPI — auto-hébergé ou géré ?

LiteLLM is an open-source Python proxy you run on your own server. It supports 100+ LLMs through a unified OpenAI-compatible interface — you pay provider costs and your own hosting, but you control everything. RunAPI is the managed version of that idea: the same OpenAI-compatible API, no server to run, 50% off official model rates, and coverage extended to image, video, and music generation under one API key. If the setup and ops work of self-hosting isn&#39;t something you want to own, RunAPI gets you the same multi-model access without it.

- **Modèle d&#39;hébergement**: LiteLLM s&#39;exécute sur votre infrastructure (Docker, VMs, K8s). RunAPI est un service hébergé — envoyez des requêtes à runapi.ai, aucun déploiement requis.
- **Couverture des modalités**: LiteLLM route les LLMs texte. RunAPI route les LLMs et ajoute la génération d&#39;images, de vidéos, de musique et d&#39;audio sous une seule clé.
- **Tarification**: LiteLLM est un logiciel gratuit ; vous payez les coûts API des fournisseurs plus l&#39;hébergement. RunAPI facture 50 % des tarifs officiels des modèles sans surcharge d&#39;infrastructure.
- **Boîte à outils développeur**: RunAPI propose un serveur MCP, une CLI et des SDK pour Python, Node.js, PHP, Java, Go et Ruby aux côtés d&#39;une compatibilité complète avec le SDK OpenAI.

## Comparaison des fonctionnalités LiteLLM vs RunAPI

The table compares the two gateways across the dimensions that matter most: whether you want to run your own server or just use an API, how much you pay, and what models you can actually reach.

| Fonctionnalité | LiteLLM | RunAPI |
|---|---|---|
| Modèle d&#39;hébergement | Auto-hébergé (votre infrastructure) | Service entièrement géré |
| Routage LLM | Oui — 100+ modèles | Oui — 100+ modèles |
| Génération d&#39;images | Non | Oui |
| Génération de vidéos | Non | Oui |
| Musique et audio | Non | Oui |
| API compatible OpenAI | Oui | Oui |
| Facturation intégrée | Manuelle (clés propres) | Oui — facturation de compte unifiée |
| Serveur MCP | Non | Oui |
| SDK officiels | Python (SDK LiteLLM) | Python, Node.js, PHP, Java, Go, Ruby + compatible OpenAI |
| CLI | litellm CLI (gestion serveur) | Oui — génération et gestion des clés |
| Coût | Coût fournisseur + hébergement | 50 % de réduction sur les tarifs officiels des fournisseurs |

## Qu&#39;est-ce qui change quand vous abandonnez le proxy auto-hébergé ?

Running LiteLLM means cloning the repo, editing a .env file with a master key and salt key, running docker-compose, then configuring each provider through the admin UI — and that&#39;s just the first time. After that you own the uptime, the upgrades, and the key rotation. RunAPI removes that layer entirely. Send requests to runapi.ai and pay per call. No server, no config files, no provider accounts to juggle.

### Aucun serveur à provisionner

LiteLLM requires a running Python process or Docker container on a VPS you pay for and monitor. RunAPI is an HTTPS endpoint — point your client at it and start calling.

### Aucun fichier de configuration à maintenir

Le fichier config.yaml de LiteLLM mappe les noms de modèles sur les clés des fournisseurs et gère les replis. RunAPI gère le routage en interne ; vous fournissez une seule clé API.

### Pas de gestion de clés par fournisseur

Avec LiteLLM, vous stockez les clés Anthropic, OpenAI, Gemini et autres sur votre serveur. RunAPI ne conserve qu&#39;une clé de votre côté — il gère les identifiants des fournisseurs de son côté.

### Facturation unifiée en un seul endroit

LiteLLM gives you raw provider invoices across multiple accounts. RunAPI consolidates all usage into a single dashboard with per-call cost records — one bill instead of a bunch of paid API accounts.


## Quels modèles RunAPI route-t-il ?

LiteLLM&#39;s strength is breadth — it routes 100+ LLMs from every major provider. RunAPI matches that LLM coverage across the frontier models most teams actually use (Claude, GPT, Gemini, DeepSeek) and adds generative media models not available through LiteLLM.

### Modèles de langage

Claude, GPT, Gemini, DeepSeek, and other LLMs for chat, coding, reasoning, and tool use — the same text coverage LiteLLM users expect from the frontier models.

### Modèles d&#39;image

Modèles texte-vers-image et édition d&#39;image incluant Flux et Seedream, appelables avec la même clé API que vos appels LLM.

### Modèles vidéo

Modèles texte-vers-vidéo et image-vers-vidéo pour générer de courts clips, facturés à l&#39;utilisation par tâche.

### Musique et audio

Génération de musique et modèles audio pour les bandes sonores et le travail vocal — des modalités entièrement hors de la portée de LiteLLM.


## Comment les tarifs RunAPI se comparent-ils à l&#39;auto-hébergement de LiteLLM ?

LiteLLM is free software but you pay full provider rates on top of what your VPS costs (~$6–12/month) plus time spent maintaining the setup. RunAPI charges 50% of official provider rates with no hosting overhead. For teams that aren&#39;t optimizing LiteLLM&#39;s advanced routing features, the total cost often favors the managed option.

| Modèle | Entrée officielle /M | Sortie officielle /M | Entrée RunAPI /M | Sortie RunAPI /M |
|---|---|---|---|---|
| Claude Sonnet 4.6 | $6.00 | $30.00 | $3.00 | $15.00 |
| Claude Opus 4.7 | $10.00 | $50.00 | $5.00 | $25.00 |
| GPT-5.4 | $2.50 | $15.00 | $1.25 | $7.50 |
| Gemini 2.5 Pro | $1.25 | $10.00 | $0.63 | $5.00 |

## Comment passer de LiteLLM à RunAPI

1. **Créer un compte RunAPI** — Inscrivez-vous sur runapi.ai. Aucune carte de crédit n&#39;est requise pour commencer.
2. **Obtenir votre clé API** — Allez dans Dashboard -&gt; API Keys, créez une clé et copiez-la dans votre environnement.
3. **Mettre à jour l&#39;URL de base** — Dans votre client compatible OpenAI ou votre configuration LiteLLM, changez l&#39;URL de base pour https://runapi.ai/v1 et remplacez votre clé LiteLLM par la clé RunAPI. Aucune autre modification de code n&#39;est nécessaire.
4. **Désaffecter votre serveur LiteLLM** — Une fois les requêtes routées via RunAPI, vous pouvez arrêter votre processus LiteLLM et supprimer le serveur. Les clés de fournisseurs stockées là ne sont plus nécessaires.

## FAQ sur les alternatives à LiteLLM

### Isn&#39;t this still paying for cloud APIs? How is this different from just using the services directly?

Good question — the difference is one API key, one bill, and one base URL. With LiteLLM you still need an Anthropic key, an OpenAI key, a Gemini key, and so on, plus the LiteLLM server to hold them all together. RunAPI gives you a single key that reaches every model. You drop it in where you used to put your OpenAI key, change the base URL to runapi.ai/v1, and you&#39;re done. No accounts to manage per provider, no invoices per service.

### You started with self-hosted, then immediately added a bunch of paid cloud API subscriptions — isn&#39;t that the opposite of self-hosted?

LiteLLM gives you self-hosting with full control — your server, your provider keys, your config files. RunAPI is the other side of that choice: no Docker, no VPS to pay for, no config.yaml to maintain, no uptime to monitor. You still get the same OpenAI-compatible API and access to 100+ LLMs. The tradeoff is that you don&#39;t run the infrastructure; RunAPI does. If control and privacy are the priority, LiteLLM makes sense. If you want multi-model access without the setup, RunAPI gets you there faster.

### Is RunAPI a drop-in replacement for LiteLLM?

RunAPI is a drop-in replacement for the OpenAI-compatible API surface — the same /v1/chat/completions endpoint. Change the base URL and API key in your existing client and requests start routing through RunAPI. LiteLLM-specific features like virtual keys and custom routing rules have no equivalent, so check those before switching.

### Combien coûte RunAPI par rapport à LiteLLM ?

LiteLLM is free software but you pay full provider rates plus the cost of running a server (a VPS typically runs $6–12/month) plus time spent on upgrades, config changes, and debugging outages. RunAPI charges 50% of official model rates with no hosting overhead. For Claude Sonnet 4.6, that is $3 per million input tokens and $15 per million output tokens versus $6 and $30 at official rates — and nothing extra for the server.

### RunAPI fonctionne-t-il avec Claude Code, Cursor et Windsurf ?

Oui. Définissez l&#39;URL de base Anthropic ou OpenAI dans les paramètres de chaque outil sur le point de terminaison RunAPI et utilisez votre clé RunAPI. Les trois outils fonctionnent sans modification supplémentaire. La même clé débloque également les modèles d&#39;image, de vidéo et d&#39;audio pour les projets nécessitant une génération multimodale.

### Qu&#39;est-ce que le serveur MCP et en quoi diffère-t-il de LiteLLM ?

RunAPI propose un serveur Model Context Protocol qui permet aux hôtes compatibles MCP comme Claude Code de découvrir des modèles, vérifier les tarifs et créer des tâches directement depuis l&#39;interface assistant. LiteLLM n&#39;a pas de serveur MCP. Le serveur MCP de RunAPI est additif — vous pouvez l&#39;utiliser aux côtés de l&#39;API REST plutôt qu&#39;à la place.

### Puis-je utiliser le SDK Python OpenAI avec RunAPI ?

Yes. Point the base_url parameter at https://runapi.ai/v1 and pass your RunAPI key as api_key. The rest of your OpenAI SDK code stays unchanged. RunAPI also publishes its own typed SDKs for Python, Node.js, PHP, Java, Go, and Ruby if you prefer a client built for RunAPI&#39;s full API surface including media generation.

### Que se passe-t-il avec les fonctionnalités LiteLLM comme les clés virtuelles et le suivi des dépenses ?

LiteLLM&#39;s virtual key system lets you issue internal keys with per-key spend caps and model restrictions — useful if you&#39;re running LiteLLM as a shared hub for a family or team. RunAPI doesn&#39;t have virtual keys, but provides per-account usage reporting and per-call cost records in the dashboard. If the main reason you use LiteLLM&#39;s virtual keys is to track or limit spend, RunAPI&#39;s account billing covers that. If you need to issue keys to other people with different model access, evaluate that gap before migrating.

