34 comments

[ 3.2 ms ] story [ 54.0 ms ] thread
This seems like a pricing hack that burns resources, that when the loophole gets closed the price of OCR will have to rise?
Ahhh my eyes the vibe coded readme
In Gemini at least, if you look at how they process PDFs, they do an OCR and then feed the text + image to the model, without charging you for the text tokens (I believe).

So my guess is that Claude’s backend is doing the same — so this hack is probably more of a loophole in token accounting that might get closed if Claude is doing what Gemini does

I want to see more text-free foundation models
That is hilarious and an amazing find.
seems really dumb and like it would need to violate basic information theory to work?

input tokens are cheaper than output tokens. seems like it would maybe reduce input tokens at the expense of many more output tokens if you're actually triggering OCR via thinking?

It's far from being a foolish idea, and it seems to me that the project correctly documents its own limitations. It's rare to see a README list so precisely where the tool falls short. Then, yes, input tokens are cheaper than output. But when it comes to find ways to get reduce costs, you have to explore all the options.
(comment deleted)
I cant get past that LLM intense slop text in the Github repo
I'm sorry, but this is retarded. It works, and it's clever, but but it's clearly a workaround for a pricing failure. Much like the bounty on poisonous snakes leading to people taking up snake-breeding, this just exploits and promotes waste. I think ultimately blame falls on Anthropic for the poor pricing system the enables such arbitrage. But I'm also disgusted by the inevitable tide of people exploiting this until its fixed, and creating an entirely unnecessary extra tide of digital junk.
What about: "Read this document online : [URL]" and you add your text/context to an online document?

Would that reduce the number of tokens used too?

This probably works with PDF parsing as well I’m sure, even if it’s just from not having to parse pdf format alone.
Saw a Tweet a while ago from someone (maybe Carmack, maybe Geohot, maybe Karpathy?) wondering if images were just the better option.

Since then I've been using images with very simply worded prompts whenever I'm informing an agent of what is happening. Sometimes no text in the prompt at all.

It has been very very effective.

That being said, this isn't really what Karpathy was talking about. But it got me thinking a bit, and that got me to a much nicer workflow.

Binary compression unpacked by OCR? This is the stuff of nightmares. So cursed, and yet...
a picture paints a thousand words