Llama-3.2
- Vendor
- Meta
- Parameters
- 1B
- Size
- 2.3 GB
$ brew install mirai$ mirai --model meta-llama/Llama-3.2-1B-InstructBenchmarks
Llama-3.2
Apple M4 Max 128GB
0.21 s
lower is better ↓
Llama-3.2
Apple M4 Max 128GB
181 t/s
higher is better ↑
Llama-3.2
Apple M4 Max 128GB
2.56 GB
lower is better ↓
Benchmarked 7 Aug 2026
Integrate with SDK
https://github.com/trymirai/uzu-swift
| 1 | import Foundation |
| 2 | import Uzu |
| 3 | |
| 4 | public func runChat() async throws { |
| 5 | let engineConfig = EngineConfig.create() |
| 6 | let engine = try await Engine.create(config: engineConfig) |
| 7 | |
| 8 | guard let model = try await engine.model(identifier: "alibaba:qwen3.5:0.8b:mirai:mirai-m:4") else { |
| 9 | return |
| 10 | } |
| 11 | for try await update in try await engine.download(model: model).iterator() { |
| 12 | print(String(format: "\r\u{001B}[2KDownload progress: %.2f%%", update.progress() * 100), terminator: "") |
| 13 | fflush(stdout) |
| 14 | } |
| 15 | print() |
| 16 | |
| 17 | let messages = [ |
| 18 | ChatMessage.system().withText(text: "You are a helpful assistant"), |
| 19 | ChatMessage.user().withText(text: "Tell me a short, funny story about a robot") |
| 20 | ] |
| 21 | let session = try await engine.chat(model: model, config: .create()) |
| 22 | let stream = await session.replyWithStream(input: messages, config: .create()) |
| 23 | var message: ChatMessage? = nil |
| 24 | for try await update in stream.iterator() { |
| 25 | switch update { |
| 26 | case .replies(let replies): |
| 27 | let reply = replies.last |
| 28 | message = reply?.message |
| 29 | print("Generated tokens: \(reply?.stats.tokensCountOutput ?? 0)") |
| 30 | case .error(let error): |
| 31 | print("Error: \(error)") |
| 32 | } |
| 33 | } |
| 34 | print("Reasoning: \(message?.reasoning() ?? "empty")") |
| 35 | print("Text: \(message?.text() ?? "empty")") |
| 36 | } |
| 37 | |
Details
Llama 3.2 1B Instruct is a lightweight, instruction-tuned large language model from Meta, designed for multilingual dialogue, summarization, and agentic retrieval tasks. At just 1 billion parameters, it targets efficiency-first deployments — including mobile and edge devices — while still delivering competitive performance against larger open source and closed chat models on standard industry benchmarks.
Architecture & Training
The model is built on an optimized transformer architecture featuring grouped-query attention, which improves inference scalability and throughput. It was pretrained on up to 9 trillion tokens of publicly available data, with a knowledge cutoff of December 2023.
A key element of the training pipeline is knowledge distillation from Meta's larger Llama 3.1 models, allowing the 1B variant to punch above its weight class. Alignment was achieved through a combination of supervised fine-tuning, rejection sampling, and direct preference optimization (DPO).
Multilingual Support
Llama 3.2 1B Instruct officially supports eight languages: English, German, French, Italian, Portuguese, Hindi, Spanish, and Thai. The model was trained on a broader set of languages beyond these, though official support and evaluation focus on this core group.
Edge & Mobile Deployment
Quantized variants of the model are available, optimized via techniques such as SpinQuant and QLoRA. These deliver significant speedups and memory savings, making the 1B model a strong candidate for on-device inference in resource-constrained environments.
Intended Use
Meta positions Llama 3.2 1B Instruct for use within broader AI systems that include additional safety guardrails, rather than as a standalone deployment. It is released for both commercial and research applications, making it a versatile option for developers building conversational assistants, summarization pipelines, or tool-augmented agents at minimal computational cost.