An open-source logging and analytics platform for OpenAI
Introduction ยท Self Hosted Installation ยท Cloud Installation ยท Tech Stack ยท Contributing
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:
No-code solution to analyze your OpenAI API costs and token usage.
Log your OpenAI API requests / responses and analyze them to improve your prompts.
Calculate the cost per user for your AI app.
- 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_SECRET
usingopenssl rand -base64 32
and 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!
- 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
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.
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.
- 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