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 模型適用於視覺推理工作負載。
注重推論效率的實用助手工作負載。
建立能解釋原始碼、草擬修改並根據開發者回饋反覆調整的程式設計助手。
依據提供的手冊、報告或檢索片段回答問題、摘要章節並比較資訊。
結合使用者問題與螢幕截圖或文件影像,解釋可見內容並草擬實用回答。
curl 'https://us-api.tokenhub.com/v1/messages' \
-X 'POST' \
-H "Authorization: Bearer $TOKENHUB_API_KEY"模型架構、適用工作負載與 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
查看原文