Ranked #27 of 30 on Thursday, November 26
Running a Qwen fine-tune across 5,600 AWS Lambdas: 80x the cost
A developer split the 9.3 GB H2O-Lightning model (a Qwen3.5-4B fine-tune) layer by layer across 3 GB AWS Lambdas, with one invocation per layer per token block, coordinated through S3. Reading a 4,000-token document took 17 seconds and cost about $8.40 per…
Ranked #27 of 30 on Thursday, November 26
Why it matters
It puts numbers on why CPU serverless inference is not a cheap alternative to GPUs or hosted APIs.
What happened
1 min readA developer split the 9.3 GB H2O-Lightning model (a Qwen3.5-4B fine-tune) layer by layer across 3 GB AWS Lambdas, with one invocation per layer per token block, coordinated through S3. Reading a 4,000-token document took 17 seconds and cost about $8.40 per million tokens. That is more than 80 times the price of Google's hosted Gemini Decision 1.
Our analysis
The outcome was predictable, since each layer over thousands of tokens is a large matrix multiply that GPUs are built for, but the staircase scheduling of layers and token blocks is a neat illustration of pipeline parallelism. Comparing with Gemini Decision 1 is not apples to apples since the models differ, though the order-of-magnitude gap is clear. Worth a read for people curious about inference internals, not as a production pattern.