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.
GoogleChatReasoningCodingVision视频理解音频理解工具调用Long context快速40.9
Intelligence index
76.3
Coding index
40.2
Agentic index
Pricing
Input$0.75 / 1M tokens (¥4.88)
Output$3.75 / 1M tokens (¥24.38)
Output multiplier×5.00
Context window1M tokens
Prices are per 1M tokens in USD · ¥6.5 = $1 · Billed in CNY
Gemini models pair native multimodal input with very large context windows, and are reachable through a Gemini-style path in addition to the OpenAI-compatible endpoint.
When to use it
At $0.75 per 1M input tokens it sits above the catalogue median of $0.50 — a capability-first choice. Best for coding agents and repository-scale edits. 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)Other models from this provider
| Models | Input $/M | Output $/M | Intelligence index | Coding index |
|---|---|---|---|---|
| gemini-3.6-flash | $0.75 | $3.75 | 34.0 | 69.2 |
| gemini-3.7-flash | $0.75 | $3.75 | 39.6 | 71.5 |
| gemini-4-argon | $2.00 | $10.00 | 52.6 | — |