Skip to content

1x Mac Studio 512GiB or 2x Mac Studio 256GiB or 4x GB10 for local AI at 700K+ context?

1x Mac Studio 512GiB or 2x Mac Studio 256GiB or 4x GB10 for local AI at 700K+ context?
1200 × 630 · PNG · 57 KB Original file

I use LLMs to run my businesses. I manage my agents in AgentsRoom, and I'm looking at Claude Code or OpenCode for the local setup. Most of the time, I use the agents to build new businesses within my company, starting with an app I build from scratch. I run a whole team on each project, from business analyst to tester. They help with market research, business logic, docs, marketing, and building and testing the app.

When I start a new session, I often bring in the research, requirements, docs, and code for that same project. For the longest sessions, I need at least 700K tokens of context locally, ideally 1M. Other agents might get 200K or 500K depending on their job. I use 2 agents on a light workload and up to 15 at peak, with 6 as a middle case for sizing.

I put all nine configurations, model results, and cost calculations in a sortable spreadsheet.

Hardware I'm looking at

Prices are from suppliers in Europe (Romania), converted to approximate USD amounts including VAT.

  • A · ~$24,600
  • 1x Mac Studio M5 Ultra with 512 GB RAM, 36-core CPU, 80-core GPU, and 2 TB SSD. Final quote pending.
  • B · ~$27,800
  • 4x Dell GB10 + 4x DAC cables in a ring.
  • C · ~$27,600
    • 2x Mac Studio M5 Ultra, each with 256 GB RAM, 30-core CPU, 64-core GPU, and 1 TB SSD (~$10,740 each).
    • 1x Mac Studio M5 Max with 128 GB RAM, 18-core CPU, 40-core GPU, and 1 TB SSD (~$6,080).

If I stretch the budget

  • D · ~$30,700
  • 1x M5 Ultra 512 GB (36 CPU / 80 GPU, 2 TB) + 1x M5 Max 128 GB (18 CPU / 40 GPU, 1 TB).
  • E · ~$36,700
  • 1x M5 Ultra 512 GB (36 CPU / 80 GPU, 2 TB) + 1x M5 Ultra 256 GB (36 CPU / 80 GPU, 1 TB).
  • F · ~$30,300
  • 2x M5 Ultra 256 GB (36 CPU / 80 GPU, 1 TB each) + 1x M5 Max 128 GB (18 CPU / 40 GPU, 1 TB).
  • G · ~$32,200
  • 3x M5 Ultra 256 GB (30 CPU / 64 GPU, 1 TB each).
  • H · ~$34,800
  • 5x Dell GB10 + 5x DAC cables, estimated at the same unit prices.
  • I · ~$41,700
  • 6x Dell GB10 + 6x DAC cables, estimated at the same unit prices.

Any switch for H or I would be extra. One of the Macs might also run builds, tests, and a few services, so the extra CPU cores could matter to me.

What I found for one request

I'm interested in one instance of a model across the machines in the setup. These are the measurements I found, with the actual hardware and input length shown. The runtimes, quantizations, and prompts vary.

Setup actually tested Model Input context First token Output tok/s
A · 1x Ultra 512 GB DeepSeek Flash 1017 ~1.01M 612 s 55.3
A · 1x Ultra 512 GB GLM‑5.3 Flash ~970K 655 s 45.2
A · 1x Ultra 512 GB Qwen3.8 Flash-Next ~960K 378 s 93.2
B · 4x GB10 in a ring DeepSeek Flash 1017 ~961K 101 s 90.9
C · The two 256 GB Ultras only DeepSeek Flash 1017 131K — 60.0
F · One 256 GB / 80-GPU Ultra only GLM‑5.3 Flash ~1.048M 708 s 41.5
H · One instance on all 5x GB10 GLM‑5.3 full 128K 71.34 s 36.4
I · One instance on all 6x GB10 GLM‑5.3 full 128K 58.05 s 34.5

The test in B used ASUS boxes with the same GB10 chip. For D, E, and G, my Ergo figures are memory calculations. D runs out of RAM on one node at 700K in my MLX calculation. At 1M, E leaves about 53 GiB on the tighter node with a custom 45/19 layer split, and G leaves about 22 GiB on the tightest node with the default three-way split. That's before OS and temporary memory. I'm still looking for measured speeds on those full setups.

512 GB Mac tests · DeepSeek on 4x GB10 · Two Ultra test · 256 GB / 80-GPU Ultra test · Ergo MLX port

What happens when several agents share one model

I found a useful comparison with full GLM‑5.3, using all five or six GB10s for a single instance. It reports total decode tok/s for shorter prompts. I estimated the 6-request figures from the measured 4- and 8-request figures.

Setup 1 request 6 requests, estimated 8 requests, measured 15 requests submitted
H · GLM‑5.3 on 5x GB10 60.9 ~123 141.5 Published profile has 8 slots. Extra requests queue.
I · GLM‑5.3 on 6x GB10 67.5 ~139 157.8 Published profile has 8 slots. Extra requests queue.

The five-node recipe has a 983K shared context pool. The six-node recipe has a 2.18M shared pool and allows up to 1M for one request. That pool determines how many long requests can fit together. The tests also used different runtime releases. Five-node run · Six-node run

In a separate test, one DeepSeek Flash 1017 instance on 4x GB10 completed 8 synthetic near-1M requests in about 15 minutes. Context and concurrency seem to depend heavily on the specific model and runtime. Eight-request DeepSeek test

Two models on the same machines

I'm also interested in keeping DeepSeek Flash 1017 and Qwen3-Coder-Next loaded across the same five or six GB10s. Each node would hold part of DeepSeek and part of Qwen. Agents could use DeepSeek for long tasks and Qwen for shorter ones.

The two sets of weight files add up to about 518 GiB. Each node would also need room for both models' context caches and working memory, and both models would use the same GPUs and links. I'd be especially interested in hearing from someone who's run two models this way. DeepSeek weights · Qwen NVFP4 weights · Distributed serving

A few other models I've looked at: Qwen3-Coder 480B can extend its 262K window to 1M with YaRN. Hy4 Flash has a public 990K cold prompt test on two GB10s. Kimi K2.5 and K2.7 Code have 256K native context, so I'd consider those for shorter jobs. Kimi K3.1 Pro has 1M native context, and the 2-bit local run I found used four 512 GB Ultras. Qwen3-Coder · Hy4 Flash test · Kimi K2.5 · K2.7 Code · K3.1 Pro local run

Time to finish a task

One DeepSeek V4 Flash 0731 study found that the 43.7 tok/s build took 308 seconds per task, while the 46.6 tok/s build took 407 seconds, with the same aggregate solve rate in that experiment. The faster build generated more tokens and took more turns. Study

I did a rough check for a single job with a fresh prompt near 1M, 10K generated tokens and 2 minutes for tools and tests.

Setup Qwen3.8 Flash-Next DeepSeek Flash 1017 GLM-5.3 Flash
A · 1x Ultra 512 ~10:06 ~15:13 ~16:36
B · One model on 4x GB10 — ~5:31 —

These estimates use the same output budget. B uses the 961K retrieval test as its reference. For my purchase, what I'd really like to know is how long it takes to get a result that passes the tests, including any extra turns and retries.

Electricity if the machines work almost nonstop

My agents work day and night, so I budgeted for 22 hours under load and 2 hours powered on at idle per day, on every machine. I used $0.30–$0.34 per kWh, 180 W under load / 9 W idle per Ultra, 100 W / 8 W for the Max, and 155 W / 39 W per GB10 from a wall-power test. Any switch, cooling, or UPS losses would be extra.

Sorted by total cost at the midpoint of the electricity range.

Setup kWh/mo Power/mo Hardware Electricity over 3 years Hardware + 3 years of power
A · 1x Ultra 512 121 $37–$42 $24,577 $1,319–$1,495 $25,896–$26,072
C · 2x Ultra 64 GPU + Max 309 $94–$106 $27,564 $3,372–$3,822 $30,936–$31,386
B · 4x GB10 424 $128–$146 $27,806 $4,625–$5,242 $32,431–$33,048
D · Ultra 512 + Max 188 $57–$65 $30,657 $2,053–$2,327 $32,710–$32,984
F · 2x Ultra 80 GPU + Max 309 $94–$106 $30,334 $3,372–$3,822 $33,706–$34,156
G · 3x Ultra 256 363 $110–$125 $32,227 $3,956–$4,484 $36,183–$36,711
E · Ultra 512 + Ultra 256 242 $73–$83 $36,704 $2,638–$2,989 $39,342–$39,693
H · 5x GB10 530 $161–$182 $34,755 $5,782–$6,553 $40,537–$41,307
I · 6x GB10 637 $193–$218 $41,704 $6,938–$7,863 $48,642–$49,567

That's where I've landed so far. If you've used a cluster like this for your own projects, I'd love to hear what worked and where my assumptions are off. I'm open to other models and setups too.

Crossposted from

1 points0 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Image · crosspost
ID
1yd5go9

Author

5
posts
0
comments
5
media
View profile
Nobody had commented when we saved it.

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.