ทดสอบความเร็วโมเดลเบนช์มาร์กเช่ารายงานฮาร์ดแวร์เครื่องคำนวณ decodeองค์กรProเอกสาร APIส่ง
ภาษา
Actual Computer — Every computer, one endpoint

ทดสอบความเร็ว

gemma-4-26B-A4B-it-QAT-MLX-4bit

M4 Pro 48GB · custom · 4bit

earpiece559ชุมชน28 พ.ย. 2569

Decode

74.7tok/s

Prefill

334tok/s

เวลาถึงโทเค็นแรก

228ms

รวม

90.4tok/s

VRAM สูงสุด

—

ความยาวบริบท

256K

ความลึก KV

0

ขนาด batch

1

การทำงานพร้อมกัน

1

การใช้พลังงาน

—

การตรวจสอบ

ยังไม่ตรวจสอบ — ผลลัพธ์เชิงทดลอง

การรันที่ตรวจสอบแล้วใช้พรอมต์ทดสอบมาตรฐานและบันทึกข้อมูลเพียงพอสำหรับตรวจสอบผลลัพธ์

  • The run did not use one of the standard test prompts.
  • The reported 74.7 tok/s is above the estimated maximum of 21.0 tok/s for this model on M4 Pro.

คำสั่งเริ่มรัน

# Remote endpoint: http://127.0.0.1:8000  servedModel: lmstudio-community--gemma-4-26B-A4B-it-QAT-MLX-4bit

Theoretical memory ceiling

21.0–21.0 tok/s

273 GB/s memory bandwidth (spec sheet) · 13.00 GB model weights · 16-bit KV cache · 1–76 tokens of context

356–356%

of the ceiling reached

Medium confidence

The fastest this hardware's memory could serve a single request; real runs are slower. Model details from lmstudio-community/gemma-4-26B-A4B-it-QAT-MLX-4bit; size from 4bit estimate. Hardware source · Open calculator

ฮาร์ดแวร์

ชิป
M4 Pro
หน่วยความจำ
48 GB
OS
darwin

Engine

Engine
custom
Quant
4bit

Run config

Context
262,144 tokens
ความลึก
0 tokens
Batch size
1
Prompt tokens
76
Prefill tok/s
333.5 tok/s
Output tokens
256
ส่งด้วย
lmx v0.1.66 speed-test run

หลักฐานที่บันทึกไว้

แฮชพรอมป์ต์ (SHA-256)
781e0950c608…
ตัวอย่างพรอมป์ต์ · 190 chars
[LocalMaxxing cache-bust nonce: 9713f9ba62faa2429315743064b17a9e]
Explain why local inference speed tests should report prompt prefill throughput, decode throughput, and time to first token.
ตัวอย่างเอาต์พุต · 1,175 chars
In the context of LLM (Large Language Model) performance benchmarking, reporting a single "tokens per second" metric is misleading because it treats the inference process as a monolithic task. In reality, LLM inference is a two-stage process with fundamentally different computational profiles.

To provide a complete picture of how a model performs on specific hardware or software optimizations (like vLLM, TensorRT-LLM, or llama.cpp), you must report **Prefill Throughput**, **Decode Throughput**, and **Time to First Token (TTFT)**.

Here is the technical breakdown of why each is essential.

---

### 1. Prompt Prefill Throughput (The "Compute-Bound" Phase)
**What it is:** The speed at which the engine processes the input prompt (the "context") before it starts generating new text.

*   **The Technical Reason:** Prefill is a **compute-bound** operation. During prefill, the model processes all input tokens simultaneously using large matrix-matrix multiplications (GEMM). This allows the system to utilize the massive parallel processing power of a GPU's Tensor Cores.
*   **Why it must be reported:** This metric tells you how well the system handles long contexts.

Runs อื่นของโมเดลนี้บนฮาร์ดแวร์นี้