PL Log inCreate account
Launching in October 2026. Accounts, model catalog, calculator and docs are live. Studio is available in preview; generation is awaiting activation.

Chat & code Google

Gemini 3.1 Pro Preview API

Google's Pro-tier Gemini 3 preview for complex reasoning and precise tool use

Input$2.16per 1M tokens
Output$12.96per 1M tokens

1,000 chatbot replies$8.421,500 input + 400 output tokens each

Cache reads on this model are billed at the input rate. Failed requests cost nothing.

Compare with other chat models →

Gemini 3.1 Pro Preview is the Pro-tier model of Google's Gemini 3 series, announced in February 2026 as a refinement of Gemini 3 Pro. Google describes it as built for tasks where a simple answer is not enough: complex problem solving, synthesis of large amounts of data, software engineering and agentic workflows that need precise tool use and reliable multi-step execution. Google lists a context window of up to 1M tokens. As the name says, it is still a preview release, not a stable one.

Best for

  • Multi-step reasoning and data synthesis
  • Agents that must call your custom tools reliably
  • Interactive dashboards and code with visual output
  • Comparing Pro-tier Gemini results against newer Flash models

How to call it

Point the OpenAI SDK at Jantaris and use the preview id:

python
from openai import OpenAI

client = OpenAI(base_url="https://jantaris.com/v1", api_key="sk-jt-...")
resp = client.chat.completions.create(
    model="gemini-3.1-pro-preview",
    messages=[{"role": "user", "content": "Explain the trade-offs of these three database schemas."}],
)
print(resp.choices[0].message.content)

FAQ

What is the Gemini 3.1 Pro Preview price?

Jantaris charges $2.16 / $12.96 per 1M tokens. As with every model, the rate is shown before you send a request and deducted from your prepaid balance.

Is it safe to build production features on a preview model?

Be careful. Google says preview models can have tighter rate limits and may be deprecated with at least two weeks' notice. Keep the model id in a config value so you can switch quickly, and have a fallback such as gemini-3.8-flash tested in advance.

Should I choose Gemini 3.1 Pro Preview or Gemini 3.8 Flash?

For new projects Google now points developers to its latest models, including 3.8 Flash. Pick 3.1 Pro Preview if your own tests show it handles your hardest reasoning prompts better, and measure both on the same inputs in Jantaris before deciding.

How to call Gemini 3.1 Pro Preview via API

from openai import OpenAI

client = OpenAI(base_url="https://jantaris.com/v1", api_key="sk-jt-...")
resp = client.chat.completions.create(
    model="gemini-3.1-pro-preview",
    messages=[{"role": "user", "content": "Write a haiku about Baltic amber."}],
)
print(resp.choices[0].message.content)