Detecting unbilled AI API calls caused by streaming token loss
A developer describes a billing bug where AI streaming responses are fully delivered to users but token usage is not logged, resulting in unbilled API calls. The post includes a tool to reconcile delivered text against logged usage offline.
Blog · Development · Tools · Billing · — Open article