freeedcom / ai-codereviewer

AI Code Reviewer: Enhance your GitHub workflow with AI-powered code review! Get intelligent feedback and suggestions on pull requests using OpenAI's GPT-4 API, improving code quality and saving developers time.
MIT License
642 stars 605 forks source link

Unexpected high bill #70

Open Stas-Buzunko opened 4 months ago

Stas-Buzunko commented 4 months ago

We are a small team of three developers.

OpenAI charged us $62 CAD just in the last three days. Initially, I thought this was caused by some issues with package-lock.json, but JSON files are excluded. How can we resolve this?

here is our config `name: AI Code Reviewer

on: pull_request: types:

Screenshot 2024-06-25 at 3 29 56 PM
Stas-Buzunko commented 4 months ago

There were only 30 runs in the last 4 days

MrMasrozYTLIVE commented 2 weeks ago

Thats kinda expected since OpenAI API is very expensive and you're sending lots of diff data