# Gemini 3.1 Flash Lite MCP and API - Chat model by Google | FlyMy.AI

> Google Gemini 3.1 Flash Lite is the lowest-priced Gemini text model here, for classification, extraction, short answers and drafts in volume.

Page: https://flymy.ai/mcp/models/google-gemini-31-flash-lite-preview/

MCP / Models / Language models

# Gemini 3.1 Flash Lite MCP: high-volume text with no API key

Google Gemini 3.1 Flash Lite is the lowest-priced Gemini text model here, for classification, extraction, short answers and drafts in volume. Run it from Claude Code, Codex, Cursor or any MCP client through one FlyMy.AI MCP, or call its API.

[Use Gemini 3.1 Flash Lite](https://flymy.ai/mcp/models/google-gemini-31-flash-lite-preview/#start) [Inputs and price](https://flymy.ai/mcp/models/google-gemini-31-flash-lite-preview/#inputs)

No API key, $0.25 / $1.50 per 1M tokens, Chat model, Google, Commercial use

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use Gemini 3.1 Flash Lite in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

```
Read https://flymy.ai/skill.md and https://flymy.ai/mcp/models/google-gemini-31-flash-lite-preview.md. Help me connect the FlyMy.AI MCP to this assistant, then run Gemini 3.1 Flash Lite (flymyai/google-gemini-31-flash-lite-preview) for this task: Ask Gemini 3.1 Flash Lite: plan the steps to migrate this API to a new version.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/mcp/models/google-gemini-31-flash-lite-preview.md)

## What Gemini 3.1 Flash Lite does

Send a prompt or messages with images as image_url parts; reasoning_effort (none to high) trades thinking for speed and price. The OpenAI-compatible endpoint returns JSON with response_format; temperature and max_tokens are ignored and tools are refused.

## Gemini 3.1 Flash Lite inputs

Every input of `flymyai/google-gemini-31-flash-lite-preview` as its live schema lists them. Returns `output` (string).

| Input | Type, values and default |
|---|---|
| [#](https://flymy.ai/mcp/models/google-gemini-31-flash-lite-preview/#input-prompt) `prompt` | string required |
| [#](https://flymy.ai/mcp/models/google-gemini-31-flash-lite-preview/#input-messages) `messages` | string optional |
| [#](https://flymy.ai/mcp/models/google-gemini-31-flash-lite-preview/#input-reasoning_effort) `reasoning_effort` | string optional |

## Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

**“Ask Gemini 3.1 Flash Lite: plan the steps to migrate this API to a new version.”** runs `flymyai/google-gemini-31-flash-lite-preview`

**“Explain this stack trace and suggest a fix with Gemini 3.1 Flash Lite.”** runs `flymyai/google-gemini-31-flash-lite-preview`

**“With Gemini 3.1 Flash Lite, turn these meeting notes into a list of action items with owners.”** runs `flymyai/google-gemini-31-flash-lite-preview`

## Gemini 3.1 Flash Lite price

$0.25 per 1M input tokens, $1.50 per 1M output tokens. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

[See usage pricing →](https://flymy.ai/pricing/)

## Call Gemini 3.1 Flash Lite from code

The same model, from an agent or from your own code. Keys stay in your FlyMy.AI account.

### From an agent, through the MCP

The agent calls `get_model_schema`, then `run_model` with:

```
{
  "endpoint_id": "flymyai/google-gemini-31-flash-lite-preview",
  "input": {
    "prompt": "Explain in two sentences what an MCP server is."
  }
}
```

### From your code, over HTTP

Form fields, not JSON; files go as uploads or public URLs. Text models answer on the streaming route.

```
curl -X POST https://api.flymy.ai/api/v1/flymyai/google-gemini-31-flash-lite-preview/predict/stream/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=Explain in two sentences what an MCP server is.'
```

### With the OpenAI SDK

Gemini 3.1 Flash Lite also answers the OpenAI Chat Completions protocol.

```
from openai import OpenAI

client = OpenAI(base_url="https://api.flymy.ai/api/v1/flymyai/google-gemini-31-flash-lite-preview/openai/v1", api_key="YOUR_FLYMYAI_KEY")
reply = client.chat.completions.create(
    model="flymyai/google-gemini-31-flash-lite-preview",
    messages=[{"role": "user", "content": "Explain in two sentences what an MCP server is."}],
)
print(reply.choices[0].message.content)
```

## Questions about Gemini 3.1 Flash Lite

**Do I need a Google API key for Gemini 3.1 Flash Lite?**

No. Gemini 3.1 Flash Lite runs on FlyMy.AI's account, so you need no Google key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

**How much does Gemini 3.1 Flash Lite cost?**

$0.25 per 1M input tokens, $1.50 per 1M output tokens. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-09.

**How do I use Gemini 3.1 Flash Lite in Claude Code, Codex or Cursor?**

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Ask Gemini 3.1 Flash Lite: plan the steps to migrate this API to a new version." Your agent reads the inputs with get_model_schema and runs flymyai/google-gemini-31-flash-lite-preview with run_model.

**What does Gemini 3.1 Flash Lite need as input?**

Gemini 3.1 Flash Lite requires prompt; it also takes 2 optional inputs, each listed on this page with its allowed values and default.

**Can I call Gemini 3.1 Flash Lite from my own code?**

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/google-gemini-31-flash-lite-preview/predict/stream/ with your FlyMy.AI API key in the X-API-KEY header; it also answers the OpenAI Chat Completions protocol at https://api.flymy.ai/api/v1/flymyai/google-gemini-31-flash-lite-preview/openai/v1.

## More language models models

Chat and reasoning models for code, documents and agents, plus typed decisions for routing and triage.

### Gemini 3 Flash

The Gemini 3 generation at Flash speed, with thinking you can turn down.

Chat model / $0.50 / $3.00 per 1M tokens

Link: https://flymy.ai/mcp/models/google-gemini-3-flash-preview/

### Gemini 3.1 Pro

Gemini 3.1 Pro for the hard problems: long documents, code and careful reasoning.

Chat model / $2.00 / $12.00 per 1M tokens

Link: https://flymy.ai/mcp/models/google-gemini-31-pro-preview/

### Gemini 2.5 Flash

Google's fast general model: thinking on demand, JSON output, image input.

Chat model / $0.30 / $2.50 per 1M tokens

Link: https://flymy.ai/mcp/models/google-gemini-25-flash/

### Kimi K3.1 Pro

Moonshot's flagship for agentic coding: tool calls, images and a 1M-token context.

Chat model / $2.00 / $10.00 per 1M tokens

Link: https://flymy.ai/mcp/models/kimi-k3-1-pro/

### DeepSeek V4.1 Flash

DeepSeek's quick reasoning model with tool calls, images and a priority tier.

Chat model / $0.30 / $1.20 per 1M tokens

Link: https://flymy.ai/mcp/models/deepseek-v4-1-flash/

### Grok 4.7

xAI's reasoning model with a 500K-token window for codebases and long contracts.

Chat model / $2.00 / $6.00 per 1M tokens

Link: https://flymy.ai/mcp/models/grok-4-7/

## Go to the source

[Gemini 3.1 Flash Lite in the playground →](https://app.flymy.ai/models/flymyai/google-gemini-31-flash-lite-preview), [Gemini 3.1 Flash Lite guide in the docs →](https://docs.flymy.ai/guides/use-llms), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Every model on FlyMy.AI →](https://flymy.ai/mcp/models/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog), [Usage pricing →](https://flymy.ai/pricing/)

From the FlyMy.AI model catalog of 2026-11-09: inputs from the model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
