Running Models YourselfLesson 61 of 82

Module 7 · Serving it to other people

Logging without building a liability

In this lesson

  • 9 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 6 of 9 in this chapter

This chapter’s goalExpose a local model as a service other people can use safely (bound to loopback and reached over SSH or a WireGuard mesh, fronted by a gateway that holds keys and quotas, packaged and supervised so it restarts on its own, logging what is needed without retaining prompts you cannot defend) and state what an unauthenticated inference port costs you within hours of being reachable.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

The reason people ran it locally in the first place

Most teams that self-host say the same thing: the data cannot leave. Then they enable request logging to debug a problem, and within a month there is a file on disk containing every prompt anyone sent, including the medical history, the unreleased contract and the customer’s address. That file is now the most sensitive object in the building, it is on a machine hardened for compute rather than for storage, and nobody has decided how long it lives.

The honest framing: self-hosting moves the risk from a vendor’s retention policy to your retention policy. It does not remove it. The gain is real only if your policy is actually better, and a policy you never wrote is not better.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Open Model Ecosystem exam.

Stuck on something?Ask Tri, your AI tutor

How to cite: Addaly (2026) ‘Logging without building a liability’, in Running Models Yourself. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/running-models-yourself/logging-without-leaking (Accessed: 29 November 2026).