Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I had Claude Code write a module that monitored the incoming and outcoming token counts and display the accumulated costs. A Japanese-to-English translation that yielded about a thousand words in English cost around US$0.40.

I didn't double-check the module's arithmetic, but it seems to have been in the ballpark, as my total API costs for OpenAI, Anthropic, and Google yesterday--when I was testing this system repeatedly--came to about eight dollars.

A human translator would charge many, many times more.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: