Serving Qwen via 5,600 Lambdas for fun and 80x negative profit · Noah Lindner
Not investment advice. Muhabbit scores how much a story may matter, not which way to trade.
Noah Lindner, an application developer at Bevyl, tested whether self-hosted AI inference could run on AWS Lambda by splitting H2O-Lightning, a fine-tune of Qwen3.5-4B, across 5,600 Lambda invocations, with each of the model's 32 layers handled by separate jobs reading and writing to S3. The math worked—one request fanned out into 5,600 parallel jobs—but reading a 4,000-token document took 17 seconds and cost 3.4 cents, or $8.40 per million tokens. That is more than 80 times the $0.10 per million tokens charged by Google's hosted Gemini Decision 1, which handles the same read for 0.04 cents. Lindner attributed the gap to the architecture's serial dependencies, since 8% of the work cannot be parallelized, and concluded that the experiment proved his hunch wrong. The result matters as a data point on where serverless CPU inference breaks down versus hosted alternatives, and the next question is whether cheaper orchestration or smaller models could close the cost gap.
Muhabbit's AI wrote this summary in its own words from Hacker News's report. It can get details wrong, so check the source.
Named in this story
AWS Lambda, Qwen, H2O-Lightning, Noah Lindner, Bevyl