gemini-3.8-flash API
Call gemini-3.8-flash through a single OpenAI-compatible endpoint — one key, no separate vendor account, no multi-provider wiring.
40.9
Intelligence index
76.3
Coding index
40.2
Agentic index
Pricing
Input$1.50 / 1M tokens (¥9.75)
Output$7.50 / 1M tokens (¥48.75)
Output multiplier×5.00
Prices are per 1M tokens in USD · ¥6.5 = $1 · Billed in CNY
When to use it
At $1.50 per 1M input tokens it sits above the catalogue median of $0.62 — a capability-first choice. Best for general-purpose text workloads. Every model here is reachable with the same API key, so trialling it against a stronger sibling costs one line of code.
Code
from openai import OpenAI
client = OpenAI(
base_url="https://starseaapi.com/v1",
api_key="sk-your-key"
)
r = client.chat.completions.create(
model="gemini-3.8-flash",
messages=[{"role": "user", "content": "Explain prefix caching in one paragraph"}]
)
print(r.choices[0].message.content)