Gemini

Google: Gemini 3.8 Flash

Chat5 折
google/gemini-3.8-flash

Gemini 3.8 Flash is Google's most intelligent Flash model, with significant gains over 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning. All input modalities (text/image/video/audio) unified pricing; batch tier at 50% discount. Thinking model with configurable levels. 1M context. Released September 2, 2026.

上下文窗口
1M
最大输出 Token
66K
发布日期
2026-09-02
能力
视觉函数调用推理提示缓存网络搜索音频输入视频输入PDF 输入
可用供应商
GoogleCloudVertex
支持的协议
OpenAIopenaiGeminigemini

供应商

GoogleCloudVertex
5 折
输入 Token
$0.75/M
$1.5/M
输出 Token
$3.75/M
$7.5/M
缓存读取
$0.075/M
$0.15/M
缓存写入
$0.0415/M
$0.083/M
音频输入
$0.75/M
$1.5/M
缓存写入(1 小时)
$0.5/M
$1/M
缓存音频
$0.075/M
$0.15/M
网络搜索
$0.014/R
接入协议
OpenAIopenai/v1/chat/completions
Geminigemini

代码示例

from google import genai
client = genai.Client(
api_key="YOUR_OFOX_API_KEY",
http_options={"api_version": "v1beta", "base_url": "https://api.ofox.io/gemini"},
)
response = client.models.generate_content(
model="google/gemini-3.8-flash",
contents="Hello!",
)
print(response.text)

运行状态

常见问题

Google: Gemini 3.8 Flash 在 Ofox.ai 上的价格为输入 $1.5/M/百万 Token,输出 $7.5/M/百万 Token。按量计费,无月费。