# Serving Qwen across 5,600 Lambdas cost 80x more than a hosted model

Original title: Serving Qwen via AWS Lambdas for fun and 80x negative profit

> Hacker News story 50638070 · language: en · submitted 2026-11-25
> Web version: https://zeli.app/story/50638070
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 126 · by [octember](<https://news.ycombinator.com/user?id=octember>) · 💬 18
[original](<https://noahbuilt.it/writing/qwen-on-5600-lambdas>) · [HN discussion](<https://news.ycombinator.com/item?id=50638070>)

## Summary

Curious whether CPU-only AWS Lambdas could run LLM inference, Noah Lindner split a fine-tuned Qwen3.5-4B across 5,600 Lambda jobs, one per layer per token block, since the 9.3 GB model wouldn't fit in a 3 GB function. The math worked: a single request fanned out across 32 layers. But reading a 4,000-token document took 17 seconds and cost 3.4 cents, roughly $8.40 per million tokens versus $0.10 for Google's hosted decision model. The lesson: GPUs exist for a reason.

## Key quote

> If it was 40x slower but 50% cheaper, that'd be interesting.

## HN discussion (18 comments)

### [catlifeonmars](<https://news.ycombinator.com/item?id=50638404>)

> I’m sure it’s still quite expensive but lambda can now access GPU instances via managed instances. I’d like to see the same thing implemented on some beefier GPU compute.
>
> https://docs.aws.amazon.com/lambda/latest/dg/lambda-managed-...

### [cebert](<https://news.ycombinator.com/item?id=50638375>)

> I love it when folks experiment and try random approaches like this to see if it would even work.

### [enjoyyourlife](<https://news.ycombinator.com/item?id=50639367>)

> Needs to try Cloudflare Workers next

---

## Cite

- Page: https://zeli.app/story/50638070
- Date: 2026-11-25
- Source: noahbuilt.it (https://noahbuilt.it/writing/qwen-on-5600-lambdas)
- Hacker News: https://news.ycombinator.com/item?id=50638070

## Other languages

- zh: https://zeli.app/zh/story/50638070 · markdown: https://zeli.app/zh/story/50638070.md
- ja: https://zeli.app/ja/story/50638070 · markdown: https://zeli.app/ja/story/50638070.md
- ko: https://zeli.app/ko/story/50638070 · markdown: https://zeli.app/ko/story/50638070.md
- de: https://zeli.app/de/story/50638070 · markdown: https://zeli.app/de/story/50638070.md
- es: https://zeli.app/es/story/50638070 · markdown: https://zeli.app/es/story/50638070.md
- ru: https://zeli.app/ru/story/50638070 · markdown: https://zeli.app/ru/story/50638070.md
