---
title: "Gemini 3.1 Pro API: pricing and setup — AI Creator API"
description: "Gemini 3.1 Pro API for Cline, OpenCode and Aider: $0.208 per 1M input and $1.246 per 1M output tokens, pay as you go."
url: https://llm.aicreator.app/en/models/gemini-3.1-pro/
lang: en
updated: 2026-11-11
---

# Gemini 3.1 Pro API

Gemini 3.1 Pro by Google on one AI Creator API key, in Cline, OpenCode and Aider. You pay for the actual tokens; the balance is in dollars, topped up by card or crypto.

## Price per 1M tokens

Prices as of November 11, 2026

| Tokens                 | AI Creator API |
| ---------------------- | -------------- |
| Input                  | $0.208         |
| Cache read             | $0.021         |
| Cache write, 5 minutes | —              |
| Cache write, 1 hour    | —              |
| Output                 | $1.246         |

- A dash means the model has no such price. Cache reads and writes are counted apart from input: a token lands in one counter only.
- Every model and its prices are on the [pricing page](https://llm.aicreator.app/en/pricing/).

## Specs

| Property               | Value                   |
| ---------------------- | ----------------------- |
| Id for the model field | `gemini-3.1-pro`        |
| Vendor                 | Google                  |
| Protocols              | OpenAI Chat Completions |
| Context                | 1M tokens               |
| Max output             | 65.5K tokens            |

## How to connect

You need an `sk-aic-…` key: the dashboard issues it after you sign in. Then set up your tool.

### Cline, OpenCode, Aider and the OpenAI SDK

The OpenAI Chat Completions protocol, model id `gemini-3.1-pro`. Tool setup: [Cline](https://llm.aicreator.app/en/docs/cline/), [OpenCode](https://llm.aicreator.app/en/docs/opencode/), [Aider](https://llm.aicreator.app/en/docs/aider/). Check the key with a request:

```bash
curl https://api.aicreator.app/v1/chat/completions \
  -H "Authorization: Bearer $AIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gemini-3.1-pro", "messages": [{"role": "user", "content": "Hello"}]}'
```

## Other Google models

- [Gemini 4 Argon](https://llm.aicreator.app/en/models/gemini-4-argon/) input $0.643 / output $2.546
- [Gemini 3.8 Flash](https://llm.aicreator.app/en/models/gemini-3.8-flash/) input $0.096 / output $0.476
