Turn every browser into a compute node.
Distribute WASM workloads instantly across edge devices. Zero servers. Infinite scale. The true serverless architecture.
The best free alternative to AWS Lambda.
Why pay for idle compute when millions of browsers sit idle?
AWS Lambda
At 1B invocations/mo
SwarmCompute
Leverage client browsers
Cloudflare Workers
At 1B invocations/mo
How it works
Task Queue
Client submits a WASM module and payload to the Swarm router.
Mesh Routing
Router streams the task to available browser worker nodes via WebRTC.
WASM Sandbox
Workers execute the WASM binary safely in a background Web Worker.
Aggregation
Results are validated, merged, and returned to the origin.
Integration in seconds.
import { SwarmRouter } from '@swarmcompute/core';
const router = new SwarmRouter({
poolSize: 'auto',
wasmOpts: { memory: '512MB' }
});
await router.start();
const task = await router.dispatch({
wasm: './image-processor.wasm',
payload: imageData,
splitStrategy: 'chunk-8kb'
});
task.on('progress', (p) => console.log(p));
const result = await task.result;
import { SwarmWorker } from '@swarmcompute/client';
// Drop this snippet in your web app to contribute compute
const worker = new SwarmWorker({
maxCpuUsage: 0.2, // Use up to 20% CPU quietly
routerId: 'your-mesh-id'
});
worker.join();
Enterprise-grade capabilities.
WASM Native
Supports Rust, Go, C++, and AssemblyScript via WebAssembly with near-native performance.
Infinite Auto-scale
No cold starts. As your user base grows, your compute capacity grows proportionally.
Fault Tolerant
Automatic retry and state-reconciliation if a client node disconnects mid-execution.
WebGPU Support
Access client GPU resources for parallel processing and AI inference workloads.
Streaming Data
Stream large datasets directly to worker nodes without buffering on central servers.
Edge Caching
WASM modules are cached aggressively via IndexedDB on client devices.
Frequently Asked Questions
Is this a free alternative to AWS Lambda?
Yes. By utilizing the unused compute power of your visitors' browsers, you completely bypass server-side execution costs, making it the best free alternative to AWS Lambda for distributed, parallelizable tasks.
Is it secure to run code on client devices?
WASM operates within a strict memory-safe sandbox. The code cannot access the DOM, cookies, or local storage of the host site unless explicitly granted.
What happens if a user closes their tab?
The Swarm Router detects node disconnections instantly and automatically re-routes the pending chunk to another available node in the mesh.
Pricing (BSL 1.1)
Self-host for free, or use our managed routers.
Scale
- Dedicated Routers
- Up to 1M active nodes
- WebGPU support
- Priority support
Enterprise
- On-premise deployment
- Unlimited nodes
- Custom WebRTC signaling
- 24/7 dedicated support