Google Gemma 3n 4B Cost Calculator Token and Request Pricing

Model: Google: Gemma 3n 4B, Context: 32768, Cost: $0.02 per 1M input tokens, $0.04 per 1M output tokens

Note: Calculation is approximate based on public data. Prices may change, check official websites.

Calculate the cost of using the Google Gemma 3n 4B model for your AI applications. This calculator helps you estimate expenses based on token usage and request volume.

Model: Google Gemma 3n 4B

Context Window: 32768 tokens

Pricing:

  • Input Tokens: $0.02 per 1 Million tokens
  • Output Tokens: $0.04 per 1 Million tokens

Formula:

Total Cost = (Number of Input Tokens / 1,000,000 * Input Cost per Token) + (Number of Output Tokens / 1,000,000 * Output Cost per Token)

Example:

If you process 100,000 input tokens and receive 50,000 output tokens for a single request:

  • Input Cost: (100,000 / 1,000,000) * $0.02 = $0.002
  • Output Cost: (50,000 / 1,000,000) * $0.04 = $0.002
  • Total Cost: $0.002 + $0.002 = $0.004