Skip to content
Google
google/gemma-4-31b-it

About this model

Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function...

Make a request

OpenAI-compatible: set the base URL and your Promptix API key, keep your existing SDK.

curl https://promptix.tn/api/v1/chat/completions \  -H "Authorization: Bearer $PROMPTIX_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "google/gemma-4-31b-it",    "messages": [      {"role": "user", "content": "Hello! What can you do?"}    ]  }'

Pricing

In TND per 1M tokens. VAT and the platform fee are added at top-up.

Input tokens

0.348 TND

per 1M tokens

Output tokens

1.316 TND

per 1M tokens

1,000 requests with 1K input and 500 output tokens cost about 1.006 TND.

Specifications

Provider
Google
Context window
262,144 tokens
Input modality
Text, Image
Added
Apr 2, 2026
Supported parameters
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoning