OpenPlayground

Stale
GitHub TypeScript MIT

Description

An LLM playground you can run on your laptop. Compare models side-by-side for prompt testing and model evaluation in a local environment.

Key Features

  • Support for multiple LLM providers including OpenAI, Anthropic, Cohere
  • Side-by-side model comparison with same prompts
  • Automatic detection of local HuggingFace models
  • Full playground UI with history and parameter tuning
  • Keyboard shortcuts and log probability display
  • Docker support for containerized deployment

Use Cases

πŸ’‘ Prompt engineering and testing across multiple models
πŸ’‘ Local LLM evaluation and comparison
πŸ’‘ Model parameter tuning and optimization
πŸ’‘ Educational tool for understanding LLM behavior
πŸ’‘ Development environment for LLM-powered applications

Quick Start

Install with pip install openplayground and run with openplayground run. Or use Docker: docker run --name openplayground -p 5432:5432 natorg/openplayground. Access the UI to configure API keys and start comparing models.

Related Projects