Description
Gemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning, and chat capabilities, including structured outputs and function calling.
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: Google: Gemma 3 4B (google/gemma-3-4b-it)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "google/gemma-3-4b-it",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the Google: Gemma 3 4B model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'Supported Modalities
- Text
- Images
API Pricing
- Input: 0.017$ / 1M tokens
- Output: 0.068$ / 1M tokens
Token Limits
- Max Output: 96,000 tokens
- Max Context: 96,000 tokens
Subscription Tiers
- free
- pro
- ultimate