# Gemini 3.8 Flash - API, Playground & Pricing

> Run Gemini 3.8 Flash by Google via API, Playground, or MCP from $0.75 per 1M input tokens - no provider API key needed. Google's current Flash model, its suggested start for everyday apps and agents.

Page: https://flymy.ai/models/gemini-3-8-flash/

Models / LLMs

Google Gemini 3.8 Flash is Google's current Flash model and its suggested start for everyday apps and agents, with image, audio, video and PDF input. Run it in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No Google API key: runs are billed to your FlyMy.AI balance.

[▶ Try in Playground](https://app.flymy.ai/models/flymyai/gemini-3_8-flash) [<> Get API](https://flymy.ai/models/gemini-3-8-flash/#api)

**Provider**

[Google](https://flymy.ai/models/provider/google/)

**Category**

[LLMs](https://flymy.ai/models/llms/) / Chat model

**Price**

$0.75 / $3.75 per 1M tokens

**Returns**

`output`, `finish_reason`, `stream_details`

**Commercial use**

Allowed

**Model ID**

`flymyai/gemini-3_8-flash`

![Gemini 3.8 Flash by Google: chat model sample, fast apps and agents](https://flymy.ai/img/models/gemini-3-8-flash.jpg)

Gemini 3.8 Flash sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use Gemini 3.8 Flash 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/models/gemini-3-8-flash.md. Help me connect the FlyMy.AI MCP to this assistant, then run Gemini 3.8 Flash (flymyai/gemini-3_8-flash) for this task: Ask Gemini 3.8 Flash: write unit tests for this Python module.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/models/gemini-3-8-flash.md)

## What Gemini 3.8 Flash does

It always thinks. Send a prompt, or a chat history in messages with images as image_url parts, and get a text answer from a 1M-token context. reasoning_effort is low, medium or high (medium by default) and max_tokens caps the answer at up to 65,536 tokens; system_prompt works as usual, and private_mode keeps the prompt and answer out of FlyMy.AI storage. Your FlyMy.AI key also works on the OpenAI-compatible Chat Completions endpoint and on Google's generateContent API at the model's FlyMy.AI address, so the official Google GenAI SDK runs once you change its base URL; that route also takes audio, video and PDF. Billing follows the tokens Google reports, at Google's own price. Tools Google runs itself, such as Search grounding, are not offered.

Guide: [LLM API: GPT, Claude and Gemini with One Key](https://flymy.ai/blog/llm-api-gpt-claude-gemini/)

## Gemini 3.8 Flash inputs

Every input of `flymyai/gemini-3_8-flash` as its live schema lists them. Returns `output` (string), `finish_reason` (string), `stream_details` (string).

| Input | Type, values and default |
|---|---|
| [#](https://flymy.ai/models/gemini-3-8-flash/#input-prompt) `prompt` | string required What to ask Gemini 3.8 Flash |
| [#](https://flymy.ai/models/gemini-3-8-flash/#input-messages) `messages` | string optional Chat history as a JSON array of {role, content}; used instead of the prompt |
| [#](https://flymy.ai/models/gemini-3-8-flash/#input-system_prompt) `system_prompt` | string optional Instructions for the whole chat |
| [#](https://flymy.ai/models/gemini-3-8-flash/#input-reasoning_effort) `reasoning_effort` | string optional Allowed: low, medium, high Default: `medium` How much effort Gemini 3.8 Flash puts into the answer, reasoning included |
| [#](https://flymy.ai/models/gemini-3-8-flash/#input-max_tokens) `max_tokens` | integer optional Allowed: 1 to 65536 Most tokens to generate, reasoning included |
| [#](https://flymy.ai/models/gemini-3-8-flash/#input-private_mode) `private_mode` | boolean optional Default: `false` Keep the prompt and the answer out of FlyMyAI storage and logs (synchronous requests only) |

## Ask your agent

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

**“Ask Gemini 3.8 Flash: write unit tests for this Python module.”** runs `flymyai/gemini-3_8-flash`

**“Compare these two product specs in a table with Gemini 3.8 Flash.”** runs `flymyai/gemini-3_8-flash`

**“With Gemini 3.8 Flash, rewrite this landing page paragraph to be shorter and clearer.”** runs `flymyai/gemini-3_8-flash`

## Gemini 3.8 Flash price

$0.75 per 1M input tokens, $3.75 per 1M output tokens, cached input $0.075 per 1M; from 2027-01-01 $1.50 / $7.50 per 1M. Cached input is $0.075 per 1M tokens. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

[Every model's price →](https://flymy.ai/models/pricing/) [Usage pricing →](https://flymy.ai/pricing/)

## Gemini 3.8 Flash vs similar models

Popular LLMs models beside it, with prices from billing and settings from each live schema.

| Model | Provider | Kind | Price | Default run | Input tokens | Output tokens |
|---|---|---|---|---|---|---|
| **Gemini 3.8 Flash** | Google | Chat model | $0.75 / $3.75 per 1M tokens | $0.75 / $3.75 per 1M tokens | $0.75 per 1M | $3.75 per 1M |
| [Kimi K3.1 Pro](https://flymy.ai/models/kimi-k3-1-pro/) | Moonshot AI | Chat model | $2.00 / $10.00 per 1M tokens | $2.00 / $10.00 per 1M tokens | $2.00 per 1M | $10.00 per 1M |
| [TypeSafe Jev 1.13](https://flymy.ai/models/typesafe-jev-1-13/) | FlyMy.AI | Typed decisions | $0.042 per 1M tokens | $0.042 / $0.00 per 1M tokens | $0.042 per 1M | $0.00 per 1M |
| [Gemini 3.1 Flash Lite](https://flymy.ai/models/google-gemini-31-flash-lite-preview/) | Google | Chat model | $0.25 / $1.50 per 1M tokens | $0.25 / $1.50 per 1M tokens | $0.25 per 1M | $1.50 per 1M |

## Gemini 3.8 Flash API

The same model from your own code or from an agent. Send your FlyMy.AI API key in the `X-API-KEY` header; [get a key](https://app.flymy.ai/developers) in your account.

### cURL

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/gemini-3_8-flash/predict/stream/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=Explain in two sentences what an MCP server is.'
```

### Python

The OpenAI SDK with only the base URL and the key changed.

```
# pip install openai
import os

from openai import OpenAI

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

### JavaScript / TypeScript

The OpenAI SDK with only the base URL and the key changed.

```
// npm install openai
import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.flymy.ai/api/v1/flymyai/gemini-3_8-flash/openai/v1", apiKey: process.env.FLYMYAI_API_KEY });
const reply = await client.chat.completions.create({
  model: "flymyai/gemini-3_8-flash",
  messages: [{ role: "user", content: "Explain in two sentences what an MCP server is." }],
});
console.log(reply.choices[0].message.content);
```

### MCP

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

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

## Questions about Gemini 3.8 Flash

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

No. Gemini 3.8 Flash 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.8 Flash cost?**

$0.75 per 1M input tokens, $3.75 per 1M output tokens, cached input $0.075 per 1M; from 2027-01-01 $1.50 / $7.50 per 1M. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.

**Can I try Gemini 3.8 Flash before I write code?**

Yes. Open Gemini 3.8 Flash in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/gemini-3_8-flash, fill in its inputs and run it; the same run is one API call later, billed the same way.

**How do I use Gemini 3.8 Flash 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.8 Flash: write unit tests for this Python module." Your agent reads the inputs with get_model_schema and runs flymyai/gemini-3_8-flash with run_model.

**What does Gemini 3.8 Flash need as input?**

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

**Can I call Gemini 3.8 Flash from my own code?**

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/gemini-3_8-flash/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/gemini-3_8-flash/openai/v1.

## More language models

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

### Gemini 3.1 Flash Lite

The cheapest Gemini text model for extraction, labels and short drafts at scale.

Chat model / $0.25 / $1.50 per 1M tokens

Link: https://flymy.ai/models/google-gemini-31-flash-lite-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/models/google-gemini-25-flash/

### 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/models/google-gemini-3-flash-preview/

### Gemini 4 Carbon

Google's strongest Gemini for complex code and analysis, with audio, video and PDF input.

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

Link: https://flymy.ai/models/gemini-4-carbon/

### 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/models/google-gemini-31-pro-preview/

### Gemini 4 Hydrogen

The Flash-class Gemini 4 for everyday apps and agents, with audio, video and PDF input.

Chat model / $1.50 / $7.50 per 1M tokens

Link: https://flymy.ai/models/gemini-4-hydrogen/

## Go to the source

[Gemini 3.8 Flash in the playground →](https://app.flymy.ai/models/flymyai/gemini-3_8-flash), [Gemini 3.8 Flash guide in the docs →](https://docs.flymy.ai/guides/use-llms), [LLMs models →](https://flymy.ai/models/llms/), [Google models →](https://flymy.ai/models/provider/google/), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Every model on FlyMy.AI →](https://flymy.ai/models/), [Model prices →](https://flymy.ai/models/pricing/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog)

From the FlyMy.AI model catalog of 2026-11-18: inputs from each 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.
