Model Library Gemma4 31B
Gemma4 31B
Active
Provider: Google

Gemma4 31B

model="gemma-4-31B-it"

Gemma 4 31B is Google DeepMind's latest open-source model, built on a 31B dense architecture from the same research foundation as Gemini 3. Purpose-built for advanced reasoning and agentic workflows, it ranks #3 among all open models on the Arena AI leaderboard — outperforming models up to 20x its size — with native function-calling, 256K context, and full Apache 2.0 licensing.

Model Capabilities

Accepts (Input)

Text Generation

Generates (Output)

Text Responses

Quick Integration

Python (OpenAI SDK)
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://helyxai.space/v1/chat/completions",
    api_key=os.environ.get("HELYX_API_KEY")
)

response = client.chat.completions.create(
    model="gemma-4-31B-it",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "How do I use this model?"}
    ],
    max_tokens=8192
)

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

Architecture

Context Window

262,000 tokens

Max Input

262,000

Max Output

8,192

Usage Allowances

Free Plan (Default)

500,000 tokens / day

Automatically resets every 24 hours.

Developer Plan

100,000,000 tokens / day

Market Pricing Equivalency

Input (per 1M) $0.1200
Output (per 1M) $0.3500
Your Cost: $0.00 (Via Free Quota)