Start Building
Guide

Open-Weight vs Closed-Weight Models: The Definitive Guide (2026)

Every LLM deployment decision in 2026 starts with one question: open-weight or closed? For solo developers, the answer determines your cost structure and ops overhead. Here is what each path actually costs.

Author photo
packet.ai Team
September 10, 2026

Open-weight models release their weights publicly so you can download, run, and fine-tune them on your own hardware. Closed-weight models keep parameters private and route every request through a vendor API, and you pay per token with no way out.

Key takeaways

  • Open-weight models (Llama 4, Qwen3, DeepSeek V3, Mistral) give you the weights. Closed-weight models (GPT-4o, Claude, Gemini) give you an API endpoint.
  • "Open-weight" is not "open-source." OSI-compliant models also require training data and code. Almost none of the popular ones qualify.
  • Open-weight inference runs 5-10x cheaper than closed APIs at scale. The crossover is around 10-30M tokens/day depending on model size.
  • RTX 4090 on packet.ai: $0.39/hr. Five hours of testing a 7B model costs $1.95. A closed API bills you even when your app is idle.
  • Apache 2.0 (Qwen3, Mistral Large 3) and MIT (DeepSeek V3/R1) are the cleanest commercial licenses. Llama 4 lets Meta change its AUP without notice.
  • packet.ai: open-weight GPU cloud from $0.39/hr. No credit card. No minimum commitment.

The open vs closed question trips up more AI builds than almost anything else. Not because it's hard to answer, but because most people answer it too early, before they know what their traffic looks like or how much ops overhead they're willing to carry.

This guide is for developers weighing self-hosted open-weight models against managed closed APIs. If you're new to inference altogether, start with the LLM inference primer, then come back.

What "Open-Weight" Actually Means and What It Doesn't

An open-weight model publishes its trained parameters. You download the weights from Hugging Face, load them into vLLM or SGLang on a GPU you rent or own, and run inference without calling anyone's API.

What you don't get: training data, training code, or any insight into how those weights were produced. You get the finished model, not the recipe that made it.

The distinction has legal teeth. The Open Source Initiative's OSAID 1.0 (October 2024) requires training data, training code, and weights, all under a permissive license. By that bar, almost nothing popular qualifies. Llama 4, Qwen3, DeepSeek R1, Mistral's recent releases all withhold training data. Pythia and OLMo satisfy the full definition, but they're research models, not the ones anyone deploys in production in 2026.

ClassificationWeights public?Training data?Examples
Truly open-sourceYesYesPythia, OLMo, T5
Open-weight, permissiveYesNoMistral Large 3, Qwen3, DeepSeek V3/R1
Open-weight, restrictedYesNoLlama 4 Scout/Maverick, Gemma 4
Closed-weightNoNoGPT-4o, GPT-5, Claude Opus 5, Gemini 2.x

For most builders, the open-source/open-weight gap is academic. The real question: can you run it commercially, and does the license box you in? That varies by family, which is why the licensing section below matters more than the Hugging Face model card.

How Closed-Weight Models Work: API-Only, No Way Around It

Closed-weight models are services. OpenAI, Anthropic, and Google run inference on their own hardware. You send a prompt, pay per token, get a response. You cannot download the model, you cannot run it locally, and there is no workaround for that.

This isn't a technical limitation. It's a business decision. The weights are the product. That works fine until the API doesn't offer what you need: data that can't leave your environment, custom fine-tuning on proprietary data, air-gapped deployment, or a bill that doesn't run at 3am while your app sits idle.

API only

No local deploy

Per-token

Billing model

Rate limits

Enforced by provider

Price changes

At the vendor's discretion

The License Spectrum: "Open" Doesn't Always Mean Free to Use

Read the actual license file before you deploy anything commercially. Not the README, not the model card, the license.

Model familyLicenseCommercial useWhat to watch
Mistral Large 3, Small 4Apache 2.0UnrestrictedAttribution only. No user cap. No AUP.
Qwen3 (0.8B to 397B)Apache 2.0UnrestrictedAttribution only. Widest size range of any open family.
DeepSeek V3, R1MITUnrestrictedMost permissive available. Attribution only.
Llama 4 Scout/MaverickMeta Community LicenseWith conditions700M MAU threshold. Derivatives must start with "Llama". Can't use outputs to train non-Llama models. Meta can update AUP unilaterally.
Gemma 4Gemma Terms of UseWith conditionsField-of-use restrictions. Remote restriction clause. Additional EU limits.

Apache 2.0 and MIT (Mistral, Qwen3, DeepSeek) are the lowest-friction licenses for commercial shipping. No user caps, no AUP that can change under you. If you're building on Llama 4, the 700M MAU threshold is fine for most teams. The clause letting Meta rewrite the AUP without notice is the one worth running past legal before you're dependent on it.

The Real Tradeoffs: Control, Cost, Compliance, Latency

This decision isn't mainly about model quality. It's about which constraints you're willing to own. Here's how the two approaches actually compare across the things that affect a real deployment.

Control

Open-weight wins

Your hardware, your config. Run in a VPC, air-gapped, or on-prem. Fine-tune on data that never leaves your environment. Quantize to fit your VRAM budget.

Cost at Scale

Open-weight wins above ~10M tokens/day

GPT-4-equivalent API cost went from $20/M tokens in late 2022 to ~$0.40/M in 2026. Open-weight on GPU cloud still runs 5-10x cheaper at volume once hardware is amortized.

Compliance

Open-weight is often the only option

HIPAA, GDPR, classified environments, and sending data to a third-party API may not be an option. Air-gapped self-hosting is the only path for some workloads.

Capability

Closed-weight leads at the frontier

GPT-5, Claude Opus 5, Gemini still lead on general benchmarks. Open-weight closes roughly 70-90% of that gap. Fine-tune on a specific domain and that gap often disappears.

Latency

Depends entirely on setup

Closed APIs share rate limits across all tenants and p99 gets ugly under load. A dedicated GPU with your model loaded gives predictable latency, if it's sized right.

Ops Overhead

Closed-weight wins on day one

Closed API: one SDK call, done. Open-weight: model selection, VRAM sizing, serving framework, quantization, hardware, maintenance. Real cost that doesn't show up on a per-token comparison.

The crossover where self-hosting beats closed API cost lands somewhere between 10M and 30M tokens/day, depending on model size, utilization, and your input/output ratio. Below that: ops cost often wipes out the per-token savings. Above it: the math flips hard.

What It Actually Costs a Solo Developer to Run an Open-Weight Model

Hourly GPU prices don't mean much if you're building a side project. Here's what the numbers actually look like when you work in sessions, not SLAs.

A Qwen3-7B model at INT4 on an RTX 4090 at $0.39/hr costs $1.95 for a 5-hour build session. A full weekend of testing comes to under $8. A closed API charges you whether your app is shipping or sleeping.

Use patternGPUpacket.ai rate5-hr session20-hr weekGood for
Prototype / experimentRTX 4090$0.39/hr$1.95$7.807B-8B at INT4. Side projects, POCs.
Dev + small prodRTX 6000 Pro$0.66/hr$3.30$13.2013B-34B at FP16. 96GB fits most flagships.
Production inferenceL40S$0.92/hr$4.60$18.4030B at FP16. Predictable p99 on Dedicated.
70B fine-tuningA100 80GB$1.43/hr$7.15$28.6070B at INT4. QLoRA on a single card.
Large modelsB200$3.75/hr Dynamic$18.75$75.00200B+. 192GB HBM3e, no tensor parallelism needed.

Monthly billing saves up to 20% on top of that. An RTX 6000 Pro on a monthly commit drops from $0.66/hr to roughly $0.53/hr. No contracts, no minimum node counts. Full rate card here.

Egress is $0.04/GB vs $0.09/GB on AWS. 2TB NVMe local storage included per node, which matters when you're storing model weights.

When a Solo Developer Should Choose Open-Weight Over a Paid API

Open-weight isn't the default right answer. It's the right answer in specific situations. These are the ones that actually matter.

Go open-weight when...

  • Your app runs 24/7 and the per-token bill compounds
  • Data can't leave your environment
  • Token volume is above ~15M/day on a mid-tier model
  • You need to fine-tune on data you can't share with a vendor
  • You want a fixed monthly cost, not a variable API bill
  • Vendor lock-in or model deprecation is a real business risk

Start with a closed API when...

  • You're pre-launch and traffic is still unknown
  • The task genuinely needs GPT-5 or Claude Opus 5 capability
  • You have no GPU ops experience and no bandwidth to build it
  • Volume is low enough that per-token billing is cheaper
  • You need multi-modal or agentic features only closed models have today

Most teams in 2026 do both. Start on a closed API to ship fast. Once you know your traffic shape, move the high-volume workloads to open-weight. See the cheapest LLM API options in 2026 for where that crossover actually lands by model size.

VRAM Requirements for Open-Weight Models: Which GPU You Actually Need

Get the VRAM wrong and you're either OOM-crashed on launch or running at utilization so low the economics don't work. The rough rule for 4-bit quantized inference: half the parameter count in GB. A 14B model needs roughly 8GB; a 70B needs roughly 40GB. Add headroom for KV cache, which grows with batch size and context length.

Model sizeMin VRAM FP16Min VRAM INT4packet.ai GPUPrice from
7B-8B16GB~5GBRTX 4090 (24GB)$0.39/hr
13B-14B28GB~8GBRTX 6000 Pro (96GB)$0.66/hr
22B-32B~44GB~14GBRTX 5090 (32GB)Coming soon
30B-34B64GB~20GBRTX 6000 Pro (96GB)$0.66/hr
70B140GB~40GBA100 80GB (INT4) or 2x RTX 6000 ProFrom $1.43/hr
200B+400GB+~200GBB200 (192GB HBM3e)$3.75/hr

Default serving stack in 2026: vLLM for batch throughput, SGLang for prefix-heavy RAG and multi-turn. Hugging Face moved TGI to maintenance mode in December 2025, so skip it for anything new. Full framework comparison: SGLang vs vLLM vs TensorRT-LLM.

A 70B Qwen3 model at INT4 on a single A100 80GB via vLLM on packet.ai costs $1.43/hr. At 50% utilization across concurrent requests, that's roughly $0.0003 per 1K output tokens.

The Ops Problem: Why "Just Run It Yourself" Catches Solo Devs Off Guard

Every open-weight guide covers VRAM math. Almost none of them cover what comes after: you still need to run the thing reliably in production. That's the cost most per-token comparisons skip.

Running open-weight in production means hardware provisioning, vLLM config (quantization, tensor parallelism), model loading, autoscaling, health checks, GPU memory monitoring, and keeping the serving framework patched. None of it is impossible. All of it takes time that most solo developers don't have to spare.

The utilization trap

A GPU at 30% utilization means 70% of your hourly cost is waste. The economics only work when you run the hardware hard: high concurrent volume or batched jobs. Solo developers with bursty, low-volume traffic often end up paying more per token than they would have on the closed API they left.

The typical path: build on a closed API, hit the cost wall, decide to self-host, then hit the ops wall. At that point there are two exits: hire someone to run it, or move to a managed inference layer that handles the GPU side. Token Factory is built for that second exit.

Running Open-Weight Models on packet.ai: From $0.39/hr, No Commitment

packet.ai is GPU cloud built for open-weight models. You can't run GPT-4o or Claude on your own hardware. But you can run Llama 4, Qwen3, DeepSeek V3, Mistral Large 3, Kimi K3, and GLM-5 from $0.39/hr, no credit card required, no minimum commitment.

GPUVRAMDynamicDedicatedMonthly (-20%)Best for
RTX 409024GB GDDR6XComing soon$0.39/hr~$0.31/hr7B-8B models, solo projects
RTX 6000 Pro96GB GDDR7$0.66/hrComing soon~$0.53/hr13B-34B at FP16. Most popular for solo devs.
L40S48GB GDDR6Coming soon$0.92/hr~$0.74/hrProduction inference, 30B at FP16
A100 80GB80GB HBM2eComing soon$1.43/hr~$1.14/hr70B at INT4, QLoRA fine-tuning
B200192GB HBM3e$3.75/hr$6.99/hr~$3.00/hr Dynamic200B+ models, multi-node clusters

Egress is $0.04/GB vs $0.09/GB on AWS. 2TB NVMe per node included. No ingress fees. For a fine-tuning cost breakdown by GPU and model size, see the best GPU for fine-tuning guide.

Two paths. If you want to skip the serving stack entirely, Token Factory is managed inference on packet.ai hardware: OpenAI-compatible, pre-loaded models, zero GPU config. If you want full control (SSH, custom vLLM, your own quantization), browse cluster options or spin up a Dedicated POD with a 99.99% SLA.

Frequently asked questions about open-weight models

Open-weight means the trained parameters are public. Open-source, per the OSI, also requires training data and training code under a permissive license. Almost every popular model (Llama 4, Qwen3, DeepSeek) releases weights only. Pythia and OLMo are genuinely open-source, but they're research models, not the ones developers deploy.
Yes. An RTX 4090 on packet.ai costs $0.39/hr, so 8 hours running Qwen3-7B costs $3.12. An RTX 6000 Pro at $0.66/hr handles 13B-34B models and runs $5.28 for an 8-hour session. Neither requires a credit card to start and you pay only for what you use.
Yes, up to 700M monthly active users without a separate Meta license. Above that you need to negotiate with Meta. Regardless of scale: derivative models must include "Llama" in the name, you can't use Llama outputs to train non-Llama models, and Meta can update the AUP without notice. For zero conditions: Apache 2.0 (Qwen3, Mistral) or MIT (DeepSeek) are cleaner options.
At FP16: roughly 140GB (2 bytes per parameter). At INT4: roughly 40GB, which fits on a single A100 80GB. For FP16 you need two A100s or one B200 (192GB HBM3e). Leave extra headroom for the KV cache, which grows with batch size and context length and will OOM you if you ignore it.
On general benchmarks, frontier closed models (GPT-5, Claude Opus 5) still lead. Open-weight closes roughly 70-90% of that gap. On specific domains with fine-tuning, open-weight often matches or beats them. The capability gap that felt like a year in 2023 is now measured in months.
vLLM for batch throughput. SGLang for prefix-heavy RAG and multi-turn sessions. TGI went to maintenance mode in December 2025, so skip it for anything new. For CPU or edge inference, llama.cpp. If you'd rather not configure any of this, Token Factory on packet.ai handles it with an OpenAI-compatible endpoint and pre-loaded models.
DeepSeek V3 and R1 (MIT) are the most permissive: attribution only, no other conditions. Qwen3 and Mistral (Apache 2.0) are a close second. Both allow commercial use, fine-tuning, and redistribution. If you need the simplest legal path for a commercial product, start with one of these three families.

Last reviewed: September 10, 2026. No credit card required to start on packet.ai. Token Factory handles open-weight inference so you don't have to touch a GPU. Or browse GPU options from $0.39/hr.

Waste less compute.

Same models. Same API. Fraction of the cost. Start free — no credit card required.

Start Building →

More from the blog