Google: Gemini 3.1 Pro
google/gemini-3.1-pro
Routed through the enroute gateway at the upstream list price. Last Labs does not add a markup.
Input / 1M
$2.00 / 1M
Output / 1M
$12.00 / 1M
Context
1.0M
Status
Available
Providers
Default is the first live US host. Pin a lab host with provider.only.
| Host | Region | Input / 1M | Output / 1M | Route |
|---|---|---|---|---|
| us | $2.00 / 1M | $12.00 / 1M | Default |
Modalities
text+image->text
- Input
- text · image
- Output
- text
Parameters
- temperature
- top_p
- max_tokens
- tools
- stop
Use this model
from enroute import Enroute, Message
client = Enroute(
api_key="enroute_...", # ENROUTE_API_KEY
base_url="http://enroute.localhost:3000/v1",
)
response = client.chat(
model="google/gemini-3.1-pro",
messages=[Message(role="user", content="Hello from Last Labs")],
)
print(response.text)