Description
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...
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: Google: Gemma 4 31B (google/gemma-4-31b-it)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "google/gemma-4-31b-it",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the Google: Gemma 4 31B model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'Supported Modalities
- Text
- Images
- Video
API Pricing
- Input: 0.14$ / 1M tokens
- Output: 0.4$ / 1M tokens
Token Limits
- Max Output: 131,072 tokens
- Max Context: 262,144 tokens
Subscription Tiers
- free
- pro
- ultimate