AI API PricesGoogle › Gemini 1.5 Flash-8B

Gemini 1.5 Flash-8B pricing

Gemini 1.5 Flash-8B API cost from Google — $0.037 per 1M input tokens and $0.150 per 1M output tokens. Cheapest capable model. Estimate your real monthly bill below, then compare it against every other model.

Input price
$0.037
per 1M input tokens
Output price
$0.150
per 1M output tokens
Context window
1M
tokens per request
Reference call
$0.0002
1K in + 1K out

Fast / cheap 1M context · all prices USD per 1M tokens, list price last verified 2026-06-27.

Gemini 1.5 Flash-8B capabilities & limits

Representative specs for this tier — confirm exact limits in the Google docs.

Context window1M
Max output16K
Knowledge cutoffAug 2025
API formatOpenAI-compatible
✓ Vision✓ Tools / functions✓ JSON / structured✓ Batch API

API acting up? Check live Google status → · all AI API status

Call Gemini 1.5 Flash-8B from your code

The exact model string and endpoint to use. Works with the OpenAI SDK — just point base_url at the URL below.

Model stringgemini-1.5-flash-8b
Base URLhttps://generativelanguage.googleapis.com/v1beta
API key envGEMINI_API_KEY
curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-8b:generateContent" \
  -H "x-goog-api-key: $GEMINI_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "contents": [{"parts": [{"text": "Hello"}]}]
  }'

Model strings follow each provider's naming convention; confirm the current id in the Google docs before relying on it.

What a Gemini 1.5 Flash-8B API call actually costs

Blended input + output cost at Gemini 1.5 Flash-8B's list rates — useful yardsticks before you commit to volume.

$0.0002
Short call
1K in · 1K out
$0.0002
Chat turn
3K in · 500 out
$0.0009
RAG / long prompt
20K in · 1K out
$0.188
1M in + 1M out
bulk job

Gemini 1.5 Flash-8B cost calculator

Enter your monthly volume to estimate the Gemini 1.5 Flash-8B bill. Runs entirely in your browser.

Estimated monthly cost

For the full multi-model breakdown, use the cost calculator.

Google models — Gemini 1.5 Flash-8B in context

How Gemini 1.5 Flash-8B prices against its siblings. Cheapest reference cost first.

Model Input /1M Output /1M Cost / call* Context Type
Gemini 1.5 Flash-8B
Cheapest capable model
$0.037 $0.150 $0.0002 1M Fast / cheap
Gemini 2.0 Flash $0.100 $0.400 $0.0005 1M Fast / cheap
Gemini 2.5 Flash $0.300 $2.50 $0.0028 1M Balanced
Gemini 2.5 Pro
1M context (≤200k tier)
$1.25 $10.00 $0.011 1M Flagship

*Reference cost of one call with 1,000 input + 1,000 output tokens — a neutral yardstick. Use the calculator for your real usage. Cheapest row highlighted.

How Gemini 1.5 Flash-8B pricing works

Gemini 1.5 Flash-8B is billed per token: a lower input price of $0.037 per million tokens for everything you send, and a higher output price of $0.150 per million for everything the model generates. To turn that into a real Gemini 1.5 Flash-8B bill, multiply by your monthly request volume and average prompt/response length — the calculator above does exactly that.

Gemini 1.5 Flash-8B does not list a separate cached-input rate, so every input token bills at $0.037 per million. If repeated context is a big part of your prompts, a model with prompt caching may end up cheaper in practice.

List prices move fast — always confirm the current numbers on the official Google pricing page before relying on them for budgeting.

Gemini 1.5 Flash-8B pricing FAQ

How much does the Gemini 1.5 Flash-8B API cost?

Gemini 1.5 Flash-8B costs $0.037 per 1M input tokens and $0.150 per 1M output tokens. A typical 3K-input / 500-output call works out to about $0.0002.

What is Gemini 1.5 Flash-8B's context window?

Gemini 1.5 Flash-8B has a 1M-token context window. Tokens you put in the prompt are billed at the $0.037 per 1M input rate.

Does Gemini 1.5 Flash-8B charge extra for output tokens?

Yes. Output (generated) tokens cost $0.150 per 1M, versus $0.037 per 1M for input — about 4.0× more, which is normal for LLM APIs.

Is Gemini 1.5 Flash-8B a cheap model?

Gemini 1.5 Flash-8B is already among the lowest-priced models tracked here. Compare it against every model on the full price table.

Compare Gemini 1.5 Flash-8B with other models