Skip to content
APMIX.AI

Google · Model

Gemini 2.5 Flash Free API

Free

Gemini 2.5 Flash Free answers at api.apmix.ai under the id below — one key and one monthly plan, on the OpenAI and Anthropic wire formats your tools already speak. No separate Google account, no per-provider bill.

Model idgoogle/gemini-2.5-flash-free
Get an API key

At a glance

Provider
Google
Included in
Free tier only
Weighted-token cost
1× — a 1,000-token exchange costs 1K weighted tokens
Context window
Not published by the provider
Free tier
Yes — the 4M free tokens every new account gets can be spent here
See what each plan buys on Gemini 2.5 Flash Free

Call Gemini 2.5 Flash Free

Set the model to gemini-2.5-flash-free in any OpenAI- or Anthropic-compatible client. Both base URLs accept the same apmix key.

OpenAI-compatible · Chat Completions
curl https://api.apmix.ai/v1/chat/completions \
  -H "Authorization: Bearer apx_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gemini-2.5-flash-free", "messages": [{"role": "user", "content": "Hello"}]}'
Anthropic-compatible · Messages
curl https://api.apmix.ai/v1/messages \
  -H "x-api-key: apx_live_YOUR_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model": "gemini-2.5-flash-free", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello"}]}'
Setup guides for Claude Code, Codex CLI, Cursor and more

Questions about Gemini 2.5 Flash Free

Is Gemini 2.5 Flash Free free on apmix?
Yes. Every new account gets 4M free tokens that can be spent on Gemini 2.5 Flash Free (gemini-2.5-flash-free) and the other free models, with no daily limit and no expiry date. No card needed.
Which plan includes Gemini 2.5 Flash Free?
None — Gemini 2.5 Flash Free is on the free tier only. Every new account gets 4M free tokens to spend on it (and the other free models); it is not part of the paid plans.
How do I use Gemini 2.5 Flash Free in Claude Code, Codex CLI or Cursor?
Point the tool at apmix — https://api.apmix.ai/v1 for OpenAI-compatible clients, https://api.apmix.ai for Anthropic-compatible ones — with your apmix key, and set the model to gemini-2.5-flash-free. The Docs page has copy-paste setup for each tool.