DEV Community

Ghost_Thread
Ghost_Thread

Posted on

A small experiment: building a zero-cost AI debate arena (BYOK)

I’ve been playing around with a simple idea lately: standard AI chat interfaces are way too polite, always agreeing with you, which gets boring pretty fast. I wanted to see what happens when you force two different models to actually argue with each other without the usual guardrails.

So, I built a lightweight web arena using Tailwind, Vercel, and a BYOK (Bring Your Own Key) architecture so users plug in their own API keys (Gemini, Groq, etc.) and it doesn’t cost me a dime in server or token bills every time the models start bickering.

Since I wanted to avoid a complex backend or a database, everything runs on the client side. The fun part is just watching the cross-responses they spit out.

If anyone’s curious to check it out, the project is called biattle (just Google it, it shows up right away). If you’ve ever built client-side multi-model setups, I’d love to know how you handle rate limits. Cheers!

Top comments (0)