Gemma 4 31B
Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output.
google/gemma-4-31b-itOpens in the ewpire workspace. Creating an account is free; runs are paid from your credits.
Gemma 4 31B in plain words
Gemma 4 31B is a text model from Google. It takes images, text, and video as input and returns text. Its context window is 262,144 tokens. It costs 0.248236 credits per 1M input tokens and 0.496471 credits per 1M output tokens.
It is good at reasoning through multi-step problems and calling tools. It reads images as well as text. A context window of 262,144 tokens holds about 1,000,000 characters of English text, at 4 characters a token.
For example, a question of 2,000 tokens (about 8,000 characters) with an answer of 1,000 tokens (about 4,000 characters) costs 0.000993 credits. The exact charge follows the usage the model reports for your request.
Details
- Made by
- Good at
- ReasoningVisionTool use
- Reads
- Images, Text, Video
- Produces
- Text
- Context window
- 262,144 tokens
Price
- Input, per 1M tokens
- 0.248236 credits
- Output, per 1M tokens
- 0.496471 credits
Charged per request from your credit balance. No subscription. See pricing
In the API – coming soon
API keys are not open yet. The docs show how to call this model with the OpenAI SDK or plain HTTP once they are. Read the docs
curl https://ewpire.com/api/v1/chat/completions \
-H "Authorization: Bearer $EWPIRE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"google/gemma-4-31b-it","messages":[{"role":"user","content":"Hello!"}]}'The docs show how to list the models the API serves, with their capabilities and prices, once API keys are open. Models in the docs
Similar models
- GoogleGemini 4 Argon1.94 in · 9.7 out credits / 1M tokens
- GoogleGemini 3.8 Flash0.8003 in · 4.0013 out credits / 1M tokens
- GoogleGemini 3.6 Flash0.7275 in · 3.6375 out credits / 1M tokens
- Z.aiGLM 5 Turbo1.4894 in · 4.9647 out credits / 1M tokens
- DeepSeekDeepSeek V4 Flash Vision Exp0.2676 in · 0.8028 out credits / 1M tokens
- Z.aiGLM 5.3 Flash0.0388 in · 0.105 out credits / 1M tokens