Ha, I just shipped an open source library using the Anthropic API. The way I solved the cost concern was by having users bring their own API key. Zero infra cost on my end and they pay for what they use.