Llm.report
๐ llm.report is an open-source logging and analytics platform for OpenAI: Log your ChatGPT API requests, analyze costs, and improve your prompts.
Install / Use
/learn @dillionverma/Llm.reportREADME
<a href="https://llm.report"> <img alt="llm.report โ an open-source logging and analytics platform for OpenAI: Log your ChatGPT API requests, analyze costs, and improve your prompts." src="https://cdn.llm.report/openai-demo.gif" width="100%"> <h1 align="center">llm.report</h1> <p align="center"><b>An open-source logging and analytics platform for OpenAI</b></p> </a> <h4 align="center"> <a href="https://twitter.com/llmreport"> <img src="https://img.shields.io/twitter/follow/llmreport?style=flat&label=%40llmreport&logo=twitter&color=0bf&logoColor=fff" alt="Twitter" /> </a> <a href="https://github.com/dillionverma/llm.report/blob/main/LICENSE"> <img src="https://img.shields.io/github/license/dillionverma/llm.report?label=license&logo=github&color=f80&logoColor=fff" alt="License" /> </a> <a href="https://github.com/dillionverma/llm.report/blob/main/CONTRIBUTING.md"> <img src="https://img.shields.io/badge/PRs-Welcome-brightgreen" alt="PRs welcome!" /> </a> <a href="https://github.com/dillionverma/llm.report/issues"> <img src="https://img.shields.io/github/commit-activity/m/dillionverma/llm.report" alt="git commit activity" /> </a> <a href="https://llm.report/discord"> <img src="https://img.shields.io/badge/chat-on%20Discord-blueviolet" alt="Discord Channel" /> </a> </h4> <p align="center"> <a href="#introduction"><strong>Introduction</strong></a> ยท <a href="#self-hosted-installation"><strong>Self Hosted Installation</strong></a> ยท <a href="#cloud-installation"><strong>Cloud Installation</strong></a> ยท <a href="#tech-stack"><strong>Tech Stack</strong></a> ยท <a href="#contributing"><strong>Contributing</strong></a> </p> <br/>[!CAUTION] Attention: llm.report is no longer actively maintained. This project was unable to find a sustainable business model, and the founders have moved on to other projects. If you are interested in maintaining or further developing this project, message me on twitter
Introduction
llm.report is an open-source logging and analytics platform for OpenAI: Log your ChatGPT API requests, analyze costs, and improve your prompts.
Here are some of the features that llm.report provides out-of-the-box:
OpenAI API Analytics
No-code solution to analyze your OpenAI API costs and token usage.
<a href="https://docs.llm.report/features/openai"> <img alt="llm.report โ an open-source logging and analytics platform for OpenAI: Log your ChatGPT API requests, analyze costs, and improve your prompts." src="https://cdn.llm.report/openai-demo.gif" width="100%"> </a>Logs
Log your OpenAI API requests / responses and analyze them to improve your prompts.
<a href="https://docs.llm.report/features/logs"> <img alt="llm.report โ an open-source logging and analytics platform for OpenAI: Log your ChatGPT API requests, analyze costs, and improve your prompts." src="https://cdn.llm.report/logs-demo.gif" width="100%"> </a>User Analytics
Calculate the cost per user for your AI app.
<a href="https://docs.llm.report/features/users"> <img alt="llm.report โ an open-source logging and analytics platform for OpenAI: Log your ChatGPT API requests, analyze costs, and improve your prompts." src="https://cdn.llm.report/users-demo.gif" width="100%"> </a>Self-Hosted Installation
- Clone the repo
git clone https://github.com/dillionverma/llm.report.git
- cd into the repo
cd llm.report
- Install dependencies
yarn
- Setup environment variables
cp .env.example .env
- Generate
NEXTAUTH_SECRETusingopenssl rand -base64 32and add it to.env
- Quickstart
- Requires Docker and Docker Compose to be installed.
- Will start a local Postgres instance with a few test users - the credentials will be logged in the console
yarn dx
Open http://localhost:3000 with your browser!
Tech Stack
- Next.js โ framework
- Typescript โ language
- Tailwind โ CSS
- Shadcn โ App UI components
- Magic UI โ Marketing UI components
- Postgres โ database
- NextAuth.js โ auth
- Stripe โ payments
- Resend - emails
Contributing
Here's how you can contribute:
- Open an issue if you believe you've encountered a bug.
- Make a pull request to add new features/make quality-of-life improvements/fix bugs.
Star History
License
Inspired by Dub and Plausible, both are open-source under the GNU Affero General Public License Version 3 (AGPLv3) or any later version. You can find it here. The reason for this is that we believe in the open-source ethos and want to contribute back to the community.
Credits
- OpenAI โ for creating ChatGPT
- shadcn-ui โ for making it easy to build beautiful UIs
- tremor.so โ beautiful dashboard componenets
- mintlify โ beautiful documentation
- screen.studio โ the best video recording tool
- vercel โ for making next.js and making it easy to build powerful apps
- Dub โ for inspiring me to open-source this project
