Skip to main content
use-apify.com

LiteLLM: guides & tutorials

LiteLLM OpenAI-compatible proxy for 100+ LLM providers: cost tracking, fallbacks, and load balancing. Self-hosted on a Liquid Web 4 GB VPS.

3 articles

View all tags

Related topics

Self-hosting7 min read

5 Self-Hosted ChatGPT Alternatives — Run LLMs on Your Own Server (2026)

· 7 min read
Yassine El Haddad
Software Developer & Automation Specialist

ChatGPT Team costs $25 per user per month. At 10 users that is $3,000 per year — before you factor in rate limits, data residency concerns, and the fact that every prompt you send trains future OpenAI models unless you opt out. Self-hosting an LLM stack eliminates per-seat costs, keeps prompts on hardware you control, and lets you run models tuned for your domain.

Self-hosting16 min read

n8n + LiteLLM + Twenty CRM: AI-Augmented Sales Workflows on Liquid Web (2026)

· 16 min read
Yassine El Haddad
Software Developer & Automation Specialist

TL;DR

  • One docker-compose.yml: n8n + LiteLLM + Twenty CRM + shared PostgreSQL + Redis + Caddy
  • Measured idle RAM: ~1.7 GB; peak: ~2.5 GB (parallel workflow executions with live LiteLLM calls)
  • Minimum Liquid Web tier: 8 GB Managed VPS (~$33–$40/mo)
  • Zapier Pro + unmanaged OpenAI API + HubSpot Starter: ~$69 + variable + $50/mo vs ~$33/mo self-hosted

Most sales teams that want AI-augmented automation end up in one of two bad places: paying for Zapier Pro, a direct OpenAI API key they can't audit, and HubSpot CRM — three separate subscriptions that don't compose well and bill regardless of usage. Or they write fragile Python scripts that break on every API change and nobody wants to maintain.

This guide deploys the middle path: Twenty CRM for pipeline management, n8n for visual workflow automation, and LiteLLM as an OpenAI-compatible AI proxy — all on a single Liquid Web 8 GB VPS. n8n calls LiteLLM for every AI task (lead enrichment summaries, proposal draft generation, inbound form classification), and LiteLLM provides budget caps, model fallbacks, and a unified request log.

Self-hosting15 min read

Private Team ChatGPT: Ollama + LiteLLM + Open WebUI + Authentik on Liquid Web GPU (2026)

· 15 min read
Yassine El Haddad
Software Developer & Automation Specialist

TL;DR

  • One docker-compose.yml: Ollama + LiteLLM + Open WebUI + Authentik + PostgreSQL + Redis + Caddy
  • Team logs in via SSO (Authentik OIDC); per-team budgets enforced by LiteLLM
  • Runs Llama 3 70B at 40–60 tokens/sec on a Liquid Web L40S GPU server (48 GB VRAM)
  • ChatGPT Team (10 users): $250/mo — this stack on L40S: ~$1,040/mo 24/7 or ~$360/mo at 8 hr/day · 5 days/wk

Every prompt your team sends to ChatGPT Team or Copilot for Microsoft 365 leaves your network and is processed on OpenAI's or Microsoft's servers. For most teams that's an acceptable trade-off. For teams handling legal documents, source code, financial data, or customer PII, it is not. This guide deploys a private ChatGPT equivalent — Llama 3 70B running on your own GPU hardware, with a ChatGPT-quality web interface, your company's SSO, and per-team usage budgets — entirely inside your infrastructure.