Gemini 4 Argon
最大上下文
1M
最大输出
65.5K
发布日期
暂无
gemma-4-26b-a4b-itGemma 4 31B 是 Google DeepMind 在 Gemma 4 系列中能力最强的稠密模型,专为高级推理、编程、多模态理解和智能体工作流而设计。它拥有 307 亿参数,上下文窗口最高支持 256K tokens,可同时处理文本和图像,胜任复杂的长上下文任务。该模型还原生支持函数调用和 140 多种语言,是编程助手、智能代理、文档分析以及高要求通用 AI 应用的理想选择。
上下文窗口
262.1K Token
最大输出
32.8K Token
发布日期
2026年4月2日
模态
| 输入价格 | 输出价格 | 缓存读取 |
|---|---|---|
| $0.15/M | $0.6/M | $0.05/M |
推理
工具调用
Temperature 参数
附件
知识库
Endpoint 协议
稀疏计算、长上下文与视觉理解。
总参数为 252 亿,每个 token 激活约 38 亿,相比 31B 密集版本减少活跃计算量。
结合 256K token 上下文窗口与可配置思考模式,处理涉及大量输入材料的任务。
共同处理文本与图像并生成文本,让 MoE 模型适用于视觉推理工作负载。
注重推理效率的实用助手工作负载。
构建可解释源文件、起草修改并根据开发者反馈迭代的编程助手。
依据提供的手册、报告或检索片段回答问题、总结章节并比较信息。
结合用户问题与截图或文档图像,解释可见内容并起草实用回答。
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.responses.create({})
console.log(result.output_text)模型架构、适用工作负载与 TokenHub 接入说明。
这款 Google DeepMind 指令微调模型采用混合专家架构:总参数 252 亿,每个 token 激活约 38 亿,名称中取约数为 4B。开放权重采用 Apache 2.0 许可。
适合交互式助手、编程支持、文档问答与图像分析。稀疏专家激活使它成为注重效率的选择,实际速度取决于硬件和推理服务软件。
活跃参数量不等于总内存需求:模型权重和上下文缓存仍需存储空间。此版本接收文本与图像,不支持原生音频输入,输出为文本。应审核输出中的错误。
接入前,请在 TokenHub 账户中确认可用性、准确模型 ID、接口地址及当前费率,并使用文档规定的凭据和请求格式。Apache 2.0 许可不保证 API 免费。
重视推理效率与响应速度时,可先评估此版本。用实际推理和编程任务与 31B 密集版本比较;更少的活跃计算不保证相同质量或更低的服务商价格。
通过一个 API Key 接入 Gemma 4 26B A4B 与更多 AI 模型。
媒体与演示
官方指南与社区部署案例。所报告的性能取决于各自的运行配置。
X (Twitter)
Google AI Studio ·
https://t.co/2CJ04Qlfdx
查看原文Alok ·
Run Gemma 4 26B MoE on 8GB VRAM with 250k context at 20+ tokens/sec If you own any 8GB VRAM graphics card, stop what you are doing. Local AI just had its absolute "Holy Shit" moment for budget hardware. Yesterday, I benchmarked Unsloth Gemma 4 12B Q4_K_XL on an 8GB card. The https://t.co/BsjKxoGvSP
https://pbs.twimg.com/amplify_video_thumb/2063581819258462208/img/dOZPZSUHbkHdStS9.jpg查看原文Prince Canuma ·
Next mlx-vlm release will ship with continuous batching support on the server 🚀 What's coming: → Continuous batching — new requests join the active batch immediately, no waiting. Mixed image + text batches supported → OpenAI-compatible API — field-for-field match with https://t.co/DpdcU8t9az
https://pbs.twimg.com/amplify_video_thumb/2044877973635870720/img/qiMR5GOKsqJOGtZ0.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-26B-A4B-IT-Q8_0 results with VSCode (long post)
supracode ·
展开全文
After many rounds of testing, pasting logs into chatgpt, killing my 11 year old ssd (to many log writes finally killed it), I have a pretty good setup working with VSCode. I thought I would share my settings... PC : Intel i7-9700, 32GB DDR4 2666 Ram, Gigabyte H310M-S2H motherboard, ASRock Radeon AI PRO R9700 GPU, Ubuntu 24.04 Llama.cpp server (vulkan) parameters : /app/llama-server -m /models/gemma-264B-8/gemma-4-26B-A4B-it-Q8_0.gguf --ctx-size 80000 --threads 7 --gpu-layers 99 --parallel 1 --flash-attn on --batch-size 2048 --ubatch-size 512 --cache-type-k q8_0 --cache-type-v q8_0 --cache-ram 8192 --ctx-checkpoints 3 --mmap --no-mmproj --reasoning off --reasoning-budget 0 --jinja --chat-template-file /models/gemma-264B-8/chat_template.jinja --temp 0.2 --top-k 64 --top-p 0.95 --min-p 0.05 --repeat-penalty 1.15 --presence-penalty 0 Note that I am using the updated chat template posted a week or so back. With this setup my GPU Shows about 83% Vram Used. The --cache-ram 8192 goes to system ram. CPU Usage shown in webmin stays under 10%, and that is when using OpenWebUI on the same box. I get a about 1600 Prompt tps, and 60 tps for response. This can drop a bit as the context grows. VSCode Insiders Edition setup and results I tried to use the continue plugin, and I hated it. I finally found the fix which is this extension : https://marketplace.visualstudio.com/items?itemName=johnny-zhao.oai-compatible-copilot . It allows you to use your local LLM using coPilot (Agent, Plan and Ask all work). r/LocalLLaMA - Model settings in OIA Extension (https://preview.redd.it/gemma-4-26b-a4b-it-q8-0-results-with-vscode-long-post-v0-2s7qu9vmgxwg1.png?width=1107&format=png&auto=webp&s=8e766574d527718a1b80016547e93203303392e6) Model settings in OIA Extension r/LocalLLaMA - Advanced model settings in extension (https://preview.redd.it/gemma-4-26b-a4b-it-q8-0-results-with-vscode-long-post-v0-csnsdpwtgxwg1.png?width=1091&format=png&auto=webp&s=5c16b43d321b6b1358199409c3da9f7f5c594b14) Advanced model settings in extension I keep the allowable context in vscode below the server setting. The result : I am super impressed. all of the co-pilot features work... code quality is good, and while it does make mistakes i think that is partially my fault for not setting up system prompts, skills, instructions very well (still learning). In use, i create a plan in plan mode and add an instruction to "Keep changes concise and make the plan in small incremental steps" which really helps when it switches to agent mode and doesn't try to change everything at once. It is not perfect by any means... It sometimes gets into loops, or i get tool use exceeded messages. But, while I have been testing my setup I have managed to create a working Asteroids Clone, including tools to generate vector glyphs for the text display in game without writing one line of code (I am a developer btw, but not a game dev): media poster Gameplay I'd love to hear from others who are using a flow like this, get some more tips and help anyone if I can.
YouTube
Gemma-4 26B A4B + vLLM: Best MoE Model of 2026: Running Locally
Fahd Mirza
查看原文Gemma 4 26B A4B: Official Scores vs Our Local Coding Benchmark
Fluid Coding & AI
查看原文Gemma 4 26B A4B vs Qwen 3.6 35B A3B - 16GB Local LLM setup
Luke's Dev Lab
查看原文