---
title: "Gemini 3.1 Flash Lite API pricing"
canonical: https://uplinkswitch.ai/models/gemini-3.1-flash-lite
generated: 2026-10-25T13:57:24.607Z
source: https://api.uplinkswitch.com/v1/catalog
base_url: https://api.uplinkswitch.com/v1
---

# Gemini 3.1 Flash Lite API pricing

Gemini 3.1 Flash Lite API at $0.15/M input and $0.90/M output tokens, 40% under Google's list price. Works with the OpenAI SDK.

## Price per million tokens (USD)

| Tokens | Google list price | UplinkSwitch | Under list |
| --- | --- | --- | --- |
| Input | $0.25 | $0.15 | 40% |
| Cached input | — | $0.15 | — |
| Output | $1.50 | $0.90 | 40% |

## Gemini 3.1 Flash Lite vs Gemini 2.5 Flash Lite price (USD per million tokens)

| Tokens | Gemini 2.5 Flash Lite | Gemini 3.1 Flash Lite | List change |
| --- | --- | --- | --- |
| Input | $0.075 (list $0.10) | $0.15 (list $0.25) | +150% |
| Cached input | $0.06 | $0.15 | — |
| Output | $0.30 (list $0.40) | $0.90 (list $1.50) | +275% |

## Model

- Model id: `gemini-3.1-flash-lite`
- Formats: OpenAI SDK
- Base URL: https://api.uplinkswitch.com/v1
- Daily real-model check: Steady since Oct 23 (https://uplinkswitch.ai/proof#gemini-3.1-flash-lite)

## Gemini 3.1 Flash Lite API key

1. Create a key in the console at uplinkswitch.ai/console. Credit is prepaid from $10 with no subscription, and the key works at once.
2. Point your SDK or tool at https://api.uplinkswitch.com/v1, for example with OPENAI_BASE_URL, and send the key as the bearer token.
3. Send gemini-3.1-flash-lite as the model. The same key calls every other model in the catalog.

## Request

### Python · OpenAI SDK

```python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.uplinkswitch.com/v1",
    api_key="sk-uplink-live-...",
)

completion = client.chat.completions.create(
    model="gemini-3.1-flash-lite",
    messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)
```

### TypeScript · OpenAI SDK

```typescript
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.uplinkswitch.com/v1',
  apiKey: 'sk-uplink-live-...',
});

const completion = await client.chat.completions.create({
  model: 'gemini-3.1-flash-lite',
  messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);
```

### curl

```bash
curl https://api.uplinkswitch.com/v1/chat/completions \
  -H "authorization: Bearer sk-uplink-live-..." \
  -H "content-type: application/json" \
  -d '{"model":"gemini-3.1-flash-lite","messages":[{"role":"user","content":"Hello"}]}'
```

## Questions

### What is Gemini 3.1 Flash Lite?

Gemini 3.1 Flash Lite is a model from Google. Through UplinkSwitch it answers the OpenAI SDK on one key as gemini-3.1-flash-lite.

### How much does the Gemini 3.1 Flash Lite API cost?

$0.15 per million input tokens and $0.90 per million output tokens, with cached input at $0.15. Google's list price is $0.25 and $1.50, so this is 40% under Google's list price.

### Is Gemini 3.1 Flash Lite free?

It is pay as you go: prepaid credit from $10, with no subscription or monthly fee, billed per token. A 1,000-token prompt with a 500-token reply costs about $0.0006.

### What is the Gemini 3.1 Flash Lite model id?

gemini-3.1-flash-lite. Send it as the model through the OpenAI SDK with base URL https://api.uplinkswitch.com/v1.

### How do I get a Gemini 3.1 Flash Lite API key?

Create one in the console at uplinkswitch.ai/console: prepaid credit from $10, no subscription, and the key is live at once. The same key calls Gemini 3.1 Flash Lite and every other model in the catalog; send it as the bearer token with base URL https://api.uplinkswitch.com/v1.

### Is it the real Gemini 3.1 Flash Lite?

Every day each model gets the same test prompt, and the results are public on /proof. Gemini 3.1 Flash Lite's latest result: Steady since Oct 23.

### How does Gemini 3.1 Flash Lite pricing compare with Gemini 2.5 Flash Lite?

Per million tokens here, Gemini 3.1 Flash Lite is $0.15 input and $0.90 output; Gemini 2.5 Flash Lite is $0.075 and $0.30. Google's list price went from $0.10 and $0.40 on Gemini 2.5 Flash Lite to $0.25 and $1.50 on Gemini 3.1 Flash Lite. One key calls both, so switching is a change of model id.

## Related

- Gemini API pricing: https://uplinkswitch.ai/pricing/gemini
- Cursor setup: https://uplinkswitch.ai/guides/cursor
- Cline setup: https://uplinkswitch.ai/guides/cline
- Roo Code setup: https://uplinkswitch.ai/guides/roo-code
- Kilo Code setup: https://uplinkswitch.ai/guides/kilo-code
- SDKs setup: https://uplinkswitch.ai/guides/sdks
- Every model and price: https://uplinkswitch.ai/llms-full.txt
- Machine catalog: https://uplinkswitch.ai/ai-catalog.json
