Skip to main content

Gemma 4 31b

Approved Data Classifications

Description

Gemma is a family of open models built by Google DeepMind. Gemma 4 models are multimodal, handling text and image input (with audio supported on small models) and generating text output. This release includes open-weights models in both pre-trained and instruction-tuned variants.

The above was sourced from the following model card on hugging face: https://huggingface.co/google/gemma-4-31B-it

Capabilities

ModelRelease DateInputOutputContext LengthCost (per 1 million tokens)
gemma-4-31b-itApril 2026Text, ImageText128,000$0.12/1M input
$0.36/1M output
info
  • 1M represents 1 Million Tokens
  • All prices listed are based on 1 Million Tokens

Availability

Cloud Provider

Usage

curl -X POST https://api.ai.it.ufl.edu/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <API_TOKEN>" \
-d '{
"model": "gemma-4-31b-it",
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Write a haiku about an Alligator."
}
]
}'

References

  1. Google
    https://ai.google/
  2. LLM Stats
    https://llm-stats.com
  3. Artificial Analysis
    https://artificialanalysis.ai
  4. Huggingface
    https://huggingface.co/