Gemini 3.8 Flash (batch): AI model
- Context window:
- 1,048,576 tokens
- Input:
- $0.38/1M tokens
- Output:
- $1.88/1M tokens
- Type:
- text, image, video, audio
- Vision
- Tools
- Long context
Thinking levels: Always thinks · high · medium · low
Gemini 3.8 Flash (batch) is a AI model from Google, available through Hormouz via an OpenAI-compatible API with stable access from inside Iran.
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.
Quickstart
# 1. Submit (up to 1,000 requests)
curl https://api.hormouz.net/v1/batches \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"endpoint": "/v1/chat/completions", "model": "google/gemini-3.8-flash:batch", "requests": [{"custom_id": "q1", "body": {"messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 200}}]}'
# 2. Poll until "status" is "completed", then read "results"
curl https://api.hormouz.net/v1/batches/BATCH_ID \
-H "Authorization: Bearer ng-YOUR_API_KEY"Specs
| Vendor | |
|---|---|
| Type | Text, Image, Video, Audio |
| Context window | 1,048,576 tokens |
| Pricing | $0.38/M in · $1.88/M out |
| API | batches |
| Capabilities | Vision · Tools |
Benchmarks
40.9
Intelligence Index
Better than 81% of models we compared
76.3
Coding Index
Better than 93% of models we compared
40.2
Agentic Index
Better than 78% of models we compared
Reasoning
GPQA Diamond
Graduate-level scientific reasoning
95.3%
HLE
Humanity's Last Exam
47.8%
AA-LCR
Long-context reasoning
81.3%
CritPt
Research-level physics reasoning
18.3%
AA Omniscience
Broad factual knowledge accuracy
54.6%
Non-Hallucination
Rate of avoiding fabricated answers
44.8%
Coding
SciCode
Python for scientific computing
56.6%
Agentic
GDPval
Economically valuable tasks
46.8%
Source: Artificial Analysis
Design Arena
How Design Arena works ↗Android Native
Top 84%1,077Elo
Win rate: 33.2%
Full-Stack
Top 27%1,242Elo
Win rate: 48.1%
Godot Game Dev
Top 14%1,273Elo
Win rate: 53%
Mobile Apps
Top 17%1,231Elo
Win rate: 54.2%
Python Slides
Top 67%1,178Elo
Win rate: 39.8%
Web Apps
Top 29%1,230Elo
Win rate: 46.1%
3D
Top 11%1,305Elo
Win rate: 50.4%Avg time: 81.0s
ASCII Art
Top 14%1,280Elo
Win rate: 52.9%Avg time: 44.7s
Code
Top 8%1,311Elo
Win rate: 50.6%Avg time: 119s
Data Viz
Top 20%1,267Elo
Win rate: 49.9%Avg time: 94.5s
Game Dev
Top 8%1,320Elo
Win rate: 51.3%Avg time: 104s
SVG
Top 11%1,285Elo
Win rate: 53.6%Avg time: 49.3s
UI Component
Top 9%1,323Elo
Win rate: 53.6%Avg time: 87.0s
Website
Top 6%1,309Elo
Win rate: 50.4%Avg time: 131s
Metrics sourced from Design Arena
Code example
cURL
# 1. Submit (up to 1,000 requests)
curl https://api.hormouz.net/v1/batches \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"endpoint": "/v1/chat/completions", "model": "google/gemini-3.8-flash:batch", "requests": [{"custom_id": "q1", "body": {"messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 200}}]}'
# 2. Poll until "status" is "completed", then read "results"
curl https://api.hormouz.net/v1/batches/BATCH_ID \
-H "Authorization: Bearer ng-YOUR_API_KEY"Python
import requests, time
BASE = "https://api.hormouz.net/v1"
H = {"Authorization": "Bearer ng-YOUR_API_KEY"}
batch = requests.post(f"{BASE}/batches", headers=H, json={
"endpoint": "/v1/chat/completions",
"model": "google/gemini-3.8-flash:batch",
"requests": [{"custom_id": "q1", "body": {"messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 200}}],
}).json()
while batch["status"] not in ("completed", "failed", "expired", "cancelled"):
time.sleep(60)
batch = requests.get(f"{BASE}/batches/{batch['id']}", headers=H).json()
for item in batch.get("results", []): # unordered: match by custom_id
print(item["custom_id"], item.get("body") or item.get("error"))JavaScript
const BASE = "https://api.hormouz.net/v1";
const H = { Authorization: "Bearer ng-YOUR_API_KEY", "Content-Type": "application/json" };
let batch = await (await fetch(BASE + "/batches", {
method: "POST",
headers: H,
body: JSON.stringify({
endpoint: "/v1/chat/completions",
model: "google/gemini-3.8-flash:batch",
requests: [{"custom_id": "q1", "body": {"messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 200}}],
}),
})).json();
while (!["completed", "failed", "expired", "cancelled"].includes(batch.status)) {
await new Promise((r) => setTimeout(r, 60000));
batch = await (await fetch(BASE + "/batches/" + batch.id, { headers: H })).json();
}
for (const item of batch.results ?? []) console.log(item.custom_id, item.body ?? item.error);Buy the Gemini 3.8 Flash (batch) API, paid in rial
- Buy credit with an Iranian bank card; no foreign card or account needed.
- One Hormouz key reaches Gemini 3.8 Flash (batch) and nearly 700 other models, and you pay only for what you use.
- No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Use via Hormouz
Connect to this model and nearly 700 others with one API key, then see usage down to each request.
Request company accessUpdated 2026-11-27