LMArena Bridge is a self-hosted server that exposes an OpenAI-compatible API on top of LMArena. This guide walks you through cloning the project, getting your LMArena auth token, and making your first request.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/cloudwaddie/lmarenabridge/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Python 3.10 or higher
pip(comes with Python)- A browser logged in to lmarena.ai or arena.ai
Install
Get your auth token
LMArena Bridge authenticates to LMArena using thearena-auth-prod-v1 cookie from your browser session. Here is how to find it.
Open LMArena and send a message
Go to arena.ai (or lmarena.ai) and send any message in the chat. This ensures the auth cookie is set in your browser.
Open browser developer tools
Press F12 to open DevTools, or right-click the page and choose Inspect.
Navigate to the Cookies section
- In Chrome or Edge: go to the Application tab, then expand Cookies in the left sidebar and select the LMArena domain.
- In Firefox: go to the Storage tab, then expand Cookies.
Copy the arena-auth-prod-v1 value
Find the cookie named
arena-auth-prod-v1. Its value starts with base64-. Copy the entire value — this is your auth token.If you see cookies named
arena-auth-prod-v1.0 and arena-auth-prod-v1.1 instead, copy both values and concatenate them end-to-end. The bridge handles split cookies automatically when you add tokens via the dashboard.Add the token in the dashboard
Open the dashboard
Go to http://localhost:8000/dashboard in your browser.
Make your first API call
The bridge is now ready to accept requests. Use the same format as the OpenAI API:YOUR_API_KEY with an API key from the dashboard. If you have not created one yet, you can leave the Authorization header out — or create a key in the API Keys section of the dashboard first.
A successful response looks like this:
Next steps
- Authentication — Manage multiple auth tokens, API keys, and the
cf_clearancecookie. - Configuration — Tune rate limits, timeouts, and browser window modes via
config.json. - Integrations — Connect LMArena Bridge to OpenWebUI as a backend.