Tool for working with large files

Hi, I am creating a project which involves analysing of pretty big files.Currently I use openAi api with file retrieval, but it costs to much, almost a 1$ per request. Is there any other, cheaper alternative? I am not into ML, so i am looking for something quite quick to figure out. Preferably for working with SQL databases, but json files are fine also. I am not sure if this is right place to ask this kinds of questions, if so please advise me on where cannI get an answer for this. Thank’s for help.