# Hy4 (774B MoE) on MacBook Air M5 (32 GB)

**Too large.** Needs 457 GB; this Mac has 32.0 GB of unified memory in total. Pick a lower quantization, rent a cloud GPU or use the API.

- Runtime: Ollama, Q4_K_M, 16K context
- Memory: 457 GB of 24.0 GB usable (1904%)
  - Weights: 450 GB (estimate from parameter count)
  - KV cache: 1.4 GB (approximate)
  - Overhead: 5.3 GB

## Run it

Not in the Ollama library.

## Cost per 1M tokens at 500K tokens/day

| Path | $/1M tokens | Detail |
| --- | --- | --- |
| Local | — | does not fit |
| Cloud GPU | $153.12 | 8x A100 (640 GB) on Lambda, $25.52/hr (published list price, 2026-11-29) |
| API | $0.63 | OpenRouter `tencent/hy4`: $0.42 in / $1.25 out |

Assumes 75% input and 25% output tokens, one request at a time, $0.18/kWh, hardware written off over 36 months.

## Links

- [Check prices for MacBook Air M5 (32 GB) on Amazon](https://www.amazon.com/s?k=MacBook%20Air%20M5%2032GB)
- [Rent 8x A100 (640 GB) on Lambda](https://lambda.ai/service/gpu-cloud)
- [Hy4 (774B MoE) on OpenRouter](https://openrouter.ai/tencent/hy4)
- [Open in the calculator](https://llmsizing.com/?m=hy4&hw=macbook-air-m5-32gb&q=q4_k_m&ctx=16384)
- [Full page](https://llmsizing.com/models/hy4/on/macbook-air-m5-32gb)

Source: [llmsizing.com](https://llmsizing.com/models/hy4/on/macbook-air-m5-32gb), data synced 2026-11-30.
