title: Google Translate API Pricing and Language auto-detect Effeciency
body: <p>I have the following three questions</p>
  
  <ol>
  <li><p>I want to use Google's API to translate text. I know that Google charges separately for translation and detection. Google translate also supports translation two ways to translate</p>
  
  <p>i) By specifying both source and target, as in
  <a href="https://www.googleapis.com/language/translate/v2?key=INSERT-YOUR-KEY&amp;" rel="noreferrer">https://www.googleapis.com/language/translate/v2?key=INSERT-YOUR-KEY&amp;</a><strong>source</strong>=en&amp;<strong>target</strong>=de&amp;q=Hello%20world&amp;q=My%20name%20is%20Jeff</p>
  
  <p>ii) By specifying just the target, where the source us auto-detected, 
  like this <a href="https://www.googleapis.com/language/translate/v2?key=INSERT-YOUR-KEY&amp;" rel="noreferrer">https://www.googleapis.com/language/translate/v2?key=INSERT-YOUR-KEY&amp;</a><strong>target</strong>=de&amp;q=Hello%20world</p></li>
  </ol>
  
  <p>My question is, if i call the API as in the second example, will I be charged for both detection and translation or just translation?</p>
  
  <ol start="2">
  <li><p>Is it more efficient when you specify both source and target than when you just the target, or, are there any downsides of using the second way above?</p></li>
  <li><p>How many words should be sent to Google Translate API to detect a language reliably?</p></li>
  </ol>
  
  <p>Thanks</p>