tonytautai home/local-ai/run-local-ai/software/models/picks/size

free -h size

Size the Model to the Memory You Own.

What size llm do i need has a dull, reliable answer: the largest one that fits in your memory with the context you need and still answers fast enough for the job. Here is the arithmetic.

Tony Tautai

what size llm do i need

Model size is quoted in parameters, in the billions, and the number sounds like a quality score. It is better read as a weight: it tells you how heavy the file is and how much memory it will occupy. Everything else follows from that. This is the sizing page under more on how to pick local ai models.

Parameters to Bytes

what size llm do i need

Each parameter is stored as a number, and the quantisation level says how many bits each number takes. Fewer bits, smaller file. A full-precision model takes roughly twice the bytes of a half-precision one and several times the bytes of a heavily quantised one. So the same model, at the same parameter count, can be a file that fits on a laptop or a file that needs a server, depending on the quantisation you download.

Then Add the Context

Memory is not only the weights. While the model works, it keeps a cache of everything in the current conversation or document, and that cache grows with the context length. A model that just fits when loaded will fail the moment you paste a long contract. Budget for the longest input you expect, and if several people share a server, for all of them at once.

Then Ask About Speed

what size llm do i need

Fitting is not the same as fast. On a graphics card, generation speed drops as the model grows. On CPU alone it drops faster. A model that fits in system memory but spills from the card will answer, slowly, and for interactive use slow is the same as broken. For overnight batch processing of a folder, slow is fine. Decide which you are doing before you size.

Our Rules of Thumb

The last rule is our business, so weigh it accordingly, but it also explains why our appliance is a mini PC and not a rack: the models on it are sized to the task, and the task does not need a data centre.

what size llm do i need

ssh [email protected]

Prove it on your documents.

Every engagement starts the same way: we run the system on a sample of your own files, under NDA/DPA, and hand you a written report with the scores, misses included. No commitment.

Test it on my documents Request a diagnostic