A supplier emails, “Please send invoices to our new address.” Another writes, “Please send payments to our new account.” Both messages contain a change of details. Only one belongs in a payment-control queue. I would try a small model on that distinction before buying a large one. I would also put the second message in the acceptance test before letting either model near a payment.
For enterprise LLM sizing, buy the smallest set of weights that meets the error limits for each task. Then size the machines for the busiest interval you promise to serve. Those are separate decisions. A million short classification jobs can justify several replicas of a small model. One disputed contract can justify an expensive inference call and a lawyer.
How much GPU memory do LLM weights need?
Weights are the numbers a model learns during training. To estimate the GPU memory (VRAM) for the weights alone, multiply the parameter count in billions by the bits per weight and divide by eight. The result is in decimal GB. A dense 8-billion-parameter model stored at 16 bits per parameter takes about 16 GB in decimal units for the weights alone. At four bits the theoretical payload is 4 GB. Actual quantized files carry scales and other metadata. Serving also needs memory for the runtime, intermediate tensors and each active request's key/value (KV) cache. A model that just fits on a card with an empty prompt can run out of memory as soon as colleagues start using it.
The label on a mixture-of-experts model needs a second reading. Qwen lists 30.5 billion total parameters and 3.3 billion active for Qwen3-30B-A3B. Routing selects a subset of experts for each token. If the whole checkpoint lives on the GPU, plan memory around the total. The active count helps explain compute per token. It doesn't give you a throughput figure. Moving experts into host memory changes the capacity calculation and introduces a transfer cost worth measuring. Qwen model card
| Nominal dense checkpoint | BF16 weight payload | Ideal packed 4-bit payload |
|---|---|---|
| 4B | 8 GB | 2 GB |
| 8B | 16 GB | 4 GB |
| 32B | 64 GB | 16 GB |
| 70B | 140 GB | 35 GB |
Compare raw weight storage at four model sizes

The table is arithmetic, before runtime overhead. Take a conventional decoder with 32 full-attention layers, eight key/value heads per layer, 128 values per head and a two-byte cache. It stores both keys and values. Each live token costs 2 × 32 × 8 × 128 × 2 = 131,072 bytes of KV cache. At 8,192 live tokens that is 1 GiB per request. Sixteen independent requests need 16 GiB of cache alone. Quantizing the weights does not automatically quantize the cache. Sliding-window attention, shared prefixes and other architectures change the answer. Use the actual configuration before ordering hardware.

The graphite block stays the same size when another request arrives. The copper strips represent the cache that grows with live tokens. The model shows the relationship, not a memory ratio.
Which model sizes should you test for each task?
For a shared-services budget, I would start procurement with the three tests below. The sizes are candidates to benchmark. Each row has a cheaper baseline and a reason to spend more.
| Workload | First comparison | What would change the purchase |
|---|---|---|
| Route supplier messages to eight queues | Rules and a small text classifier, then a 3B to 8B instruction model | Measure recall on bank-detail changes in each operating language. Require human verification for payment changes regardless of the route. |
| Extract fields from invoices | OCR plus a parser, then a 7B to 14B model on the same OCR | Score normalized values, their page evidence and correct abstentions. If the scanned decimal point vanished during OCR, repair the input before buying more weights. |
| Find conflicts between a framework agreement and its amendments | Clause retrieval plus an 8B model, then a 32B-class or stronger model on the identical clauses | Score whether the answer cites both the original rule and the superseding exception. Route unresolved conflicts to counsel. A fluent citation to the wrong amendment fails. |
Include the documents that hurt. A German credit note with a trailing minus sign, a bilingual invoice where the tax number repeats, and an amendment signed after the effective date exercise different failure modes. Hold out entire suppliers or contract families. A random split of near-identical templates can let a model recognize yesterday's layout while missing tomorrow's exception. Amalgama's invoice processing workflow shows where extraction ends and the approval work begins.
Set the release threshold with the person who owns the error. A team that sees zero critical misses in 100 independently sampled critical cases still has an approximate 95% upper bound of 3% on the miss rate. The same calculation takes roughly 3,000 zero-miss cases to get near 0.1%. Deliberately enriched challenge cases are valuable, but their frequency tells you nothing about the prevalence of the error in ordinary traffic.
Run a second comparison on the winning checkpoint at the precision you will actually serve. Four-bit quantization compresses the representation of weights already learned. It does not train a new model on your invoices. If BF16 passes and four-bit weights miss the decimal on the same correctly transcribed pages, record the extra review cost against the memory saved. Keep the OCR, decoding settings and prompt fixed for this comparison.
Where training changes the answer
Consider the sentence “This amendment supersedes clause 7.” During pretraining, a typical causal model predicts the next token from the preceding tokens. Its predicted distribution assigns a probability to the observed token. Cross-entropy penalizes a low probability, backpropagation computes gradients and the optimizer updates the weights across a batch. Repeating this over text and code produces a base checkpoint. Nothing in that objective requires the model to quote the operative clause when a procurement manager asks for it.
Post-training can teach that behaviour. With supervised fine-tuning, a trainer supplies examples of a question, the source clauses and an acceptable answer. Preference training can favour an answer with an exact citation over an eloquent guess. Reinforcement learning with verifiable rewards can reward properties a program can check, such as a valid schema or a number matching a calculation. A reward that checks only JSON syntax will happily reward the wrong invoice amount in beautiful JSON.
Ai2 documents these stages for Olmo 3, including supervised tuning, direct preference optimization and reinforcement learning with verifiable rewards. Its separate Olmicro research suite offers a concrete counterexample to buying by parameter count. On MATH-500 the 1.4B checkpoint went from 23.5% to 49.9% after reinforcement learning. That smaller trained model outscored the 2.7B starting checkpoint at 37.4%. Give the larger one the benefit of training too and it reached 77.3%. These are the researchers' best runs per size, after 400 training steps with a 32k-token response limit. They measured maths problems. Nobody in that experiment processed your supplier invoices. Olmo training documentation · Olmicro paper, table 5
For most buyers, training from scratch is the wrong first purchase. If the problem is a current surcharge, retrieve the signed schedule at query time. If the facts are present and the model repeatedly formats a credit as a debit, collect examples, improve the prompt and test a small adapter against that baseline. LoRA freezes the base weights and learns low-rank updates. Keep a held-out set of positive invoices as well as credits. An adapter can fix the sign on every credit by breaking it on every invoice. Original LoRA paper
If the expensive model gets the difficult cases right but costs too much for the full queue, distillation is another option. A teacher model supplies training targets for a smaller student. Have subject experts verify a sample of those targets, especially the exceptions. Otherwise the student learns the teacher's most consistent mistake very efficiently. Compare it with simply sending difficult cases to the teacher. The evaluation set and review budget should be identical for both choices.
Price the queue at closing time
Suppose the subsidiaries send 12,000 jobs in an eight-hour day, each with 1,200 input and 120 output tokens. Average demand is about 500 input and 50 output tokens per second. A fourfold peak raises those targets to 2,000 and 200. Replay both streams together at the peak. Prefill processes the prompt and decode generates the response one token at a time. A vendor's single-user decode speed tells you little about the 95th-percentile completion time of this queue.
Compare cost per accepted job at the required latency. In an illustrative 10,000-job batch, a larger model costing an extra $0.03 per job adds $300. If it saves one $8 manual review on 50 jobs, it recovers $400. If it saves only 20, it recovers $160. That comparison assumes the two configurations already meet the critical-error limits. A missed bank change belongs in the release decision before anyone starts netting it against saved minutes. Amalgama's private inference cost analysis covers the fixed cost once that workload moves onto reserved capacity.
Ask bidders for one page per candidate showing the exact checkpoint, precision, held-out errors by type, peak latency, reviewer minutes and cost per accepted job. Keep the smallest passing configuration as the baseline. The next purchase request should name the cases the extra weights would get right.