Input token counts and costs for AI models from Google

Use our Tokens API to easily integrate input token usage and pricing for Google models into your AI apps and workflows. For free.

You need an account to get your API key.

Author Model Price per Input Token
Google
Gemini 1.0 Nano n/a
Gemini 1.0 Pro $0.0000005
Gemini 1.5 Pro $0.00000125
Gemini 1.5 Flash $0.000000075
Gemini 1.5 Flash 8B $0.0000000375
Gemma 2B n/a
Gemma 7B n/a
Gemma 2 2B n/a
Gemma 2 9B n/a
Gemma 2 27B n/a
CodeGemma 2B n/a
CodeGemma 7B n/a
ShieldGemma 2B n/a
ShieldGemma 9B n/a
ShieldGemma 27B n/a
Gemini 1.0 Nano n/a
Gemini 1.0 Pro $0.0000005
Gemini 1.5 Pro $0.00000125
Gemini 1.5 Flash $0.000000075
Gemini 1.5 Flash 8B $0.0000000375
Gemma 2B n/a
Gemma 7B n/a
Gemma 2 2B n/a
Gemma 2 9B n/a
Gemma 2 27B n/a
CodeGemma 2B n/a
CodeGemma 7B n/a
ShieldGemma 2B n/a
ShieldGemma 9B n/a
ShieldGemma 27B n/a