> ## Documentation Index
> Fetch the complete documentation index at: https://docs.venice.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Gemini 3.1 Pro Preview API

> Gemini 3.1 Pro Preview API on Venice: 1M context, $2.50 input and $15.00 output per 1M tokens. Anonymized access without your identity.

> [accordion] Plain-text specification
>
> ## Gemini 3.1 Pro Preview API
>
> Gemini 3.1 Pro Preview is a large language model by Google, available on the Venice API as `gemini-3-1-pro-preview`. Requests are anonymized, so the provider never sees your identity.
>
> Gemini 3.1 Pro is an evolution of Google's flagship frontier model with 1M context, advancing high-precision multimodal reasoning across text, image, and code.
>
> ### Gemini 3.1 Pro Preview API pricing
>
> | Model ID | Variant | Privacy | Price |
> | - | - | - | - |
> | `gemini-3-1-pro-preview` | Standard | Anonymized | $2.50 / $15.00 per 1M |
>
> ### Gemini 3.1 Pro Preview specifications
>
> | Spec | Value |
> | - | - |
> | Provider | Google |
> | Released | Feb 19, 2026 |
> | Privacy | Anonymized |
> | Status | Stable |
> | Context window | 1M tokens |
> | Max output | 32K tokens |
> | Reasoning effort | low, medium, high |
>
> ### How to use the Gemini 3.1 Pro Preview API
>
> Send requests to `POST https://api.venice.ai/api/v1/chat/completions` with `"model": "gemini-3-1-pro-preview"` and your API key.
>
> ```bash theme={"system"}
> curl https://api.venice.ai/api/v1/chat/completions \
>   -H "Authorization: Bearer $VENICE_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "model": "gemini-3-1-pro-preview",
>     "messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }],
>     "reasoning_effort": "low"
>   }'
> ```
>
> ### Related models
>
> * [GPT-5.4 API](https://docs.venice.ai/models/gpt-5-4.md): $2.50 / $15.00 per 1M
> * [Claude Sonnet 4.6 API](https://docs.venice.ai/models/claude-sonnet-4-6.md): $3.00 / $15.00 per 1M
> * [GPT-5.3 Codex API](https://docs.venice.ai/models/gpt-5-3-codex.md): $1.75 / $14.00 per 1M
> * [GPT-5.2 API](https://docs.venice.ai/models/gpt-5-2.md): $1.75 / $14.00 per 1M


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.