{"repo":"stashlabs/duelr","free":true,"listed":false,"github":"https://github.com/stashlabs/duelr","clone":"git clone https://github.com/stashlabs/duelr.git","description":"Compare LLMs in one click","language":"TypeScript","stars":40,"topics":["ai","llm","mlops","nextjs","open-source","shadcn-ui","typescript"],"license":"Apache-2.0","category":"ai-agents","readme_excerpt":"Duelr Compare LLMs in one click - An open-source tool to evaluate and compare Large Language Model responses across different providers with latency, cost, and quality metrics. Features - Parallel Comparison : Test multiple LLM models simultaneously - Comprehensive Metrics : Track latency, token usage, and cost - Quality Scoring : Built-in scoring for length simplicity, readability, and JSON validity - Cost Transparency : Real-time pricing comparison across providers - Extensible : Easy to add new LLM providers Get Started Prerequisites - Node.js 18+ - npm/yarn - API keys for LLM providers (OpenAI, Anthropic) Installation 1. Clone the repository 2. Install dependencies 3. Set up environment variables Add your API keys to .env.local : 4. Start the development server 5. Open your browser Navigate to http://localhost:3000 How to Use 1. Enter your prompt in the text area 2. Select models you want to compare (OpenAI GPT-4o, Claude Sonnet 4, etc.) 3. Click \"Run Comparison\" to execute parallel requests 4. Review results in side-by-side cards showing: - Response text with copy button - Latency measurements - Token usage and costs - Quality scores (simplicity, readability, JSON validity) Architecture Core Components - Frontend : Next.js 15 with React 19, Tailwind CSS, Shadcn/ui - API Routes : Next.js API routes for LLM integrations - Providers : Modular provider system (OpenAI, Anthropic) - Scoring : Built-in heuristic algorithms for response evaluation Supported Providers - ✅ OpenAI ","default_branch":null,"files":null,"tree":[],"storefront":"/r/stashlabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stashlabs/duelr/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}