WASM Compute Mesh

Turn every browser into a compute node.

Distribute WASM workloads instantly across edge devices. Zero servers. Infinite scale. The true serverless architecture.

0
Servers to Manage
0%
Native Speed (WASM)
0%
Distributed Network

The best free alternative to AWS Lambda.

Why pay for idle compute when millions of browsers sit idle?

AWS Lambda

$0.20/1M req

+ compute time

SwarmCompute

$0/forever

peers donate idle CPU

Cloudflare Workers

$0.15/1M req

+ $12.50/1M ms

Cost at 100M requests/month (Estimated)

AWS Lambda
~$150+
CF Workers
~$60+
SwarmCompute
$0

How it works

01. Submit

Task Queue

Client submits a WASM module and payload to the Swarm router.

02. Distribute

Mesh Routing

Router streams the task to available browser worker nodes via WebRTC.

03. Execute

WASM Sandbox

Workers execute the WASM binary safely in a background Web Worker.

04. Collect

Aggregation

Results are validated, merged, and returned to the origin.

Benchmark Your Browser

Test your device's compute capability in real-time.

Active P2P Compute Cluster

Live view of browser nodes executing WASM tasks

Peer #8391
CPU Usage
Tasks: 142
Your Node
CPU Usage
Tasks: 15
Peer #1042
CPU Usage
Tasks: 893
Peer #9921
CPU Usage
Tasks: 56

Live Task Queue

Submitted
Matrix Multiply
2.1 KB WASM — Peer #4827
Image Filter
4.5 KB WASM — Peer #8391
Processing
Data Aggregation
1.2 KB WASM — Your Node
Complete
Hash Collision
0.8 KB WASM — Peer #1042

Integration in seconds.

Simulated demo. No WASM tasks are executed and no peers are contacted; the output shown is scripted.
Initialize Router
Submit Task
Worker Node
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.

🧩

WebAssembly Execution

Work units run as WebAssembly with a host-supplied linear memory and no imports beyond it. GPU access is not implemented.

🌊

Streaming Data

Stream large datasets directly to worker nodes without buffering on central servers.

📦

Module Transfer

Modules are sent base64-encoded over the coordinator relay, or as binary frames over a WebRTC DataChannel. Client-side caching is not implemented.

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.

Startup

$399/mo
  • Managed Router
  • Up to 100k active nodes
  • Standard SLA
  • Community support
Get Started

Enterprise

$14,999/mo
  • On-premise deployment
  • Unlimited nodes
  • Custom WebRTC signaling
  • 24/7 dedicated support
Contact Sales