The client disconnected. What should the meter charge?
The chat has stopped. The amount is still pending. A support agent asks a chat app to summarize a report. Halfway through the first paragraph, she realizes she picked the wrong file. She clicks Stop. What should her team pay? Support and Engineering have separate keys to our gateway, but we pay for both from one OpenRouter account. On Monday, Finance gets a $7.40 bill for Friday. Our records add…
The chat session was cut short, leaving a $0.04 charge pending. The team's support agent lost track of which files she was working on, causing the summary to abruptly end. OpenRouter's gateway kept waiting for the final cost, but it never arrived. The usage accounting shows OpenRouter charged four cents for the work done before the connection was lost.
This cost is split between the provider's account and the team's usage charge, amounting to three cents and one cent respectively. Since the provider's bill already reflected this amount, Support only needs to pay one cent more to account for the entire $7.40.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to