macrostack
Browse

The AI stack

Categories

Local & Sovereign AINotes & KnowledgeObservability & MonitoringPassword ManagersWeb AnalyticsTeam ChatSmart HomeNetworking & RoutersVideo ConferencingCloud Storage & SyncPhotos & MediaAPI DevelopmentImage EditingWorkflow Automation & iPaaSDeveloper Tools & ContainersOffice & Productivity SuitesNo-Code DatabasesCode Hosting & Git ForgesProject ManagementEmail Marketing & NewslettersScheduling & BookingError Tracking & Exception MonitoringLog Management & SIEMVPN & PrivacyEmail & Secure MailVector Databases & AI SearchLLM & Agent FrameworksDomains & Web HostingData Removal & PrivacyAuthentication & IdentityHelp Desk & Customer SupportCloud & VPSKubernetes & Container PlatformsEmbedding ModelsPDF & DocumentsAI Coding AssistantsAI Voice & SpeechLLM Observability & EvaluationLLM Gateways & RoutingCloud GPU & AI ComputeCI/CD & build automationData & pipeline orchestrationModel serving & inferenceAI agent frameworksBackend as a serviceSecrets managementFeature flags & experimentationProduct analyticsSearch infrastructureUptime & status monitoringAffiliate & partner platformsVisitor identification & personalisationWikis & internal docsIdentity & access managementData warehouses & analytics enginesCustomer data platformsCRMObject storageBI & dashboardsE-signatureWhiteboards & diagrammingIn-memory data stores & cachingPlatform as a serviceTransactional & bulk emailHeadless CMSDesign & prototypingE-commerce platformsInternal tools & admin panelsManaged databasesForms & surveysFine-Tuning & Model TrainingRAG & Retrieval PlatformsLLM Evaluation & TestingAI Guardrails & Content SafetySpeech Recognition & TranscriptionExperiment Tracking & ML OpsDocument AI & OCR

About

How we rank & score

Layer 4 · self-hosting reality check

What it actually takes to self-host LiteLLM

The docs say 512 MB. In practice you want 2 GB. Here is the honest version — real requirements, real monthly cost, what you will be maintaining, and the one thing that catches people out.

Usually reached from Portkey alternatives, where LiteLLM is one of the picks.

RAM — documented minimum512 MB
RAM — what it really needs2 GB
CPU2 vCPU
DiskSmall
Monthly cost$12–24/mo, against LLM gateway products charging per request
Setup time1 hour
How you install itcontainer; a YAML file maps model names to upstream providers
Ongoing maintenanceLow, but it is now in the path of every model call you make.
Where it stops scalingThousands of requests per second; it is a thin proxy. The upstream providers are the limit.

The thing that catches people out

You have introduced a single point of failure between your application and every model provider. If the proxy is down, nothing reaches any model — including the fallback provider it exists to give you. Run at least two instances behind a load balancer, or keep a direct-to-provider code path you can flip to. A gateway that fails closed defeats the resilience it was added for.

When not to self-host LiteLLM

You call exactly one provider and have no plans to change. The abstraction earns its keep when you are routing, failing over or cost-tracking across several.

Every guide here carries this section. A site that only ever tells you to self-host is selling something — the useful answer is sometimes no.

Other Layer 4 self-hosting guides

Common questions

How much RAM does LiteLLM actually need?
2 GB in practice. The documented minimum is 512 MB, which is the figure at which the process starts rather than the figure at which it works under real use. 2 vCPU alongside it.
What does self-hosting LiteLLM cost per month?
$12–24/mo, against LLM gateway products charging per request This is commodity VPS pricing and excludes your time, which is the larger cost for most people — budget for low, but it is now in the path of every model call you make.
How long does it take to set up LiteLLM?
1 hour, via container; a YAML file maps model names to upstream providers.
When should I NOT self-host LiteLLM?
You call exactly one provider and have no plans to change. The abstraction earns its keep when you are routing, failing over or cost-tracking across several.
What is the most common mistake when self-hosting LiteLLM?
You have introduced a single point of failure between your application and every model provider. If the proxy is down, nothing reaches any model — including the fallback provider it exists to give you. Run at least two instances behind a load balancer, or keep a direct-to-provider code path you can flip to. A gateway that fails closed defeats the resilience it was added for.
The Macrostack brief

New swaps, worth your inbox.

A short, occasional email when we add a high-intent alternative or ship a new head-to-head. No spam, no selling your address — unsubscribe in one click.