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

# Gemini 3.1 Pro Preview

> Multimodal reasoning over text, audio, video

<CardGroup cols={1}>
  <Card title="Try Gemini 3.1 Pro Preview in the Workbench" icon="flask" href="https://www.oxen.ai/ai/workbench?model=gemini-3-1-pro-preview">
    Run this model interactively, tune parameters, and compare outputs.
  </Card>
</CardGroup>

**Model ID:** `gemini-3-1-pro-preview`

Gemini 3.1 Pro Preview is Google's flagship multimodal reasoning model in the Gemini 3 series. It is built for complex, multi-step tasks where stronger planning, deeper synthesis, and reliable tool use are required.

Some other noteworthy features of Gemini 3.1 Pro Preview include improved token efficiency, structured outputs, function calling, code execution, search grounding, and support for multimodal inputs (text, image, video, audio, and PDF).

| Metric             | Value            |
| ------------------ | ---------------- |
| Parameter Count    | Unknown          |
| Mixture of Experts | Unknown          |
| Context Length     | 1,048,576 tokens |
| Multilingual       | Yes              |
| Quantized\*        | Unknown          |

\**Quantization is specific to the inference provider and the model may be offered with different quantization levels by other providers.*

## Example request

<Tip>
  Use the [Workbench](https://www.oxen.ai/ai/workbench?model=gemini-3-1-pro-preview) as a request builder: configure parameters for this model in the UI, then open the **API** tab to copy the exact cURL or Python call.
</Tip>

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST https://hub.oxen.ai/api/ai/audio/transcriptions \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $OXEN_API_KEY" \
    -d '{
    "model": "gemini-3-1-pro-preview",
    "audio_url": "https://example.com/audio.mp3"
  }'
  ```

  ```python Python theme={null}
  import os
  import requests

  response = requests.post(
      "https://hub.oxen.ai/api/ai/audio/transcriptions",
      headers={
          "Content-Type": "application/json",
          "Authorization": f"Bearer {os.environ['OXEN_API_KEY']}",
      },
      json={
          "model": "gemini-3-1-pro-preview",
          "audio_url": "https://example.com/audio.mp3"
      },
  )
  response.raise_for_status()
  print(response.json())
  ```
</CodeGroup>

## Fetch model details

The [models endpoint](/inference-api/reference/models/overview) returns the full model object, including its `json_request_schema`.

```bash theme={null}
curl -H "Authorization: Bearer $OXEN_API_KEY" https://hub.oxen.ai/api/ai/models/gemini-3-1-pro-preview
```

## Request parameters

This model follows the standard OpenAI chat completions request body. See the [chat completions reference](../inference-api.mdx) for the full parameter list.
