Multi-Engine AI Comparison Playground
Side-by-side prompt testing arena comparing Gemini Nano, Transformers.js, and WebLLM token speeds and reasoning
⚡ BENCHMARK SCENARIO SUITE:
Gemini Nano (On-Device)
--
--
--
Model A awaiting benchmark dispatch
Llama-3.2-1B-Instruct
--
--
--
Model B awaiting benchmark dispatch
Browser AI Runtime Execution Architecture
Chrome Built-in AI
Uses Chrome's pre-packaged Gemini Nano model. Zero download size, minimal initial latency (~25ms TTFT), and direct hardware acceleration via your OS machine learning runtime.
WebGPU Accelerated (WebLLM)
Compiles large language models (Llama 3.2, Mistral, Phi-3.5) directly to WGSL shaders to execute on discrete graphics cards (Apple Silicon, NVIDIA RTX) inside WebGPU.
In-Memory WASM (Transformers.js)
Runs lightweight INT8/INT4 ONNX transformer weights via WebAssembly SIMD threads, enabling execution on virtually any standard browser without WebGPU prerequisites.
Multi-Engine AI Model Comparison Playground: Browser AI Arena
The Multi-Engine AI Model Comparison Playground is a benchmarking and evaluation arena designed to test, compare, and stress-test browser-based generative AI models side-by-side. By dispatching prompts simultaneously to multiple local engines—including Google Chrome's native Gemini Nano, Hugging Face Transformers.js (SmolLM2), Meta's Llama 3.2 via WebLLM/WebGPU, and Microsoft's Phi-3.5-mini—users can measure real-world performance trade-offs in token throughput, Time-to-First-Token (TTFT) latency, memory footprint, and reasoning depth.
Key Capabilities
- Simultaneous Dual-Engine Execution: Dispatch a single prompt to two competing on-device language models at the exact same millisecond and observe side-by-side streaming token output.
- Side-by-Side Model Library:
- Google Gemini Nano: Zero-download Chrome Built-in AI running natively on system NPUs/GPUs.
- SmolLM2-360M: Quantized ultra-lightweight transformer running via Transformers.js in WebAssembly SIMD threads.
- Llama-3.2-1B-Instruct: Instruction-tuned Meta foundation model executing on discrete graphics cards via WebLLM and WebGPU shaders.
- Phi-3.5-mini: High-capacity multi-step reasoning and coding model from Microsoft Research.
- Hardware Telemetry & Benchmarking Metrics:
- TTFT (Time-to-First-Token): Measure the initial response lag in milliseconds.
- Throughput Speed: Track live tokens-per-second (
tok/s) generation velocity. - Token Counts & Duration: Inspect total tokens outputted and overall clock duration.
- Estimated Memory Overhead: Understand VRAM and RAM consumption profiles.
- Blind Arena Mode: Hide model identities until generation finishes to enable unbiased human evaluation and blind taste-testing with one-click voting buttons.
- Benchmark Scenario Suite: Instant one-click test cases spanning Cognitive Reflection math riddles, TypeScript generic programming, Victorian poetry, and physics explanations.
- Comparative Markdown Export: Download complete side-by-side benchmark reports with metadata, prompt details, and telemetry tables for documentation.
How to Use the AI Model Playground
- Select Competing Models:
- Choose Model A (e.g., Chrome Gemini Nano) and Model B (e.g., Llama-3.2-1B).
- (Optional) Toggle Blind Arena Mode to hide model labels for unbiased blind testing.
- Set Your Benchmark Prompt:
- Write your prompt or click any of the preset scenario pills (Bat & Ball Riddle, TypeScript Debounce, Victorian Poem, or String Theory).
- Run Side-by-Side Arena:
- Click "Run Side-by-Side Arena". Both models stream tokens concurrently in real time.
- Cast Your Vote & Export:
- Vote for the winning model or declare a tie.
- Click "Export Arena Report (.md)" to save your benchmark results.
Frequently Asked Questions
Does running two models locally slow down my computer?
On-device models utilize available CPU, NPU, or WebGPU resources. Modern multi-core processors and GPUs handle dual execution smoothly. Models with quantized weights (INT4/Q4) minimize memory footprint while maintaining reasoning fidelity.
Do these models require an internet connection?
No. Once the page is loaded (or when using Chrome's native pre-installed Gemini Nano), all prompt processing and inference execute completely offline inside your browser sandbox.
How is Time-to-First-Token (TTFT) measured?
TTFT measures the exact duration in milliseconds between clicking "Run" and the receipt of the very first generated token chunk from the model's output stream.
Related Tools in AI Tools
View all AI Tools tools →Resume Builder
Build a professional resume with guided sections for experience, education, and skills, then export it as a polished document.
Email Writer
Draft professional emails for common scenarios like follow-ups, cold outreach, and thank-you notes by choosing a type and tone.
Cover Letter Generator
Generate a tailored cover letter from your job details, key skills, and achievements in a choice of tones.
Prompt Library
Browse ready-made AI prompt templates by category
AI Text Summarizer
Condense long articles into a short AI-written summary
Audio to Text
Transcribe audio files with Whisper AI in your browser
Document Question & Answer
Ask questions and get answers based on your pasted document
Sound Classifier
Identify what sound or audio event is in a clip