Skip to content
Courses/Local MLOps and model deployment/Project: private mini LLM platform

Project: private mini LLM platform

The final project ties everything together: a local model served by API, a gateway with limits, traces, minimal evals, and a clear decision on what is production-ready and what is not.

  • Set up a reproducible local architecture for an LLM app.
  • Document the model, gateway, logs, evals, costs, and limits.
  • Leave an exit checklist before opening it to users.

Project architecture

Terminal
user
  -> web app
  -> own API with auth
  -> LiteLLM gateway
  -> vLLM or llama.cpp server
  -> Langfuse/OpenTelemetry
  -> promptfoo evals
  -> Redis for queues/cache
  -> metrics dashboard

Production checklist

Maintenance and drift

An LLM platform degrades when users, documents, prompts, models, or expectations change. Define a simple review before the system fails silently.

Terminal
drift_check:
  frequency: "weekly"
  signals:
    - rise_in_abstentions
    - more_human_edits
    - high_p95_latency
    - new_question_types
    - drop_in_eval_dataset
  action:
    - review_traces
    - update_dataset
    - compare_current_model_vs_candidate
    - keep_rollback_ready
  • The model and its hash are documented.
  • The server is not exposed directly to the internet.
  • There are keys per environment, user, or team.
  • There are rate limits and a budget.
  • Traces show model, latency, tokens, and errors.
  • There are minimal evals before changing prompts or models.
  • There is a fallback plan if the local model goes down.
Terminal
decision_salida:
  estado: "internal pilot"
  usuarios: ["support team"]
  limite_diario_tokens: 500000
  modelos: ["local-qwen", "backup-cloud"]
  datos_permitidos: ["internal manuals", "FAQs"]
  datos_prohibidos: ["personal contracts", "secrets", "credentials"]
  siguiente_revision: "2026-07-17"
Complete Aulafy mapSee how this lesson fits without leaving your path.

Complete Aulafy map

How all courses connect

This is not a checklist. Start with the foundation, choose an outcome, and go deeper only when your project needs more control.

  1. 1Understand
  2. 2Apply or build
  3. 3Operate with confidence
01

Choose an application

Turn the foundation into a visible outcome: a website, a business improvement, media, or an interactive experience.

Continue into the technical branch when you need to maintain code, data, or infrastructure.

02

Build with code

Prepare your environment, work with coding agents, and run models while keeping control of your projects.

This branch prepares you to design and operate reliable AI systems.

03

Take systems to production

Combine retrieval, agents, evaluation, security, deployment, and model adaptation when the problem requires it.

You do not need every course: choose the component your system needs and return as it grows.

View full catalogue