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
大雷早上好
查看原文