Google: Gemma 4 31B is a efficient model from Phala with a 262K context window. Priced at $0.000150/1K input, $0.000460/1K output.
Limited routing data available for Google: Gemma 4 31B. Intelligence insights will appear as more requests are routed through ANT.
from openai import OpenAI
client = OpenAI(
base_url="https://api.antbase.ai/v1",
api_key="YOUR_ANT_API_KEY",
)
response = client.chat.completions.create(
model="phala/google/gemma-4-31b-it",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)