1

Anyone know if we get still charged for Google Translate API requests if we make a bad API call?

For example if I sent an API request with 100 characters to be translated but I used an invalid language code so got an error, would I still get charged for the 100 characters in the request?

There's nothing specific on the pricing page https://developers.google.com/translate/v2/pricing

1 Answer 1

0

Yes.

Google Translate API charges based only on the number of characters sent to it. See https://developers.google.com/translate/v2/faq#pricing for more details.

2
  • Thanks, hadn't seen that. looking further into my reporting figures, the figures shown in the graph in the API console are about 50% of that are shown when I download the historical data. Looking into my billing history I'm being charged on the graph, not the historical data figures. My guess is that the historical data includes errors and the graph doesn't. I'll keep looking.
    – Joe Lipson
    Apr 28, 2014 at 1:17
  • According to cloud.google.com/translate/pricing Google doesn't charge for failed translations, at least for the Advanced methods.
    – Sophivorus
    Jul 20, 2022 at 13:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.