MCP / Models / Language models

Gemini 2.5 Flash MCP: fast text answers with no API key

Google Gemini 2.5 Flash is a fast general text model that thinks before it answers, with image input, JSON output and streamed replies. Run it from Claude Code, Codex, Cursor or any MCP client through one FlyMy.AI MCP, or call its API.

No API key$0.30 / $2.50 per 1M tokensChat modelGoogleCommercial use
Gemini 2.5 Flash sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use Gemini 2.5 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/mcp/models/google-gemini-25-flash.md. Help me connect the FlyMy.AI MCP to this assistant, then run Gemini 2.5 Flash (flymyai/google-gemini-25-flash) for this task: Ask Gemini 2.5 Flash: write unit tests for this Python module.
Open FlyMy.AIDownload brief

What Gemini 2.5 Flash does

Send a prompt, or a chat history in messages with images as image_url parts. reasoning_effort (none, minimal, low, medium or high) trades thinking for speed and price. Through the OpenAI-compatible endpoint, response_format returns JSON; temperature and max_tokens are ignored and tools are refused. It answers in text only.

Gemini 2.5 Flash inputs

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

InputType, values and default
# prompt
string required
# messages
string optional
# reasoning_effort
string optional

Ask your agent

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

“Ask Gemini 2.5 Flash: write unit tests for this Python module.”runs flymyai/google-gemini-25-flash
“Compare these two product specs in a table with Gemini 2.5 Flash.”runs flymyai/google-gemini-25-flash
“With Gemini 2.5 Flash, rewrite this landing page paragraph to be shorter and clearer.”runs flymyai/google-gemini-25-flash

Gemini 2.5 Flash price

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

Call Gemini 2.5 Flash 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-25-flash",
  "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-25-flash/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 2.5 Flash also answers the OpenAI Chat Completions protocol.

from openai import OpenAI

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

Questions about Gemini 2.5 Flash

Do I need a Google API key for Gemini 2.5 Flash?

No. Gemini 2.5 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 2.5 Flash cost?

$0.30 per 1M input tokens, $2.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 2.5 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 2.5 Flash: write unit tests for this Python module." Your agent reads the inputs with get_model_schema and runs flymyai/google-gemini-25-flash with run_model.

What does Gemini 2.5 Flash need as input?

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

Can I call Gemini 2.5 Flash from my own code?

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

Go to the source

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.