You can upload a PDF directly, and the vOCR API supports a page_range parameter so you can specify which pages to process in a single request (e.g., [1,10]).
If your PDF has more than 10 pages, you can make multiple requests, each specifying a different page range (e.g., [1,10], [11,20], etc.). No need to manually split the file.
Also, I totally get that tokens can feel abstract. However by making this shift we can focus on processing time. In doing so the token-based pricing model allows us to be more flexible and provide more at a cheaper cost.
For example, instead of $0.05 per invocation it could be as low as $0.0014–$0.0035 per page depending on factors like the amount of text extracted and formatting.
We do appreciate the feedback and will continue make this approach as transparent as possible.
Our pricing model is being updated soon to be even more cost-effective. Currently, we support up to 10 pages per API request. With the upcoming token-based pricing, costs will drop significantly to just $1.40 per 1M tokens.
We're thrilled to announce that JigsawStack’s AI tools are now available in LangChain.js! Automate tasks like web scraping, transcription, and SQL generation with just a few lines of code. Our tools are designed to simplify your workflow and boost your app's AI capabilities.