Gemini 3.1 Pro Preview
Coming soonA Gemini Pro model for complex reasoning, code understanding and long-document analysis.
google/gemini-3.1-pro-previewLexelane service limits
- Input / 1M tokens
- $0.485293
- Output / 1M tokens
- $2.911755
- Service context
- 32.8K
- Input per request
- 16.4K
- Output per request
- 4.1K
- Protocols
- Pending activation
Published model references list a 1M token context. The service limits above apply on Lexelane and will be verified before activation.
Cache read: $0.04853 / 1M tokens
Compare market pricesRun the numbers.
Standard token estimate, before cache or any separately documented pricing tiers.
Suggested workflows
- Long-document analysis
- Coding
- Reasoning
Before you integrate
Model capabilities describe the developer’s model; Lexelane route availability and supported features are shown separately.
OpenRouter catalog date is the platform listing date, not necessarily the developer release date.
from openai import OpenAI
import os
client = OpenAI(
base_url="https://lexelane.com/v1",
api_key=os.environ["LEXELANE_API_KEY"],
)
response = client.chat.completions.create(
model="google/gemini-3.1-pro-preview",
messages=[{"role": "user", "content": "Hello, Lexelane."}],
max_tokens=256,
)
print(response.choices[0].message.content)Good questions. Clear answers.
How should I compare prices?+
Compare input and output rates for the same model version using your own token mix. Caching, context length, service tiers, and quantization can affect comparability. Comparison pages label the date, conditions, and public market sources.
Can I use OpenAI SDKs, Codex, and Claude Code?+
The gateway provides native API interfaces. OpenAI SDKs commonly use Chat Completions, Codex needs Responses, and Claude Code needs Messages. Choose an available model with the required protocol; support for one interface does not establish compatibility with every client.
How are API keys protected?+
Full secrets are shown once at creation; the server stores hashes. Create separate keys per application, set budgets and expiry dates, and revoke access when needed. Keep keys in server environment variables.