Guy splits an AI model across 5,600 Lambdas, ends up with a very expensive paperweight.
Original headline: Serving Qwen via AWS Lambdas for fun and 80x negative profit — noahbuilt.it
More in Programming and developer news
An engineer decided to test a wild hypothesis: could you run a large language model inference by splitting it across thousands of tiny, serverless AWS Lambda functions? He chose the Qwen3.5-4B model, broke its 32 layers into individual Lambda jobs, and orchestrated a complex workflow where each function performed a single layer's computation, passing results via S3 storage.
The experiment technically worked—he successfully distributed a single model call across 5,600 Lambda invocations. However, the result was hilariously impractical: processing a 4,000-token document took 17 agonizing seconds and cost 3.4 cents per run. This translates to a staggering cost of $8.40 per million tokens, making it a spectacularly inefficient way to run AI. The lesson is clear: sometimes proving something is possible is the best way to prove it's a terrible idea.
Read the original at noahbuilt.it
Satirical commentary on real tech news, summarised with AI. Read the original source for the facts. How ZeroDaily works
