LLM.co
Download on the App Store

All LLM.co episodes

  • Building a HIPAA-Compliant Private LLM: The Spec You Actually Need

    With healthcare data breaches averaging $7.42 million in 2025 and regulators tightening the screws on electronic PHI, deploying an LLM in a clinical environment is no longer a product decision — it's a compliance architecture problem. This episode of LLM.co cuts past the "should you do it?" debate and gets into the actual build, drawing directly from the full HIPAA private LLM specification that technical leads need to get it right the first time.

    The episode walks through the layered decisions that determine whether a private LLM deployment survives a regulatory review or becomes an incident report, covering:

    • Business Associate Agreements at every layer: HIPAA liability follows the data, meaning your vector store, embedding model, log pipeline, key manager, and identity provider all need BAAs — or must be infrastructure you own outright.
    • Why open-weight, locally hosted models win compliance reviews: When the model provider never touches inference traffic, the compliance perimeter shrinks to auditable infrastructure — the core advantage behind the LLM appliance approach.
    • Model selection and the hallucination trade-off: Llama 3 70B via vLLM is the practical on-premises default; medical fine-tunes like MedGemma and BioMistral show promise but can hallucinate more than strong general-purpose base models on clinical tasks.
    • The 2025 HIPAA Security Rule rewrite: HHS's proposed rule would make encryption at rest/in transit and MFA mandatory rather than "addressable," with a 240-day compliance window after finalization — and FIPS 140-3 validated modules, not just AES-256, are the line that matters in an audit.
    • Audit logging as a required control: Prompt text, retrieved document IDs, model version, user identity, completion hashes, and timestamps must flow to tamper-evident, append-only storage — and be reviewed on a schedule, not only after an incident.
    • Applying the minimum necessary standard to RAG: Retrieval systems must filter by user role, not just query text; de-identification of training and analytics corpora must happen upstream, before fine-tuning, because models can memorize and reproduce sensitive content.
    • The episode also addresses the administrative and physical safeguard layer — where most Office for Civil Rights findings actually originate — and why workforce training now has to include prompt hygiene alongside traditional access controls. Organizations exploring HIPAA-compliant AI for healthcare will find this a practical framework for scoping what a compliant build actually requires. For teams thinking about infrastructure scale, the related episode How Many GPUs Do You Actually Need? A Practical Sizing Guide covers the GPU concurrency and context-length math in depth.

      LLM.co

      hardware.co

      6 min
    • How Many GPUs Do You Actually Need? A Practical Sizing Guide

      GPU sizing for on-premises AI rarely starts with the right question. Vendors lead with reference architectures built for worst-case scenarios, and organizations end up over-provisioned before a single workload requirement has been defined. This episode of LLM.co works through a practical, math-first approach to figuring out how much GPU memory and how many cards a real inference workload actually needs — drawing on the practical GPU sizing guide from hardware.co as its foundation.

      The episode walks through each layer of the sizing calculation in sequence, from model weights to concurrency planning, covering:

      • Weight memory as the baseline: why the two-gigabytes-per-billion-parameter rule in FP16 is your starting point, and how quantization (FP8, INT4) can cut that figure dramatically before you ever consider adding hardware.
      • The VRAM floor vs. ceiling distinction: weights only occupy 60–70% of usable VRAM in a well-planned deployment — the rest goes to KV cache, framework overhead, and serving headroom.
      • Why context length is the most common sizing mistake: at long contexts and high concurrency, the KV cache can dwarf model weights entirely, and three software-side choices (grouped-query attention, capped context, paged attention) address it before any hardware purchase.
      • Separating throughput from latency: aggregate tokens-per-second and per-user time-to-first-token are different constraints that drive different decisions — and the episode shows how to multiply through both to arrive at a defensible GPU count.
      • Memory bandwidth over TFLOPS: why LLM inference is memory-bandwidth-bound, and what that means for reading GPU spec sheets.
      • Sizing to the second-worst normal hour, not the theoretical peak: reference architectures assume your worst day is every day; real workloads — whether bursty document review or steady clinical summarization — are not shaped that way.
      • The five numbers to write down before requesting any quote — target model and quantization, p95 token lengths, peak concurrent users, acceptable token rate, and time-to-first-token — are the same inputs that inform decisions about comparing AI server configurations across different deployment sizes. Teams exploring on-premises deployment may also want to look at fine-tuning and model training services, where GPU memory requirements shift significantly from inference workloads. For more on keeping production LLM deployments stable during infrastructure changes, the episode How to Replace a Public LLM API Without Breaking Production covers the operational side of that transition.

        hardware.co

        6 min
      • How to Replace a Public LLM API Without Breaking Production

        Switching from a public LLM API to a private deployment sounds straightforward — until Monday morning standup reveals broken outputs and a hasty rollback. This episode of LLM.co breaks down why most first attempts fail and how a structured 30/60/90 migration plan changes that outcome. Drawing from this deep-dive guide on replacing a public LLM API safely, the discussion covers everything from the initial inventory to the final cutover decision, with practical sequencing that engineering and compliance teams can actually follow.

        Here's what the episode covers:

        • Start with an inventory, not a sprint. Ninety days of API logs reveal the full surface area — chat completions, embeddings, transcription, vector stores, fine-tuned checkpoints — each requiring its own migration path and success criteria.
        • Rank workloads by sensitivity and volume, not convenience. High-sensitivity, high-volume tasks — patient record summarization, loan file extraction, controlled source code review — move first. That forty-dollar-a-month ad hoc job waits for wave two. Teams in regulated industries such as healthcare have particular incentive to prioritize these routes early.
        • The gateway comes before any model. A routing layer (LiteLLM Proxy being the common choice) that speaks the OpenAI wire format on the client side lets every application keep calling the same endpoint while backends change underneath — the strangler fig pattern applied to inference.
        • Shadow mode is where migrations are won or lost. Duplicating production traffic to the candidate model — without users ever seeing the response — builds the evidence base for cutover and exposes prompt transfer failures before they become incidents. Prompts tuned for a frontier model routinely drop below 70% accuracy on open-weight alternatives without rework; budget two engineering weeks per material workload.
        • Three parity thresholds before you look at results. Task accuracy on a held-out eval set, 95th-percentile end-to-end latency, and refusal/format drift must all be defined in advance — not negotiated after the numbers come in.
        • Canary before blue-green, and keep a thin public-API connection. A ten-to-fifty percent canary ramp under real production load reveals failure modes that shadow mode can't surface. And not everything should move: frontier reasoning tasks, bursty workloads, and experimental features often justify retaining a metered public-provider connection alongside a custom private LLM deployment.
        • The episode also covers why the gateway doubles as an audit boundary — logging model ID, token count, latency, and routing decisions to your SIEM in a format that satisfies SOC 2, HIPAA, and EU AI Act obligations the moment you flip the private backend on.

          For more on infrastructure costs associated with private deployments, check out the related episode What a Private GPU Cluster for 200 Users Actually Costs. More from LLM.co on the full migration topic is available at the source article linked above.

          LLM.co

          hardware.co

          6 min
        • What a Private GPU Cluster for 200 Users Actually Costs

          Most budget conversations about private AI infrastructure start and end with GPU sticker prices — and that's exactly where the planning goes wrong. This episode of LLM.co delivers a rigorous, component-by-component total cost of ownership analysis for a private large language model cluster serving 200 knowledge workers at a regulated organization, drawing on this detailed GPU cluster cost breakdown current to late 2026. Whether you're at a mid-sized bank, a hospital network, or a defense contractor, the math is more tractable — and more illuminating — than most teams expect.

          The episode walks through every major budget line over a three-year horizon, explaining not just what things cost but why each variable moves the total the way it does:

          • Concurrency shapes hardware, not headcount. At 10–15% peak concurrency, 200 users typically require just two eight-GPU nodes — not a data center — and the right GPU choice (H100 vs. L40S) depends entirely on model size and inference workload.
          • Capital expenditure for a two-node H100 build runs roughly $820K–$1.4M over three years, covering GPUs, high-speed networking, storage for weights and vector indexes, and rack infrastructure; an L40S equivalent comes in at about half.
          • Power and cooling are a hidden budget line. Two nodes drawing ~22 kW of IT load, factoring in a realistic facility PUE, translate to $280K–$580K in colocation and power costs alone over three years.
          • Software is free to download but expensive to run. Open-weight runtimes cost nothing upfront, but commercial support across 16 GPUs adds $210K–$300K over the life of the system — a line item many initial estimates omit entirely.
          • Staffing is the largest non-hardware cost. A realistic 1.5–2 FTE model (platform engineer plus partial ML, security, and data engineering support) runs $400K–$700K over three years, dwarfing networking and storage budgets combined. For organizations exploring broader deployment, custom LLM deployment services can shift some of that operational burden off internal teams.
          • All-in, the three-year TCO for a production-grade H100 cluster with high availability, software support, and staffing lands at $1.9M–$3.2M; an L40S build for smaller models runs $1.2M–$1.9M. For teams in regulated sectors like healthcare or finance — where private LLM infrastructure for financial services carries additional compliance requirements — understanding these ranges before procurement is essential.
          • The episode also covers a practical headroom rule: clusters running at 90% utilization leave no room for the fine-tuning jobs that inevitably surface next quarter, making 60% steady-state utilization the smarter design target. If you're preparing for procurement conversations, the related episode What to Put in a Private LLM RFP Before You Sign is the logical next listen.

            LLM.co

            hardware.co

            5 min
          • What to Put in a Private LLM RFP Before You Sign

            Signing a private LLM vendor agreement without the right RFP language is how companies end up locked into data topologies, logging schemas, and termination terms they never agreed to — they simply never required anything different. This episode of LLM.co walks procurement leaders, CISOs, and heads of AI through the six contractual line items that actually determine whether a private LLM deal is enforceable — drawing directly from the private LLM RFP requirements checklist published on LLM.co.

            Here's what the episode covers:

            • Data and weight ownership: Five questions every RFP must force in writing — who owns training data, fine-tuned weights, and derived telemetry — with any hedge treated as disqualifying. Vendors who retain rights to derived weights will leverage that claim at renewal.
            • Air-gap and update mechanics: "Air-gapped deployment" is a marketing phrase until a vendor submits a network diagram covering every ingress and egress across install, inference, and patching. The episode details what a genuine offline deployment commitment looks like in writing, relevant to teams evaluating offline AI agents and air-gapped LLMs.
            • Audit log schemas: Logging "all activity" means nothing without a field-level specification. The episode walks through required fields at the request, agent, and administrative levels — all in structured JSON, streamed to the buyer's SIEM, with retention controlled by the buyer, not the vendor.
            • Red-team acceptance tests: Final payment should be gated on adversarial testing performed on the buyer's infrastructure against the buyer's data — anchored to the OWASP Top 10 for LLM Applications 2025 and the NIST Generative AI Profile (AI 600-1), with defined pass thresholds and re-test rights after every model or RAG index update. Teams managing ongoing risk may also want to look at LLM security audit and AI model review services.
            • Incident notification windows: Vendor default timelines routinely consume half a regulated buyer's compliance clock before the buyer even learns of an incident. The episode lays out the specific 24-hour discovery-to-notification requirement and why named breach coordinators and customer-led disclosure rights belong in the RFP.
            • Exit, escrow, and the kill clause: Assume the relationship ends. Source and weight escrow with a neutral third party, data portability across all fine-tuned artifacts and RAG indexes, and a defined kill clause triggered by acquisition, insolvency, or unpatched critical vulnerabilities are the three provisions every exit section needs.
            • For more on structuring the contract type itself — fixed-scope, managed appliance, or co-build — the related episode Fixed-Scope, Managed Appliance, or Co-Build: Picking the Right Private LLM Contract covers the trade-offs in depth.

              LLM.co

              hardware.co

              6 min
            • Fixed-Scope, Managed Appliance, or Co-Build: Picking the Right Private LLM Contract

              With AI pilot failure rates hovering near eighty percent and tens of billions in enterprise spending producing little measurable return, the contract model behind a private LLM deployment deserves far more scrutiny than most buyers give it. This episode of LLM.co examines the three structures dominating the private LLM market today — drawing on the detailed breakdown of private LLM contract models on the LLM.co blog — and explains how each one allocates risk, ownership, and exit rights in ways that can make or break an enterprise AI program.

              The episode covers:

              • Why contract structure is the real risk decision: Who absorbs a bad assumption — the buyer or the vendor — is determined entirely by which contract shape is signed, not by which model is chosen.
              • Fixed-scope builds: Best for well-bounded use cases with stable data and written acceptance criteria; regulated-industry builds often add $200K–$600K over baseline hosting, with vendors pricing in a 15–30% contingency buffer for unknowns. Teams evaluating a private AI contract review deployment are a prime fit — but only when the scope can be described unambiguously before signing.
              • The scope-drift failure mode: Fixed-scope contracts break down when evaluation criteria shift after stakeholders see early outputs — a hallucination that looked acceptable in the SOW can become a showstopper in demo week, and every change becomes a margin-carrying change order.
              • Managed appliance subscriptions: The vendor operates a private model inside the buyer's network perimeter; risk for model performance and drift shifts to the vendor while the buyer retains data governance. Modern hardware enables fine-tuning models up to 70B parameters on a single high-memory node, making a true LLM appliance viable even in air-gapped compliance environments.
              • Exit-clause essentials for appliance contracts: Before signing, secure a portable-format egress clause for weights and vector indexes, a data-destruction attestation with a defined timeline, and a right to run the system in read-only mode during wind-down — or "managed" quietly becomes lock-in.
              • Co-build engagements: Time-and-materials or retainer arrangements where vendor engineers embed under the buyer's technical leadership; the right fit when requirements are genuinely emergent, but IP allocation must explicitly name ownership of fine-tuned weights, training corpus derivatives, and evaluation harnesses — silence on any of those becomes costly at renewal.
              • For more on EU compliance obligations that intersect with all three contract structures, listen to EU AI Act Conformity for Self-Hosted LLMs: What Your Evidence File Must Prove. Source material and further reading are available at the LLM.co blog link above.

                LLM.co

                hardware.co

                5 min
              • EU AI Act Conformity for Self-Hosted LLMs: What Your Evidence File Must Prove

                The EU AI Act's December 2027 deadline for high-risk AI systems looks distant on a roadmap — but with notified body queues already growing and harmonised standards still being finalised, the organisations that will be ready are the ones assembling their evidence files now. This episode of LLM.co walks through the full conformity assessment requirements for self-hosted LLMs, cutting through the policy noise to focus on what a market surveillance authority would actually demand to see.

                The episode covers the full arc of Article 43 conformity for enterprise LLM deployments — from the legal triggers that push a system into Annex III high-risk territory, to the structural compliance advantages of owning your own inference stack. Key topics include:

                • Why the internal control lane is not the easy lane: Self-assessment under Annex VI eliminates the need for a notified body, but it transfers the entire evidentiary burden to the deploying organisation — including a quality management system, risk management file, and a signed declaration of conformity available on demand.
                • Annex IV, section by section: Each of the nine documentation sections maps to concrete artefacts for a self-hosted model — build manifests with cryptographic hashes, base model provenance, fine-tuning dataset lineage, RAG index composition, and retrieval policy, among others.
                • Where evidence files most often fall apart: Auditors cross-reference the design section, the changelog, and the monitoring logs — and gaps between those three sources are where assessments become adversarial.
                • Self-hosting as a structural compliance advantage: Unlike public API deployments — where provider and deployer can end up pointing at each other under Article 3 — a self-hosted stack gives one accountable provider, immutable WORM logs, version-pinned model artefacts, and a single tenant of record for data residency.
                • Article 72 post-market monitoring done right: A quarterly review or an unwatched dashboard does not satisfy the requirement. The episode details the closed-loop signals regulators expect — including embedding drift, refusal-rate deviation, calibration drift on labeled probes, and jailbreak-signature detection — all tied to documented corrective action.
                • Penalty context for board-level conversations: Fines for high-risk violations are material, and prohibited-practice breaches can reach €35 million or seven percent of global annual turnover — making the cost of a defensible evidence file straightforward to justify.
                • More from the show: if your organisation relies on third-party model providers, the earlier episode Why DeepSeek's China Data Storage Policy Is an Enterprise Red Flag covers exactly the kind of supply-chain accountability gaps that make self-hosting a compliance imperative, not just an architectural preference.

                  LLM.co

                  hardware.co

                  5 min
                • Why DeepSeek's China Data Storage Policy Is an Enterprise Red Flag

                  DeepSeek has earned real attention for its speed and accessibility, but its privacy policy contains a detail that enterprise teams cannot afford to overlook. This episode of LLM.co examines the data storage risks behind DeepSeek's China policy and explains why where an AI platform stores your data matters just as much as what it can do with it.

                  The conversation covers the full arc of the problem — from the legal mechanics of Chinese data sovereignty to the practical compliance exposure facing organizations in regulated industries:

                  • The core policy clause: DeepSeek explicitly states that user data may be processed and stored on servers located in the People's Republic of China, making jurisdiction a concrete, documented fact rather than an abstract concern.
                  • Why location equals legal exposure: China's Cybersecurity Law and Data Security Law grant government agencies broad authority over data held within Chinese borders — regardless of where that data originated or who owns the company.
                  • Collision with Western compliance frameworks: GDPR, HIPAA, and ITAR each impose strict controls on where and how sensitive data can travel; routing regulated information through Chinese servers can constitute a direct regulatory violation.
                  • The prompt-training risk: Beyond storage, inputs submitted to third-party LLM platforms may be used for model fine-tuning or retraining — meaning confidential contracts, trade secrets, or patient data could be ingested into systems operating under foreign jurisdiction with no recovery path.
                  • The broader lesson: DeepSeek is a vivid example, but the data-location question applies across all third-party AI tools; most organizations haven't fully audited where their AI-processed data actually lives.
                  • What a safer path looks like: Private deployment — on-premises, in a sovereign cloud, or within a controlled virtual private cloud — with local vector databases, encrypted ingestion, and no outbound data calls to external infrastructure.
                  • Before committing to any LLM platform, the episode recommends asking three non-negotiable questions: Where is the data stored? How is it processed? Who could access it under the governing jurisdiction's laws? More from the show: listen to How Enterprises Are Using Local LLMs for Fraud Detection for a look at how private deployment works in a high-stakes, compliance-heavy context.

                    LLM.co

                    hardware.co

                    5 min
                  • How Enterprises Are Using Local LLMs for Fraud Detection

                    Global fraud losses are on track to surpass half a trillion dollars, and the rigid, rules-based detection engines that financial institutions have trusted for years simply can't keep up. This episode of LLM.co explores how enterprises are deploying local LLMs to fight financial fraud — examining why on-premises AI is becoming the competitive edge for compliance-conscious organizations facing increasingly sophisticated threats like synthetic identity schemes, deepfake voice fraud, and sleeper-bot attacks.

                    The episode unpacks the full case for local large language models in enterprise fraud detection, covering:

                    • Why legacy rule engines are failing: Hard-coded logic can't adapt fast enough as fraud tactics mutate hourly — every patch creates a new gap for bad actors to exploit.
                    • How local LLMs reason across richer data: Rather than matching transactions to fixed conditions, these models detect probabilistic anomalies across payment rails, device telemetry, CRM notes, and support transcripts — often before any analyst spots a trend.
                    • The data-privacy advantage: Because the model runs entirely inside an organization's own infrastructure, raw customer data never crosses an external wire — turning compliance from a liability into a competitive strength.
                    • A dramatic drop in false-positive triage: Research shows alert fatigue — the single largest drain on analyst hours — falls by more than a third after a local LLM joins the fraud stack, freeing teams to focus on genuinely ambiguous cases.
                    • Explainability that enables human oversight: Instead of opaque risk scores, analysts receive plain-language rationale for each flag, making confident overrides possible and feeding corrections back into the model as evidence.
                    • Governance built for regulators: Every inference can be written to an immutable, timestamped ledger — compressing compliance reviews from months to days and delivering the reproducible audit trails regulators increasingly demand.
                    • The episode also addresses the two most common implementation pitfalls: overfitting to historical attack patterns (solved by holding out recent validation slices and injecting synthetic "canary" scenarios) and the organizational gap between data scientists and frontline fraud operators (closed with structured cross-functional syncs that keep model tuning aimed at real bottlenecks). Together, these disciplines separate institutions that merely experiment with local LLMs from those that deploy them at production scale.

                      For more on building reliable AI in high-stakes environments, check out the earlier episode Debugging Hallucinations in Open Source Models.

                      LLM.co

                      hardware.co

                      5 min
                    • Debugging Hallucinations in Open Source Models

                      Hallucinations — confident, fluent, and factually wrong AI outputs — are among the most damaging trust failures in production systems. This episode of LLM.co draws on the full guide to debugging hallucinations in open source models to walk through why these failures happen and, more importantly, how to trace them back to their root causes rather than chasing individual bad outputs.

                      Language models don't retrieve facts — they predict likely text. Fluency and accuracy are not the same thing, and users routinely mistake a confident tone for a verified answer. Teams working with open source models have real leverage here, but only if they approach the problem systematically. The episode covers:

                      • Why hallucinations cluster into types — missing knowledge and reasoning errors require different fixes, and conflating them leads teams to pile in more documents when the actual problem lies elsewhere.
                      • How prompt design quietly invites invention — vague instructions like "explain fully" push models toward gap-filling; well-constructed prompts give the model explicit permission to express uncertainty or stop.
                      • The role of retrieval and context quality — bloated, conflicting, or loosely related source documents can produce blended, incoherent answers that have nothing to do with the model's underlying capability.
                      • Document chunking as an underappreciated culprit — overly aggressive splitting strips surrounding context from retrieved fragments, leaving the model to complete pictures it was never given enough of.
                      • Generation settings and their real tradeoffs — temperature affects variation, not truthfulness; a stable hallucination repeated consistently is still a hallucination, and settings should be matched deliberately to the use case.
                      • Fine-tuning and evaluation blind spots — training examples that reward completeness over accuracy teach models to fill gaps; evaluation sets that don't reflect messy real-world queries will miss the failures that matter most in daily use.
                      • The throughline across all of these is that groundedness — whether a model's output is actually supported by available sources — is a more honest signal than helpfulness alone. A model that always produces detailed answers may score well on surface-level metrics while quietly eroding user trust every time those details are invented.

                        For more on the organizational side of AI failure, don't miss the earlier episode Why AI Projects Fail Organizationally Before They Fail Technically — a strong companion listen to this one.

                        LLM.co

                        hardware.co

                        5 min