Overview
About this model
Gemma-4-31B-IT is a multimodal model that understands both images and text, served on EcoHash through an OpenAI-compatible API.
View model card on HuggingFaceSpecifications
Model details
- Provider
- Modality
- Vision
- Pricing
- $0.50 in · $0.50 out / 1M
API
Call it in code
One OpenAI-compatible API. Swap the model id and you're done.
from openai import OpenAI
client = OpenAI(
base_url="https://api.ecohash.com/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="gemma-4-31b-it",
messages=[{"role": "user", "content": [
{"type": "text", "text": "Describe this image"},
{"type": "image_url", "image_url": {"url": "..."}},
]}],
)More models
