A universal remote for language models that fits on your laptop
Because switching between a dozen LLM dashboards to test one prompt is no way to spend an afternoon.

What it does Openplayground is a browser-based LLM testing interface that bundles access to OpenAI, Anthropic, Cohere, HuggingFace, Replicate, and local llama.cpp models behind a single Flask server. You can run it entirely on your laptop, tweak generation parameters, browse history, and compare outputs side-by-side without juggling separate provider tabs. It also detects models already cached by HuggingFace and offers a path to install new ones.
The interesting bit The project treats local hardware as a first-class citizen rather than an afterthought: it runs a local inference backend, works on your phone in a pinch, and lets you pit a remote API call against a locally running Llama model using the exact same prompt. That side-by-side comparison is the real draw for anyone trying to decide whether to pay per-token or burn CPU cycles.
Key highlights
- Supports models from OpenAI, Anthropic, Cohere, Forefront, HuggingFace, Aleph Alpha, Replicate, Banana, and llama.cpp
- Side-by-side model comparison with per-model parameter tuning and retry
- Auto-discovers HuggingFace cache entries and exposes them in the UI
- Full playground features: history, logprobs, keyboard shortcuts, parameter sliders
- Runs as a local Flask process with an optional Docker deployment
Caveats
- Several useful features are still on the wishlist: token counting, cost tracking, time-to-first-token metrics, and a proper ChatGPT-style chat UI
- Adding a new local model requires hand-editing
server/models.jsonand writing a custom generation method inserver/app.py - The README notes it “probably won’t kill everyone,” which is reassuring but not a formal security audit
Verdict Worth a spin if you regularly benchmark commercial APIs against open-weights models or just want a self-hosted prompt lab. Skip it if you need deep cost analytics or a polished conversational interface out of the box.
Frequently asked
- What is nat/openplayground?
- Because switching between a dozen LLM dashboards to test one prompt is no way to spend an afternoon.
- Is openplayground open source?
- Yes — nat/openplayground is open source, released under the MIT license.
- What language is openplayground written in?
- nat/openplayground is primarily written in TypeScript.
- How popular is openplayground?
- nat/openplayground has 6.4k stars on GitHub.
- Where can I find openplayground?
- nat/openplayground is on GitHub at https://github.com/nat/openplayground.