A Streamlit app for testing, comparing, and analyzing responses from various GPT models using the OpenAI API.
- Compare multiple GPT models simultaneously
- Adjust temperature and max tokens for each model individually
- View detailed metadata including token counts, inference time, and estimated cost
- Generate and download PDF reports of comparison results
- User-friendly interface with real-time updates
Try the live application here: https://test-gpt-models.streamlit.app/
- OpenAI API key
- Python 3.7+
- Required Python packages (see Installation)
- Clone the repository:
git clone https://github.com/yourusername/gpt-model-comparator.git cd gpt-model-comparator
- Create and activate a virtual environment
python -m venv venv source venv/bin/activate # On Windows, use venv\Scripts\activate
- Install the required dependencies:
pip install -r requirements.txt
streamlit run app.py
Contributions are welcome! Please fork this repository and submit a pull request for review.