Door background frame
Gemma 4 31B IT
Limited Trial
Gemma 4-31B IT visualization

Gemma 4 31B IT

Limited Trial
Dense 31B instruction-tuned multimodal model; supports text and image input with 256K context and native function calling.

Google API Usage

POST /v1/chat/completions
import requests
import json

url = "https://api.akashml.com/v1/chat/completions"

payload = {
    "model": "google/gemma-4-31B-it",
    "messages": [
        {
            "role": "user",
            "content": "Hello, how are you?"
        }
    ],
    "max_tokens": 150,
    "temperature": 0.7
}

headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer YOUR_API_KEY"
}

response = requests.post(url, json=payload, headers=headers)
print(response.json())

Pricing

Price (per 1M Tokens)
Model
Input
Output
Gemma 4 31B IT
$0.14
$0.40

Model Details

Model Details
Provider
Google
Type
Multimodal
Parameters
31B
Context Length
256K
Don't see the model you need?
Let us know, and we'll add it for you.
Request Model
AkashML
X (Twitter)Discord
AI Inference Service
Akash Network
Built on Akash Network
Copyright 2026 © akashml.com