Gemma 4 31B IT vs GPT-6 Luna
Price and specs side by side · USD per 1M tokens · verified 2026-11-29
// side by side
| metric | Gemma 4 31B IT | GPT-6 Luna |
|---|
| input / 1M | $0.09 | $0.10 |
| output / 1M | $0.34 | $0.50 |
| blended (3:1) | $0.1525 | $0.20 |
| cache read / 1M | $0.05 | $0.01 |
| context | 262.1K | 1.05M |
| max output | 16.4K | 128K |
| input types | text · image · video | text · image · pdf |
| reasoning | yes | yes |
| tool calling | yes | yes |
| structured output | yes | yes |
| open weights | yes | no |
| released | 2026-04-02 | 2026-09-22 |
| knowledge cutoff | 2025-01 | 2026-05-18 |
| lab | Google | OpenAI |
// monthly cost scenarios
| workload | tokens in / out | Gemma 4 31B IT | GPT-6 Luna |
|---|
| Chatbot | 10M / 2M | $1.58 | $2.00 |
| RAG app | 50M / 5M | $6.20 | $7.50 |
| Coding agent | 20M / 10M | $5.20 | $7.00 |
// verdict
- Gemma 4 31B IT is 23.8% cheaper than GPT-6 Luna on a blended 3:1 input/output basis.
- GPT-6 Luna has the larger context window (1.05M vs 262.1K tokens).
- Chatbot (10M input / 2M output tokens per month): Gemma 4 31B IT costs $1.58 vs $2.00 for GPT-6 Luna, saving $0.42 per month.
- RAG app (50M input / 5M output tokens per month): Gemma 4 31B IT costs $6.20 vs $7.50 for GPT-6 Luna, saving $1.30 per month.
- Coding agent (20M input / 10M output tokens per month): Gemma 4 31B IT costs $5.20 vs $7.00 for GPT-6 Luna, saving $1.80 per month.
// Gemma 4 31B IT or GPT-6 Luna: which one to choose
- Choose Gemma 4 31B IT for cost-sensitive, high-volume workloads.
- Choose GPT-6 Luna for long documents and large codebases (1.05M-token context).
- Choose Gemma 4 31B IT if you want open weights you can self-host.