Newshot

Gemini 4 Neon 现已在 AI Gateway 上线

AI summary

Google 的 Gemini 4 Neon 现已在 AI Gateway 上线,相比更轻量的 Gemini 4 实现重大升级,输出质量接近 Google 更大的 Gemini 4 模型,同时响应更快。该模型面向编程、智能体工作流和多步任务,支持文本、图像、视频和文档输入,上下文窗口为 1M token,并支持工具调用、结构化输出、基于 Google 搜索和 Google Maps 的 grounding,以及低、中、高、xhigh 四档推理级别。

Translation(model translation, not the source's own text)

文章标题:Gemini 4 Neon 现已在 AI Gateway 上线

正文: 来自 Google 的 Gemini 4 Neon 现已在 AI Gateway 上线。

Gemini 4 Neon 是此前更轻量的 Gemini 4 模型的重大升级,其输出质量接近 Google 更大的 Gemini 4 模型,同时响应更快。它专为编码、agent 工作流和多步骤任务而构建。

该模型接受文本、图像、视频和文档,上下文窗口为 1M token。它支持工具调用、结构化输出、使用 Google Search 和 Google Maps 的 grounding,以及四个推理级别:low、medium、high 和 xhigh。

使用 google/gemini-4-neon 作为模型 ID:


        import { streamText } from 'ai';
const result = streamText({  model: 'google/gemini-4-neon',  prompt: 'Write a TypeScript function that debounces async calls.',});
for await (const text of result.textStream) {  process.stdout.write(text);}
      

要在 Codex、Cursor 或其他受支持的 agent 中使用 Gemini 4 Neon,请参阅 coding agents 指南。

在模型 playground 中试用 Gemini 4 Neon,或浏览所有语言模型。

Only about 714 characters could be extracted — the rest did not come through (common on sites that need scrolling or a login). Read the original for the full piece.

Published by Vercel Blog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗