Magica logo

Gemma 3 4B vs Llama 3 8B Lunaris (Comparative Analysis)

Loading comparison form...
Comparative Analysis: Gemma 3 4B vs. Llama 3 8B Lunaris
Want to try out these models side by side?Try Magica for free

Overview

Llama 3 8B Lunaris was released 7 months before Gemma 3 4B.
Gemma 3 4BGemma 3 4B
Llama 3 8B LunarisLlama 3 8B Lunaris
Model Provider
The organization behind this AI's development
Google logoGoogle
Sao10K logoSao10K
Input Context Window
Maximum input tokens this model can process at once
131.1K
tokens
8.2K
tokens
Output Token Limit
Maximum output tokens this model can generate at once
16.4K
tokens
16.4K
tokens
Release Date
When this model first became publicly available
March 13th, 2025
August 13th, 2024
Knowledge Cutoff
Latest training-data date reported by the provider
August 31, 2024
December 31, 2023

Capabilities & Features

Compare supported features, modalities, and advanced capabilities
Gemma 3 4B
Llama 3 8B Lunaris
Input Types
Supported input formats
📝Text🖼️Image
📝Text
Output Types
Supported output formats
📝Text
📝Text
Tokenizer
Text encoding system
GeminiLlama3
Key Features
Advanced capabilities
Function CallingStructured OutputReasoning ModeContent Moderation
Function CallingStructured OutputReasoning ModeContent Moderation
Open Source
Model availability
Available on HuggingFace →Available on HuggingFace →

Pricing

Gemma 3 4B is roughly 1.3x more expensive compared to Llama 3 8B Lunaris for input tokens and roughly 2.0x more expensive for output tokens.
Gemma 3 4BGemma 3 4B
Llama 3 8B LunarisLlama 3 8B Lunaris
Input Token Cost
Cost per million input tokens
$0.05
per million tokens
$0.04
per million tokens
Output Token Cost
Cost per million output tokens
$0.10
per million tokens
$0.05
per million tokens

Benchmarks

Compare relevant benchmarks between Gemma 3 4B and Llama 3 8B Lunaris.
Gemma 3 4BGemma 3 4B
Llama 3 8B LunarisLlama 3 8B Lunaris
Coding Index
Programming performance across independent evaluations
2.7
(Artificial Analysis index; higher is better)
Benchmark not available.

At a Glance

Quick overview of what makes Gemma 3 4B and Llama 3 8B Lunaris unique.
Google logoGemma 3 4B by Google understands both text and images, generates structured data. It can handle standard conversations with its 131.1K token context window. Very affordable at $0.05/M input and $0.10/M output tokens. Released March 13th, 2025.
Sao10K logoLlama 3 8B Lunaris by Sao10K generates structured data. It can handle standard conversations with its 8.2K token context window. Very affordable at $0.04/M input and $0.05/M output tokens. Released August 13th, 2024.

Explore More Comparisons

Compare your models with top performers across different categories