Compare
Gemma 4 31B vs Trinity Large Thinking (free)
This page is context-first: how much text each model can take in one request. Full specs adds capabilities and limits; the pricing matrix below is only about $/million tokens from hosts that list both models.
Model
Gemma 4 31B
Context window
262K
262,144 tokens · ~197K words
Model
Trinity Large Thinking (free)
Context window
262K
262,144 tokens · ~197K words
Context window · side by side
Bar length is relative to the larger of the two windows (100% = max of this pair). This is not pricing.
Same context window size for both models.
Gemma 4 31B and Trinity Large Thinking (free) have identical context windows (262K tokens).
Quick verdicts
Short takeaways — validate with your own workloads.
Long output (reports, code files)
Use Gemma 4 31B. Its 131K max output lets you generate complete artifacts in one request.
Full specs
Context, output, capabilities, and dates. Green highlights the favorable value where we compute a winner.
| Spec | Gemma 4 31B | Trinity Large Thinking (free) |
|---|---|---|
| Context window | 262,144 tokens (262K) | 262,144 tokens (262K) |
| Max output tokens | 131,072 tokens (131K) | 80,000 tokens (80K) |
| Speed tier | Fast | Deep |
| Vision | Yes | No |
| Function calling | Yes | Yes |
| Extended thinking | Yes | Yes |
| Prompt caching | No | No |
| Batch API | No | No |
| Release date | Apr 2026 | Apr 2026 |
Frequently asked questions
Powered by Mem0
Use a smaller model.
Get better results.
Mem0 gives your AI long-term memory so you stop re-sending context on every call. That means you can use a smaller, faster, cheaper model — and still get better answers.
Example: a multi-turn chat session
80% less to send — works with any model