Gemma 4 31B It (free)
Google logo

Gemma 4 31B It (free)

gemma-4-31b-it-free
Google
Gemma 4 31B Instruct is a 30.7B dense multimodal model developed by Google DeepMind that supports both text and image inputs with text outputs. It features an expansive 256K token context window alongside a configurable thinking and reasoning mode. The model also includes native function support to streamline complex tasks.

Pricing

  • Input Tokens: $0.000 /M tokens
  • Output Tokens: $0.000 /M tokens
  • Cache Read: $0.000 /M tokens

Input Modalities

  • Text
  • Vision

Output Modalities

  • Text

Capabilities

  • Long context

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="gemma-4-31b-it-free",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is Gemma 4 31B It (free)?

Gemma 4 31B Instruct is a 30.7B dense multimodal model developed by Google DeepMind that supports both text and image inputs with text outputs. It features an expansive 256K token context window alongside a configurable thinking and reasoning mode. The model also includes native function support to streamline complex tasks.