Inference & PerformanceIndustry & Competition

Before Bringing Models In-House, Calculate Three Ledgers First

An engineer leading developer ecosystem at a GPU cloud provider set up a GPU rack at home to run open-weights models. He publicly confessed that this hardware doesn’t save money and might even double his electricity bill; he said he no longer tries to justify it on economic grounds, as the entire return lies in sharpening his personal skills. His name is Zach Mueller, and he works at Lambda. In a conversation with evaluation expert Hamel Husain, his exact words were: “it is training and sharpening my skills. I don’t even try and justify it anymore.” (How To Use Open Models Effectively)

Why bring up his confession right at the beginning? When it comes to whether to self-host open models, the industry is full of extreme voices. On one side, people cheer as benchmarks reach parity with proprietary models; on the other side, skeptics assert that local deployment is a bottomless money pit. Both sides stick to their arguments, yet few explain the decision itself clearly. When someone whose day job is selling GPU cloud services personally overturns the assumption that self-hosting saves money, it speaks louder than any leaderboard score: this calculation is far more complex than intuition suggests.

Another widely circulated conclusion also warrants re-examination. In July, open-weights researcher xjdr offered an assessment: “with proper UX, current open weights models are good enough for 90% of queries from 90% of people” (Original Tweet). Many have simplified this statement to mean that open models can cover 90% of scenarios, ignoring the temporal premise in the original quote—current. This is a snapshot of 2026, not an eternal truth. In my own daily work, I use both commercial frontier APIs and open-weights models. Having used both extensively, I increasingly realize that this is always a ledger calculation that must be worked out item by item.

Feasibility Has Been Solved, but Being Able to Run Does Not Mean You Should

Real-world data from the first half of 2026 has already settled the question of whether open models are viable. On OpenRouter, DeepSeek’s weekly token share grew from 9% in January to 18% in June, continuously holding the spot as the platform’s top model provider since mid-May. In June, models from Chinese teams collectively accounted for 46.4% of total platform usage, surpassing US models at 35.7% (OpenRouter Data). In the demanding field of code generation, MiniMax M2.5 achieved an 80.2% pass rate on SWE-bench Verified, virtually on par with Claude Opus 4.6’s 80.8% (Selection Guide).

The barrier to running on a single machine has dropped rapidly. A consumer GPU with 16GB VRAM, running a 27B model whose memory footprint is halved with 4-bit quantization, can easily power a daily agent. This agent can search the web, call APIs, read documents, and manage your inbox. Hamel provided an intuitive summary in the video description: a $600 graphics card is all it takes to smoothly run a respectable AI agent.

Being technically able to complete tasks and reliably delivering results in a production environment represent two different engineering realities. The tool harness layer is no longer a bottleneck: Claude Code can point to any API via environment variables, open-source harnesses like OpenCode support this natively, and mainstream harnesses overlap heavily on 95% of daily tasks and are essentially interchangeable—just pick whichever feels right and use it. Zach warned that the real pitfall lies elsewhere: plugging an open model into the backend of a proprietary harness and expecting equivalent output usually falls short of expectations, because those harnesses are tuned around their creators’ own models. Thus, the accurate reading of 90/90 is: weights are free, and you can pick off-the-shelf harnesses to run them; the truly difficult ledger lies in cost and utilization, which we explore below.

Another cost analysis targeting enterprise production systems provides a counterpoint. It concludes that commercial APIs are better suited for 95% of actual production workloads, because once harness development hours, GPU idle waste, and maintenance overhead are factored in, pay-as-you-go cloud APIs remain significantly more cost-effective (Cost Analysis). A 90% task-suitability potential and a 95% production-workload applicability verdict are not contradictory. These two figures reveal two sides of the same reality: open models can indeed handle most routine tasks, but the vast majority of live production systems will still remain on cloud APIs. The basis for making the final choice comes down to the three ledgers in front of your team.

Three Ledgers: Money, Data, and Capability

Three ledgers: Cloud APIs win on cost, self-hosted deployments win on data and capability

Deciding whether to self-host hinges on clearly calculating three ledgers: financial cost, data, and capability. Only by properly weighing the relative importance of these three can one talk about real expenses and returns.

The first ledger is financial cost. Comparing API unit prices alone, hosted open-source endpoints are generally 60% to 90% cheaper than top-tier proprietary frontier models. DeepSeek V4 Flash has an input price of $0.14 per million tokens, compared to $5.00 for GPT-5.5 (Report). If one only makes horizontal comparisons among cloud APIs, hosted open-source endpoints are indeed much cheaper.

But self-hosting is a completely different ledger. Its total cost of ownership often reaches three to five times the pure hardware bill; a team budgeting $5,000 per month for compute might see actual monthly total spending surge to $25,000 (Cost Breakdown). Utilization is the critical variable here: the lower the utilization, the higher the amortized cost per token. When renting compute, the mechanism is straightforward: machines are billed at a fixed hourly rate, charged even when idling. Owning GPUs is far more complex: electricity costs fluctuate with load and are quite low at idle, but hardware depreciation and engineering maintenance hours are fixed overheads. When utilization is low, these fixed investments cannot be amortized thinly.

Furthermore, utilization inherently clashes with user interaction experience. The only way to save money on GPUs is to batch more requests together into the same computation; the more requests per batch, the lower the unit cost, but each request must queue and wait for others’ computations to finish. Someone benchmarked Llama 70B on an H100: scaling concurrency from 1 to 100 increased throughput by 20x, but time-to-first-token latency jumped from 45 ms to 740 ms (Benchmark Data). If you want to save money, you must maximize utilization, but maximizing utilization makes users wait longer for the first token; if you want a snappy user experience, you must over-provision and lower utilization, which eliminates the cost savings. This is the paradox of self-hosted inference: it is not expensive because of hardware, but because utilization and interactive latency fight each other—suppressing one drives up the other. Background batch processing tasks can wait, so pushing utilization to the maximum is fine; but for any agentic inference where a human is watching, this knot cannot be untied. Academia has reached the same conclusion: prefill and decoding computations crowded onto the same GPUs drag each other down, forcing you to either sacrifice latency on one end or over-provision compute to meet standards for both (DistServe Paper).

When this ledger is tallied up, who wins? Combining fixed hardware investments and pay-as-you-go API expenses, a private deployment built with two H100 GPUs needs an actual monthly request throughput of roughly 2 billion tokens to break even with mid-priced cloud APIs (Breakeven Calculation). This volume far exceeds the daily needs of most developers and small-to-medium teams. In routine business scenarios, directly paying for APIs per token saves more money; only when volume is massive and requests are steady can self-hosting potentially deliver financial savings.

The second ledger concerns data security. Industry statistics show that 31% of enterprise decision-makers rank security compliance and data privacy as their top consideration when selecting models, and the market share of on-premise inference has grown from 12% in 2023 to 55% (Deployment Statistics). Sending data to external clouds places it under third-party retention policies. European regulators have explicitly warned that when external APIs handle data deletion requests, there is a lack of verifiable guarantees that physical erasure actually occurs. Zach noted during the conversation that using third-party aggregation gateways might route requests to unknown nodes across different jurisdictions. However, commercial contracts and technical agreements can alleviate compliance concerns. OpenAI and Anthropic now both offer mature enterprise-grade compliance certifications, allowing teams to sign compliance addendums for highly sensitive workloads alongside zero data retention commitments (OpenAI Enterprise Privacy). If a team’s core requirement centers on compliance audits, commercial agreements often achieve the goal without needing physical GPUs in a server room.

The third ledger is the accumulation of team capability, where returns manifest in skills. Open models allow teams to fine-tune parameters for vertical business domains. The Honeycomb and ReChat case studies documented by Hamel demonstrate that vertically fine-tuned smaller models can beat general-purpose large models on specific tasks (Fine-Tuning Case Studies), with single-run LoRA fine-tuning compute costs starting as low as three hundred dollars. Zach is particularly candid about this: his home GPU rack cannot recoup its costs financially, but the entire process gave him end-to-end hands-on experience spanning drivers, inference frameworks, and VRAM scheduling. Financial depreciation schedules cannot capture an engineer’s growth, but this investment transforms into a team’s long-term hands-on capability.

Three Tiers of Options: From a 16GB Card to Frontier APIs

Three tiers of options: Rent tokens, rent hardware, own hardware, with increasing control

Once the weights of the three ledgers are calculated, the implementation options can be arranged along a spectrum from shallow to deep. Based on the degree of control over underlying compute, they fall into three tiers: renting tokens, renting compute hardware, and purchasing/owning hardware.

The first tier is renting tokens, directly calling off-the-shelf cloud APIs on demand, which carries the lightest maintenance burden. This tier includes two forms: proprietary frontier commercial APIs and hosted open-source model endpoints, the latter of which are typically 60% to 90% cheaper per call. An easily overlooked hidden cost in this tier appears in context caching. For instance, in high-frequency, heavy-payload scenarios like coding assistants, applications send long contexts of around twenty thousand characters with every request. If pre-computed caches are missed, the entire context must be re-transmitted and re-computed from scratch on every interaction. Zach emphasized that once cache misses happen frequently, API costs can quickly spiral out of control. Additionally, if routing requests through aggregator gateways, one must beware of potential compliance risks from traffic flowing to service providers in unknown jurisdictions.

The second tier is renting compute hardware—renting GPU-equipped virtual machines in the cloud and deploying open models, giving the team autonomous control over the inference service. Zach provided a pragmatic validation logic for this tier: first rent temporary spot/interruptible compute instances for two to three weeks, deploy the open model live, and fully log the actual token throughput generated by real workflows. He summarized this path in his own words: “track your token usage and see if you’re actually using it like you hoped you would. And if you are, okay, either do more long-term commitments or go out and buy hardware… Otherwise, it’s a toy and it’s a very expensive toy.” (Rent first, buy later; let real usage do the talking.) When selecting rental machine configurations, prioritize specs with the largest VRAM per GPU; while renting hardware, speed is money, and frontier open models are continuously optimized for the latest hardware.

The third tier is purchasing physical hardware and owning it locally for the long term. Taking a single RTX 4090 GPU as an example, combining hardware depreciation and power consumption yields a total cost of ownership of approximately $104 per month (Cost Analysis). If a team consistently generates 8 million tokens of inference demand per month, the ownership cost of this local hardware breaks even with calling GPT-4o-class commercial APIs. The hard ceiling in this tier lies in matching VRAM capacity with model parameter scale. As model parameters grow, the required number of physical cards and hardware budget increase exponentially. While quantization techniques can halve VRAM requirements with virtually lossless inference quality on large models, smaller models compressed through quantization may see their average benchmark scores drop noticeably by nearly ten points (Quantization Research). Zach himself is in this tier; he knows full well that this path is closer to an investment in skills, and one cannot expect it to reduce financial spending in the short term.

Seven Signals, Two to Three Weeks of Validation

Translating the three ledgers and three tiers into practical decisions doesn’t require looking at complex flowcharts. By observing the following seven concrete signals, you can pinpoint your team’s current landing spot.

Data compliance stringency is the first rigid signal. Once regulations or commercial contracts require data to be physically isolated inside a private network, the options are pushed directly toward Tier 2 rented hardware or Tier 3 purchased hardware, unless the cloud API’s zero data retention agreement can pass legal compliance review. Task complexity is the second signal. For routine tasks like structured information extraction, API calling, and long-document summarization, open models are fully competent; however, when it comes to frontier scenarios such as long-horizon autonomous coding and complex multimodal reasoning, top proprietary models still maintain a multi-month technological generation gap (Gap Analysis).

Production traffic volume and consistency are the third signal. Only long-term, sustained, and steady high-concurrency requests can amortize the fixed depreciation of underlying hardware; if workloads are occasional, fluctuating, and lightweight, staying with pay-as-you-go APIs is the most cost-effective. Generation speed requirement is the fourth signal. A throughput rate of 20 tokens per second is sufficient for background offline tasks; 50 tokens per second smoothly matches the real-time interactive cadence of human engineers; and high speeds above 100 tokens per second primarily serve multi-agent, high-concurrency collaboration scenarios.

Dedicated engineering operations headcount is the fifth signal. If the technical team lacks dedicated engineers familiar with GPU drivers, inference frameworks, and cluster optimization, directly renting off-the-shelf APIs is the safest decision. Open-source licensing terms are the sixth signal. When MiniMax released M2.7, it changed license terms to non-commercial and required derivative products to explicitly attribute the model source (Terms Discussion); business models built purely on the assumption of free open source can be disrupted by license changes at any time. The final signal is the pattern of requests. Interactive agentic inference demands low latency, which naturally suppresses utilization and makes saving money harder; background batch processing doesn’t mind waiting and can push utilization to the max, making it the only pattern where self-hosted inference truly thrives. The tool harness layer, on the other hand, is nothing to worry about: mainstream coding harnesses already overlap heavily on 95% of daily tasks and are essentially interchangeable (Our June Comparison Conclusions), so picking a comfortable off-the-shelf harness is a zero-cost starting point. Security also ties into this tier: locally deployed models do not come with out-of-the-box guardrails by default, so all input and output safety guardrails must be manually integrated and configured by technical staff (Security Analysis).

Concrete validation steps can be taken in two phases. On hardware, follow Zach’s advice: rent for two to three weeks first to test real usage; on software, follow Hamel’s methodology: whether replacing model architectures or introducing routing and scheduling, you must quantify real changes in latency and cost through systematic evaluation metrics rather than subjective guessing. Hamel’s exact words were: “measure its effect on latency and cost with evals rather than guessing” (Notes). Using low-cost rentals to gauge real workloads first, and then using rigorous evaluation data to guide subsequent scaling, is far safer than making impulsive hardware procurement decisions.

Returning to the engineer at the GPU cloud provider mentioned at the start: Zach didn’t offer a one-size-fits-all standard answer, because the operational boundaries facing different teams vary widely. He left behind an actionable two-to-three-week validation process, along with the most authentic insight into the self-hosting ledger: “Otherwise, it’s a toy and it’s a very expensive toy”. According to xjdr’s assessment qualified with proper UX and current, open models can handle 90% of daily needs, and the harness is the easiest part of the puzzle. What truly determines success or failure is whether your request pattern can tolerate a cluster running at maximum utilization: if it can, self-hosting is worth calculating; if not, the math simply will not balance. Whether a team should bring models in-house doesn’t require buying into grand partisan propaganda. Rent cloud machines for two to three weeks, record real token consumption and system latency, and the numbers on the ledger will speak for themselves.