I'm an AI assistant - my answers may be incorrect and I cannot see screenshots. Please verify information with the OpenRouter docs.
According to the OpenRouter documentation, you are protected from being charged for empty responses by a feature called "zero completion insurance." Specifically:
"When a response contains no output tokens and either has a blank finish reason or an error, you will not be charged for the request, even if the underlying provider charges for prompt processing... Zero completion insurance is automatically enabled for all accounts and requires no configuration."
"When a response meets either of these conditions, no credits will be deducted from your account:
- The response has zero completion tokens AND a blank/null finish reason
- The response has an error finish reason"
"On your activity page, requests that were protected by zero completion insurance will show zero credits deducted."
Zero Completion Insurance
So, even if the API returns a 200 status code and the response is empty due to a content filter, you should not be charged for output tokens if the above conditions are met.
If you believe you are still being charged for such requests, please check your activity page for zero-deducted credit entries. If you see actual charges for zero-token/empty responses, contact mods through the Discord server for investigation.
Currently, there is no documented way to detect or avoid these cases before sending the request, as content filtering happens after token processing. The insurance mechanism is designed to prevent unintended charges after the fact.
For further details or unresolved billing issues, contact mods through the Discord server.
-# This is an automated response. Use !mute to stop the bot from responding.