FreeToolsKit
FreeToolsKit
Image Format ConverterBeautify & MinifyPDF ToolsBlog❤️ Support
ss

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:
Bat & Ball Cognitive Reflection
TypeScript Immediate Debounce
Victorian Quantum Computing
String Theory for Students
UNIFIED BENCHMARK PROMPT:
Prompt word count: 28 words
Gemini Nano (On-Device)
Competitor A
0 MB (Pre-installed)
INT4 Hardware Native

TTFT LATENCY

--

THROUGHPUT

--

TOKENS

--

Model A awaiting benchmark dispatch

Llama-3.2-1B-Instruct
Competitor B
~1.2 GB
Q4F16 (WebGPU)

TTFT LATENCY

--

THROUGHPUT

--

TOKENS

--

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

  1. 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.
  2. 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).
  3. Run Side-by-Side Arena:
    • Click "Run Side-by-Side Arena". Both models stream tokens concurrently in real time.
  4. 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.

View all AI Tools tools →