<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/build-an-app-where-3-ai-models-race-live-lgi5rbshn" -->

---
title: Build an App Where 3 AI Models Race Live | daily.dev
description: Ever wonder which AI model is actually the best? In this video, we're building the LLM Arena: a Next.js app that races open-source models side-by-side in...
canonical: https://daily.dev/posts/build-an-app-where-3-ai-models-race-live-lgi5rbshn
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Build an App Where 3 AI Models Race Live | daily.dev
og:description: Ever wonder which AI model is actually the best? In this video, we're building the LLM Arena: a Next.js app that races open-source models side-by-side in...
og:url: https://daily.dev/posts/build-an-app-where-3-ai-models-race-live-lgi5rbshn
og:image: https://api.daily.dev/og/posts/LGi5rbSHn.png
og:image:alt: Build an App Where 3 AI Models Race Live
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Build an App Where 3 AI Models Race Live

**[JavaScript Mastery](https://daily.dev/sources/javascriptmastery)** · 124 min read · 4 upvotes · 0 comments

## Summary

Ever wonder which AI model is actually the best? In this video, we're building the LLM Arena: a Next.js app that races open-source models side-by-side in real-time to track exact performance metrics like latency and cost. Vote on the winner to update a public leaderboard. Best of all, we'll build this entire full-stack app completely agentically using Claude Code.

Try Greptile for FREE: https://jsm.dev/arena-greptile
Try Clerk for FREE: https://jsm.dev/arena-clerk
Try Arcjet for FREE: https://jsm.dev/arena-arcjet
Try PostHog for FREE: https://jsm.dev/arena-posthog

OpenRouter: https://openrouter.ai
Prisma: https://www.prisma.io

📋 Join the Agentic Course Waitlist: https://jsm.dev/arena-agentic
🎁 Video Kit (Code, Assets, Prompts): https://jsm.dev/arena-kit

⭐ Get my Pro Courses: https://jsm.dev/arena-jsm

➤ Links not working? Some regions may need a VPN.

https://discord.com/invite/n6EdbFJ https://twitter.com/jsmasterypro https://instagram.com/javascriptmastery https://linkedin.com/company/javascriptmastery

Business Inquiries: contact@jsmastery.pro

Timestamps: 
00:00:00 — Introduction
00:05:44 — Scaffold & Tools Setup
00:09:03 — Repository & Code Review
00:15:58 — Foundation & Decision Process
00:45:21 — Coding Standards, Tooling, & Data Model
00:51:49 — Design & Look
01:04:54 — Model Picker
01:09:52 — Send a Prompt, Parallel Streams, and Voting
01:25:01 — Thread History
01:25:53 — Public Thread Visibility & Sharing
01:34:07 — Arcjet: Abuse Protection
01:40:48 — Leaderboard
01:43:06 — PostHog: What Actually Happened
02:03:02 — Wrap-up

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=xEBSV-M-qFk>

---

Tags: [#javascript](https://daily.dev/tags/javascript)

[View this post on daily.dev](https://daily.dev/posts/build-an-app-where-3-ai-models-race-live-lgi5rbshn)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Build an App Where 3 AI Models Race Live","url":"https://daily.dev/posts/build-an-app-where-3-ai-models-race-live-lgi5rbshn","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/build-an-app-where-3-ai-models-race-live-lgi5rbshn"},"datePublished":"2026-08-07T13:10:03.338Z","dateModified":"2026-08-07T13:40:07.368Z","description":"Ever wonder which AI model is actually the best? In this video, we're building the LLM Arena: a Next.js app that races open-source models side-by-side in...","image":"https://i.ytimg.com/vi/xEBSV-M-qFk/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/xEBSV-M-qFk/sddefault.jpg","isAccessibleForFree":true,"articleSection":"JavaScript Mastery","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"JavaScript Mastery","logo":"https://media.daily.dev/image/upload/s--i6Ls5Q5_--/f_auto/v1724338715/logos/javascriptmastery","url":"https://daily.dev/sources/javascriptmastery"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/build-an-app-where-3-ai-models-race-live-lgi5rbshn","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript","timeRequired":"PT124M","video":{"@type":"VideoObject","name":"Build an App Where 3 AI Models Race Live","description":"Ever wonder which AI model is actually the best? In this video, we're building the LLM Arena: a Next.js app that races open-source models side-by-side in...","thumbnailUrl":"https://i.ytimg.com/vi/xEBSV-M-qFk/sddefault.jpg","uploadDate":"2026-08-07T13:10:03.338Z","duration":"PT124M","url":"https://api.daily.dev/r/LGi5rbSHn","embedUrl":"https://www.youtube.com/embed/xEBSV-M-qFk"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"JavaScript Mastery","item":"https://daily.dev/sources/javascriptmastery"},{"@type":"ListItem","position":3,"name":"Build an App Where 3 AI Models Race Live"}]}
```

