google/gemini-4-neon
Google 于 2026 年 11 月 18 日发布的 Gemini 4 系列模型,定位介于 Hydrogen 与 Carbon 之间。面向高性能编码、仓库级修改、多步 Agent 编排与结构化分析推理,在保持高推理质量的同时兼顾响应速度。提供 100 万 token 共享上下文窗口(单段最大输出 65,536 tokens),支持 low / medium / high(默认)/ xhigh 四档思考强度、隐式缓存、函数调用与多模态输入。
缓存读 $0.105/M · 缓存写 —/M
API 调用时用任一 ID 都可以。
google/gemini-4-neon请求里的 model 可以直接使用这些名字。
把 ONEHOP_KEY 占位符替换为你的 API Key。 创建 →
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
completion = client.chat.completions.create(
model="google/gemini-4-neon",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)最近 30 天 25 次请求