I like using 3.5-flash-lite for doing cheap PDF and Image data extraction stuff. I don't think there is a better bang / buck model right now (3.1 is cheaper but a lot worse).
Probably cheaper to run a Mac Mini with VisionKit (private APIs if you need bounding rects).
5.6 Luna costs far less and benchmarks far better, have you compared for this task?