Gemini 3.1 Pro Preview

Gemini 3.1 Pro Preview by Google, available on Aether API through one OpenAI-compatible API key. Priced at $1.4/M input, $8.4/M output. 1M context window.

Pricing

ProviderGoogle
Model IDgemini-3.1-pro-preview
Endpointhttps://api.aetherapi.dev/v1/chat/completions
Context window1M
Cached input$0.14/1M tokens
Input$1.4/1M tokens
Output$8.4/1M tokens
Official provider price$2/1M input ยท $12/1M output

Supported endpoints

How to call Gemini 3.1 Pro Preview

Send a request to https://api.aetherapi.dev/v1/chat/completions with your Aether API key. The body is the OpenAI format, so the OpenAI SDK works after changing the base URL to https://api.aetherapi.dev/v1.

cURL

curl https://api.aetherapi.dev/v1/chat/completions \
  -H "Authorization: Bearer sk-aetherapi-..." \
  -H "Content-Type: application/json" \
  -d '{"model":"gemini-3.1-pro-preview","messages":[{"role":"user","content":"Hello"}]}'

Python

from openai import OpenAI

client = OpenAI(api_key="sk-aetherapi-...", base_url="https://api.aetherapi.dev/v1")

reply = client.chat.completions.create(
    model="gemini-3.1-pro-preview",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)

Node.js

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "sk-aetherapi-...",
  baseURL: "https://api.aetherapi.dev/v1",
});

const reply = await client.chat.completions.create({
  model: "gemini-3.1-pro-preview",
  messages: [{ role: "user", content: "Hello" }],
});

Why run Gemini 3.1 Pro Preview on Aether API

Frequently asked questions

How much does Gemini 3.1 Pro Preview cost on Aether API?

$1.4/M input | $8.4/M output. The provider's own list price is $2/M input | $12/M output, so the same request costs 30% less on Aether API.

What is the context window of Gemini 3.1 Pro Preview?

Gemini 3.1 Pro Preview accepts 1M tokens of context per request on Aether API, the same limit the provider applies on its own API.

How do I call Gemini 3.1 Pro Preview?

Send a POST request to https://api.aetherapi.dev/v1/chat/completions with your Aether API key as a Bearer token. The request body is the OpenAI format, so the OpenAI SDK works after changing the base URL to https://api.aetherapi.dev/v1.

Is Gemini 3.1 Pro Preview available on Aether API?

Yes. Gemini 3.1 Pro Preview runs on Google infrastructure and is reachable with the same key as every other model, with per-token billing, per-key spend limits, and no minimum commitment.

Related

Compare this model with other Google models: Gemma 4 26b A4b It Free, Gemma 4 31b It Free, Gemini 2.5 Flash Lite, Gemma 4 26b A4b It.

Compare this model against every other model on the models page, or see Aether API pricing and the chat completions reference.