Can an Apple M4 Max 128GB run TinyLlama 1.1B Chat V1.0?

Yes

Yes. At Q8_0 it needs 1.69 GB of the 96 GB available and generates around 337.9 tokens per second at an 8k context window.

The numbers

TinyLlama 1.1B Chat V1.0 has 1.1 billion parameters across 22 layers. The Apple M4 Max 128GB has 128 GB of unified memory at 546 GB/s, of which about 96 GB is left for a model once the operating system has taken its share.

QuantisationTotal neededFitsSpeed
Q8_0 1.69 GB yes 337.9 t/s
Q6_K 1.44 GB yes 420.9 t/s
Q5_K_M 1.33 GB yes 472.9 t/s
Q4_K_M 1.22 GB yes 538.8 t/s
IQ4_XS 1.14 GB yes 594.7 t/s
Q3_K_M 1.1 GB yes 633.2 t/s
IQ3_XXS degraded 0.99 GB yes 755.5 t/s
Q2_K degraded 1.03 GB yes 708.8 t/s
IQ2_XXS degraded 0.86 GB yes 977.5 t/s

9 of the 9 levels fit. Levels marked degraded are listed for completeness, not as advice.

How long a conversation it holds

At Q8_0, memory rises with the length of the conversation because the attention cache keeps a key and value for every token. The longest window that still fits on this device is 2k tokens.

ContextCacheTotalFits

See how fast it feels

Apple M4 Max 128GB running TinyLlama 1.1B Chat V1.0 at Q8_0

Wait for the first word204 ms
Then writes at337.9 tok/s
Whole answer716 ms

YouWhy does my model use more memory when the conversation gets longer?

Model

Because of the KV cache. Every token you send leaves behind a key and a value vector in each layer of the model, and those stay in memory for as long as the conversation lasts.

The weights are a fixed cost: load a 4-bit 8B model and that is about 4.8 GB, whether you write one word or ten thousand. The cache is the part that grows, and it grows in a straight line with the number of tokens in the window.

How steeply depends on the model's attention design. With grouped-query attention, several query heads share one key-value pair, which cuts the cache by that ratio. Without it, every head keeps its own, and a long context can cost more memory than the weights themselves.

If you are short on memory, the first thing to try is lowering the context window in your runtime, not the quantisation.

Simulated from our estimate at a 512-token question, not a recording. Assumes nothing else is competing for the GPU. The same answer on RTX 4090 at Q8_0 would take about 273 ms.

Keep going

Everything the Apple M4 Max 128GB runs, the full breakdown for TinyLlama 1.1B Chat V1.0, or check a different pairing in the calculator.