Gemini 3.8 Flash
Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning.
Input tokens−30% off
$0.58per 1M tokens
Official: $0.82
Output tokens−30% off
$2.89per 1M tokens
Official: $4.13
30-day price trend
Quickstart
from openai import OpenAI
import os
client = OpenAI(
base_url="https://api.cheapllm.app/v1",
api_key=os.environ["CHEAPLLM_API_KEY"],
)
response = client.chat.completions.create(
model="google/gemini-3.8-flash",
messages=[{"role": "user", "content": "Hello!"}],
)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.cheapllm.app/v1",
apiKey: process.env.CHEAPLLM_API_KEY,
});
const response = await client.chat.completions.create({
model: "google/gemini-3.8-flash",
messages: [{ role: "user", content: "Hello!" }],
});curl https://api.cheapllm.app/v1/chat/completions \
-H "Authorization: Bearer $CHEAPLLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-3.8-flash",
"messages": [{"role": "user", "content": "Hello!"}]
}'Specifications
- Context window
- 1.05M
- Max output
- —
- Tool calling
- Supported
- Vision / images
- Supported
- Reasoning
- Supported
- Base URL
https://api.cheapllm.app/v1
Gemini 3.8 Flash price comparison: CheapLLM vs Official API
Prices verified 2026-11-28| Metric | Official Google API | CheapLLM (Pay as you go) | Savings |
|---|---|---|---|
| Input tokens (per 1M) | $0.82 | $0.58 | −30% |
| Output tokens (per 1M) | $4.13 | $2.89 | −30% |
| Context window | 1.05M | 1.05M | 100% |
| With Pro / Max plan (100× pool) | — | Up to 70% lower bill | −70% |