Google: Gemini 3.1 Pro Preview is a capable model from OpenRouter with a 1.0M context window, supporting vision understanding, function calling. Priced at $0.0020/1K input, $0.012/1K output.
Total Requests
2
Success Rate
100%
P50 Latency
3351ms
P95 Latency
3391ms
Selection Rate
0.0%
of eligible requests
Intelligence Score
58/100
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="google/gemini-3.1-pro-preview",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)