Gemma 4 31B
Google
gemma-4-31bGoogle's newest open model. Multimodal.
Best for: Multimodal, vision, general
At a glance
Context window
128K
Input
$0.19/1M
$0.02/1M cached
Output
$0.54/1M
Speed
medium
Quality tier
strong
Per 1M tokens. All-in pricing, no hidden fees.
Capabilities
Tool calling
Connect to external tools and APIs
Vision
Process and understand images
Prompt caching
Cache repeated prefixes for 90% discount
Streaming
Real-time token-by-token output
Structured outputs
JSON mode and function calling
Quick start
Get API Keycurl https://kymaapi.com/v1/chat/completions \
-H "Authorization: Bearer $KYMA_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemma-4-31b",
"messages": [{"role": "user", "content": "Hello"}]
}'Details
CreatorGoogle
Model IDgemma-4-31b
Quality tierstrong
Cost tiercheap
Input modalityText, Image
Output modalityText
Prompt cachingSupported
Try Gemma 4 31B now
$0.50 free credits on signup. No credit card required.