Models About & Code

Standalone App & PWA

Install Pocket Architecture Arena from its dedicated origin as an offline LLM benchmark PWA with direct OS .txt, .md, and .json prompt file_handlers and zero camera or microphone access.

Open arena.webai.show ↗

Honest cache note: browsers isolate Cache Storage per origin, so arena.webai.show stores its own ONNX weights (~804.2 MB WebGPU trio or ~697.1 MB CPU WASM duo). Staying on webai.show shares cached weights across the site.

0 / 8000 chars
0.00 (Greedy)
144 tok

Strict JSON Extraction preset loaded. Launch the 3-pane race to stream real on-device tokens across Mamba-2, 1-Bit q1, and Compact Transformer architectures.

Live Telemetry Comparison

Awaiting live race telemetry

Output Divergence Diff

Select any two completed lanes
removed baseline-only added candidate-only

Benchmark Dossier & OWASP-Safe Exports

Run any lane above to export Markdown dossiers, spreadsheet-safe CSV tables, and structured JSON telemetry.

Local AI Engine

Three local @huggingface/transformers@4.3.2 workers (~804.2 MB WebGPU trio) plus Alibaba MNN-Pocket 0.3B on shared 3.7.5 CPU WASM (368.5 MB int8).

Lane 1 · IBM Granite 4.0-H 350M (264.8 MB q4 · Apache-2.0)

onnx-community/granite-4.0-h-350m-ONNX · local 4.3.2 WebGPU · Hybrid Mamba-2 SSM (28 Mamba + 4 Attention layers)

Lane 2 · PrismML Bonsai 1.7B 1-Bit (300.2 MB q1 · Apache-2.0)

onnx-community/Bonsai-1.7B-ONNX · local 4.3.2 WebGPU · 1-bit q1 Qwen3 (5.84 params/byte · 1.37 bits/param)

Lane 3 · PleIAs Baguettotron 321M (239.2 MB q4f16 / 328.6 MB q8 · Apache-2.0)

onnx-community/Baguettotron-ONNX · local 4.3.2 · WebGPU q4f16 with automatic CPU WASM q8 fallback

Swap / CPU WASM Contender · Alibaba MNN-Pocket 0.3B (368.5 MB int8 · Apache-2.0)

onnx-community/MNN-Pocket-0.3B-ONNX · shared ../../lib/webai.js (3.7.5) CPU WASM int8 (~57 tok/s, 139 ms TTFT; avoids upstream q4f16 fp16 overflow)

Granite 4.0-H (Mamba-2) Not loaded
Bonsai 1.7B (1-Bit q1) Not loaded
Baguettotron (80L Llama) Not loaded
MNN-Pocket (Qwen3 WASM) Optional · Standby
Detected Hardware Checking…

Inside Four Novel Browser Architectures

Every contender is Apache-2.0 licensed, verified live in isolated Web Workers, and paired with real TTFT, decode throughput, JSON schema validation, and parameter-per-byte density instrumentation.

1. Hybrid Mamba-2 SSM (Granite 4.0-H 350M)

Replaces 28 of 32 attention blocks with linear-time Mamba-2 state-space recurrences (4 full attention layers remain). Runs on @huggingface/transformers@4.3.2 WebGPU q4 (264.8 MB) at ~78 tok/s with constant-size recurrent state across its 32k context window.

2. 1-Bit Quantization (Bonsai 1.7B q1)

Packs 1.7 billion Qwen3 parameters into 291.1 MB of q1 ONNX weights (5.84 parameters per byte, 1.37 bits/param) executed directly by ONNX Runtime Web 1.31 WebGPU shaders at ~53 tok/s — proving true 1-bit LLMs run natively inside a browser tab today.

3. Deep-Narrow Reasoning (Baguettotron 321M)

Trades width (576 hidden) for extreme depth (80 Llama layers, GQA 9:3) trained on SYNTH reasoning traces. Runs at ~96 tok/s on WebGPU q4f16 (239.2 MB) and degrades smoothly to CPU WASM q8 (328.6 MB, ~44 tok/s) when WebGPU is absent.

4. Compact Edge Qwen3 (MNN-Pocket 0.3B)

28-layer Qwen3 checkpoint running int8 (368.5 MB) on CPU WebAssembly via shared ../../lib/webai.js at ~57 tok/s with sub-200 ms TTFT — deliberately skipping upstream q4f16 after Stage 0 probing caught fp16 backtick overflow.

Show the code — Granite 4.0-H 350M Hybrid Mamba-2 streaming worker (WebGPU q4)
Show the code — PrismML Bonsai 1.7B 1-Bit q1 WebGPU model loader
Show the code — Baguettotron 321M WebGPU/CPU fallback & <think> trace streaming
Show the code — MNN-Pocket 0.3B shared 3.7.5 CPU WASM int8 loader
Show the code — evaluateJsonSchema() strict JSON & required-key schema validator
Show the code — renderThroughputSvgChart() pure-DOM SVG telemetry bar chart

Architecture Benchmark Dossier (.md)

Markdown comparison table and verbatim outputs.