Calculate the cost of using gemma-2-9b from Vercel Ai Gateway for your AI applications
Pricing data last updated:
Mode: Chat
Max: 8,192 tokens
Max: 8,192 tokens
Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.
gemma-2-9b is a chat model from Vercel Ai Gateway, one of 95 chat models they offer. It is priced at $0.20 per 1M input tokens and $0.20 per 1M output tokens, ranking 594 out of 2292 chat models by cost and cheaper than 69% of models in this category. gemma-2-9b supports vision, function calling. It accepts up to 8K input tokens.
Note: Use the interactive calculator above to estimate costs for your specific usage patterns.
Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 8,192 input tokens. The maximum output length is 8,192 tokens.
At $0.20 per 1M input tokens and $0.20 per 1M output tokens, gemma-2-9b ranks 594 out of 2292 chat models by input cost. It is more affordable compared to the median of $0.55 for chat models, and is cheaper than 69% of models in this category.
gemma-2-9b is one of 95 Vercel Ai Gateway chat models, with support for vision, function calling.
| Model | Provider | Input / 1M tokens | Output / 1M tokens | vs gemma-2-9b |
|---|---|---|---|---|
| anthropic.claude-3-haiku-20240307-v1:0 | AWS Bedrock | $0.25 | $1.25 | +25% |
| apac.anthropic.claude-3-haiku-20240307-v1:0 | AWS Bedrock | $0.25 | $1.25 | +25% |
| gpt-5.4-nano | Azure | $0.20 | $1.25 | 0% |
Similar chat models from other providers
Yes. gemma-2-9b costs $0.20 per 1M input tokens compared to anthropic.claude-3-haiku-20240307-v1:0's $0.25 per 1M input tokens, making it 25% more affordable. Both are chat models and share support for vision, function calling, structured output.
gemma-2-9b input pricing is $0.20 per 1M tokens, which is 64% below the median of $0.55 for chat models. It ranks 594 out of 2292 chat models by input cost, making it cheaper than 69% of models in this category. For output, it costs $0.20 per 1M tokens compared to the median of $1.50.
Among Vercel Ai Gateway's 95 chat models, gemma-2-9b ranks 27 by input cost.
The most comparable chat models to gemma-2-9b are: anthropic.claude-3-haiku-20240307-v1:0 from AWS Bedrock ($0.25/1M input tokens); apac.anthropic.claude-3-haiku-20240307-v1:0 from AWS Bedrock ($0.25/1M input tokens); gpt-5.4-nano from Azure ($0.20/1M input tokens); gpt-5.4-nano-2026-03-17 from Azure ($0.20/1M input tokens). These alternatives were selected based on similar capabilities, pricing, and provider diversity. You can compare any of these models in detail using the Bifrost Model Library.
gemma-2-9b is priced based on input and output tokens. Use the interactive calculator at the top of this page to estimate costs for your specific workload. Enter your expected input and output tokens volume and the calculator will show the total cost breakdown. For reference, processing 1M input tokens costs $0.20 and generating 1M output tokens costs $0.20.