Gemini 4 Argon
Total Context
1M
Max Output
65.5K
Released
N/A
gemma-4-26b-a4b-itGemma 4 31B is Google DeepMind’s most capable dense model in the Gemma 4 family, designed for advanced reasoning, coding, multimodal understanding, and agentic workflows. With 30.7 billion parameters and a context window of up to 256K tokens, it can process both text and images while handling complex, long-context tasks. The model also supports native function calling and more than 140 languages, making it a strong choice for coding assistants, intelligent agents, document analysis, and demanding general-purpose AI applications.
Context Window
262.1K tokens
Maximum Output
32.8K tokens
Release Date
Apr 2, 2026
Modalities
| Input Price | Output Price | Cache Read |
|---|---|---|
| $0.15/M | $0.6/M | $0.05/M |
Reasoning
Tool calling
Temperature parameter
Attachments
Knowledge Base
Endpoint Protocols
Sparse computation, long context, and visual understanding.
Uses 25.2B total parameters with 3.8B active per token, reducing active computation relative to the dense 31B variant.
Combines a 256K-token context window with configurable thinking for tasks involving substantial supplied material.
Processes text and images together and generates text, extending the MoE model to visual reasoning workloads.
Practical assistant workloads with an emphasis on inference efficiency.
Build coding assistants that explain source files, draft changes, and iterate on developer feedback.
Answer questions, summarize sections, and compare information across supplied manuals, reports, or retrieved passages.
Combine user questions with screenshots or document images to explain visible content and draft useful responses.
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)Architecture, suitable workloads, and TokenHub usage.
This instruction-tuned Google DeepMind model uses a mixture-of-experts architecture: 25.2B total parameters and 3.8B active per token, rounded to about 4B in its name. Its open weights use Apache 2.0.
Interactive assistants, coding support, document questions, and image analysis are suitable uses. Sparse expert activation makes it an efficiency-focused option, while actual speed depends on hardware and serving software.
Active parameters do not equal total memory requirements: weights and context caches still need storage. This variant accepts text and images, not native audio, and generates text. Review outputs for errors.
Check your TokenHub account for availability, the exact model ID, endpoint, and current rates before integration. Use the documented credentials and request format. The Apache 2.0 license does not guarantee free API access.
Start with it when inference efficiency and responsiveness are priorities. Compare against the dense 31B variant on your own reasoning and coding tasks; lower active computation does not guarantee equal quality or lower provider pricing.
Use one API key to access Gemma 4 26B A4B and more AI models through TokenHub.
Media and Demos
Official guidance and community deployments. Reported performance depends on each setup.
X (Twitter)
Google AI Studio ·
https://t.co/2CJ04Qlfdx
View originalAlok ·
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.jpgView originalPrince 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.jpgView originalReddit
Is Gemma 4 31b overkill for a personal assistant/RAG?
vick2djax ·
Read full post
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 ·
Read full post
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 ·
Read full post
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
View originalGemma 4 26B A4B: Official Scores vs Our Local Coding Benchmark
Fluid Coding & AI
View originalGemma 4 26B A4B vs Qwen 3.6 35B A3B - 16GB Local LLM setup
Luke's Dev Lab
View original