Gemini 4 Argon
最大上下文
1M
最大输出
65.5K
发布日期
暂无
gemma-4-31b-itGemma 4 26B A4B 是 Google DeepMind 推出的一款高效混合专家(MoE)模型,兼具 26B 级模型容量与推理时约 4B 的激活参数。它在推理、编程、多模态理解和智能体能力方面表现出色,同时相比更大的稠密模型可实现更快、更高效的推理。该模型支持文本与图像输入、256K 上下文窗口、原生函数调用以及 140 多种语言,非常适合 AI 智能体、编程应用、长上下文处理和高吞吐量工作负载。
上下文窗口
262.1K Token
最大输出
32.8K Token
发布日期
2026年4月2日
模态
| 输入价格 | 输出价格 | 缓存读取 |
|---|---|---|
| $0.75/M | $1/M | $0.75/M |
推理
工具调用
Temperature 参数
附件
知识库
Endpoint 协议
密集架构推理、长上下文与视觉理解。
采用 307 亿参数密集架构,提供可配置的思考模式,面向推理与编程任务。
支持 256K token 上下文窗口,交替使用局部与全局注意力。
结合文本与图像输入生成文本,可用于视觉问答和文档解读。
面向编程、文档与图像的实际工作负载。
根据提供的源文件与需求起草代码、解释实现并提出修复方案。
总结长篇材料、比较不同章节,并依据上下文中提供的文档回答问题。
解读截图、图表与文档图像,生成供人工审核的描述和回答。
import OpenAI from "openai"
const client = new OpenAI({
apiKey: process.env.TOKENHUB_API_KEY,
baseURL: "https://us-api.tokenhub.com/v1",
})
const result = await client.chat.completions.create({})
console.log(result.choices[0]?.message?.content)模型能力、使用取舍与 TokenHub 接入说明。
它是 Google DeepMind 的指令微调开放权重密集模型,具有 307 亿参数,接收文本与图像并生成文本,权重采用 Apache 2.0 许可。
可从编程辅助、多步骤推理、长文档分析和视觉问答入手。可配置的思考模式与 256K 上下文窗口为这些工作流提供支持。
输出可能不准确,需要审核。此版本不支持原生音频输入。长上下文与思考模式可能增加资源消耗和延迟,托管服务的限制也可能低于模型上限。
请在 TokenHub 账户中确认可用性、准确模型 ID、支持的输入和价格。若已上架,使用接入指南中的接口地址与凭据。开放权重不代表托管推理免费。
重视推理与代码质量时,可优先评估密集版本;重视推理效率时,与 26B A4B MoE 版本比较,并使用相同提示与部署设置。
通过一个 API Key 接入 Gemma 4 31B 与更多 AI 模型。
媒体与演示
官方帖子与社区演示。社区观察反映各自的具体运行环境。
X (Twitter)
Google AI Studio ·
https://t.co/2CJ04Qlfdx
查看原文Prince Canuma ·
Gemma 4 31B running with TurboQuant KV cache on MLX 🔥 128K context: → KV Memory: 13.3 GB → 4.9 GB (63% reduction) → Peak Memory: 75.2 GB → 65.8 GB (-9.4 GB) → Quality preserved TurboQuant compression scales with sequence length, so the longer the context, the bigger the
查看原文Google Gemma ·
Gemma 4 is live on @cerebras, the fastest multimodal inference ever! Running on Gemma 4 31B open-weight model at a blistering 1,500+ tokens/sec. That's a 15x speedup, unlocking real-time visual and agentic loops without the GPU lag. https://t.co/jtMkmPbbsG
https://pbs.twimg.com/amplify_video_thumb/2076713295294373888/img/ag8ksefiL-46gnOj.jpg查看原文Reddit
Is Gemma 4 31b overkill for a personal assistant/RAG?
vick2djax ·
展开全文
My main project is an all in one chatbot that focuses on research with a huge RAG and web browsing abilities (I ingest all my books, most of Wiki, all the big data sets for research papers and such). The idea is to have an auditable process that helps me sort through misinformation and basically the garbage that most of the internet has become. I’ve got RSS feeds feeding the RAG daily from places like Reuters to help get past any model’s knowledge cutoff and just have good information come in. But I don’t want it to be a clipping service that just cuts sentences out of pages and glues them together on a new one to make a scrapbook of paragraphs. I want it to take it all as evidence and reason through it. Be able to go back and forth with me as I drill in deeper into a topic. Additionally have it wired up to things like a big memory system to remember all my chats and piece together personal stuff about me so I can better plan things. Hooked into the documentation for my git projects. Etc. 🚨Gemma 4 26b MoE is matching and/or beating the 31b dense on every damn test I come up with🚨 This sub lead me to believe that dense good, moe bad. Moe dumb. I feel like maybe my testing is wrong or something. The responses I get out of the models take turns on giving me the best responses as well. So confusing. Anybody else with the same type of project that has run into the same thing? Do I just take the 2x/3x speed of moe and skip out on the dense? To note, this project isn’t about coding. Zero roleplaying although I do enjoy creative brainstorming on projects. Hardware: solo 3090. I’m able to fit Gemma 4 31b at Q4 cache with 65k+ ctx with QAT & MTP. From what I understand, the QAT is supposed to make the q4 KV not so much of a bad thing for Gemma. QAT UD-Q4_K_XL Note: I was originally using qwen3.6 and had the same issues of 27b getting outperformed by the 35b. I swapped to Gemma as I kept reading it was much better at writing so figured it would make query results easier to read.
Which model to use? Gemma 4 26B A4B or Gemma 4 31B?
Yaniekk ·
展开全文
Hey everyone! I'm currently working on a cooking web app where users can post their own recipes. I've already integrated the OpenAI Moderations API to filter out unwanted content (such as NSFW, violence, hate speech, etc.). It works great, but now I need a way to evaluate the overall quality of a post. Specifically, I'd like to check whether the recipe makes sense or is just gibberish, whether it's actually about cooking, whether it's complete, whether the attached image matches the recipe, and so on. I was thinking about using an LLM for this, and I found two free models on OpenRouter: Gemma 4 26B A4B and Gemma 4 31B. I'm looking for something that's accurate, reasonably fast, and suitable for this kind of validation in a production app. Which of these models would you recommend? Or is there another free model on OpenRouter that would be a better choice?
Gemma 4 31B Base or Gemma 4 31B IT, Which one is better for RP?
Public-Speed125 ·
I'm planning to use Gemma 4 31B with SillyTavern, mostly for RP, storytelling, and long conversations. I'm wondering which version people here prefer Gemma 4 31B Base or Gemma 4 31B IT and also any differences in creativity, coherence, or censorship? I'd love to hear your experiences before I commit to downloading one. Thanks!
查看原文YouTube
🦞在OpenClaw实测谷歌开源大模型Gemma 4!256K上下文+多模态输入,小龙虾里实战测试多Agent协作与浏览器自动化全流程!31B参数碾压其他开源大模型!五大维度深度评分结果出人意料
AI超元域
查看原文Testing Gemma 4 31B with OpenCode
NightShift Tech
查看原文谷歌杀疯了!Gemma 4彻底开源,31B模型挑战百亿巨兽!Google's Gone Wild! Gemma 4 Fully Open-Sourced
大雷早上好
查看原文