Can Magistral Small 2507 run on NVIDIA A40 48GB?

YES — Runs Great

S91Excellent
Estimated from fit model

Magistral Small 2507 needs ~23.1 GB VRAM. NVIDIA A40 48GB has 48.0 GB. With Q4_K_M quantization, expect ~40 tok/s.

Runtime: OllamaCapacity: RoomyBandwidth: MediumStack: BasicBottleneck: Balanced
Share:

Operating mode

Choose the run profile you care about

Interactive favors responsiveness, while light API and scale-out lean harder on serving readiness. The fit stays the same, but the recommendation lens changes.

Current mode

Balanced

Balanced for general local use. Keeps the ranking neutral across personal and serving workflows.

Capabilities:

Select quantization to explore

Q4_K_M (Medium quality) 23.1 GB, 39.9 tok/s, Runs well
23.1 GB required48.0 GB available
48% VRAM used

Fit status

Runs well

Decode

39.9 tok/s

TTFT

4857 ms

Safe context

131K

Memory

23.1 GB / 48.0 GB

Memory breakdown

Weights14.6 GB
KV Cache2.4 GB
Runtime1.2 GB
Headroom4.8 GB

See how fast it feels

See how fast it feelsMagistral Small 2507 on NVIDIA A40 48GB
1st promptCold start — includes initialization
>Solve: If a train travels at 60 mph for 2.5 hours, how far does it go?
Let me work through this step by step. Given information: - Speed = 60 mph (miles per hour) - Time = 2.5 hours Formula: Distance = Speed x Time Calculation: Distance = 60 mph x 2.5 h = 150 miles The train travels 150 miles. Double-check: at 60 mph the train covers 60 miles each hour. In half an hour it covers 30 miles. So in 2.5 hours: 60 + 60 + 30 = 150 miles. Confirmed.
2nd promptWarm — model ready, no init overhead
>What if the train stops for 20 minutes halfway?
The stop doesn't change the total distance covered while moving, but it affects total trip time. Breakdown: - First half: 1.25 hours at 60 mph = 75 miles - Stop: 20 minutes (no distance) - Second half: 1.25 hours at 60 mph = 75 miles Total distance: 150 miles (same) Total time: 2.5 h + 0.33 h = 2.83 hours Average speed: 150 / 2.83 = 53 mph The distance stays the same but average speed drops to 53 mph because of the stop.
Estimated: 39.9 tok/s decode · 4.9s TTFT (warm) · 100 tok/s prefill

What limits this setup

This setup is broadly balanced for this model.

No major red flags

This recommendation has enough memory headroom and acceptable estimated speed for the selected workload.

Best improvement path

Performance by workload

WorkloadGradeFitDecodeTTFTContext
ChatSRuns well39.9 tok/s2649 ms131K
CodingSRuns well39.9 tok/s4857 ms131K
Agentic CodingSRuns well39.9 tok/s7064 ms131K
ReasoningSRuns well39.9 tok/s5740 ms131K
RAGSRuns well39.9 tok/s8830 ms131K

Quantization options

How Magistral Small 2507 (24B params) fits at each quantization level on NVIDIA A40 48GB (48.0 GB usable).

QuantBitsVRAMQualityFit
Q2_K
2
9.4 GB
LowA84
Q3_K_S
3
11.8 GB
LowA85
NVFP4
4
13.4 GB
MediumS85
Q4_K_M
4
14.6 GB
MediumS86
Q5_K_M
5
17.3 GB
HighS87
Q6_K
6
19.7 GB
HighS87
Q8_0Best for your GPU
8
25.7 GB
Very HighS90
F16
16
49.2 GB
MaximumF0

Get started

Copy-paste commands to run Magistral Small 2507 on your machine.

Run

ollama run magistral

Your hardware

More models your NVIDIA A40 48GB can run

ModelParamsGradeDecodeCapabilities
AlibabaQwen3-Coder 30B A3B Instruct30.5BS82.1 tok/s
AlibabaQwen 3.5 27B27BS35.6 tok/s
AlibabaQwen 3.6 27B27BS35.7 tok/s
AlibabaQwen 3.6 35B A3B35BS69 tok/s
AlibabaQwen3-VL 30B A3B Instruct30BS84.9 tok/s

Frequently asked questions

Can NVIDIA A40 48GB run Magistral Small 2507?

Yes, NVIDIA A40 48GB can run Magistral Small 2507 with a S grade (Runs well). Expected decode speed: 39.9 tok/s.

How much VRAM does Magistral Small 2507 need?

Magistral Small 2507 (24B parameters) requires approximately 23.1 GB of memory with Q4_K_M quantization.

What is the best quantization for Magistral Small 2507?

The recommended quantization for Magistral Small 2507 is Q4_K_M, which balances quality and memory efficiency.

What speed will Magistral Small 2507 run at on NVIDIA A40 48GB?

On NVIDIA A40 48GB, Magistral Small 2507 achieves approximately 39.9 tokens per second decode speed with a time-to-first-token of 4857ms using Q4_K_M quantization.

Can NVIDIA A40 48GB run Magistral Small 2507 for coding?

For coding workloads, Magistral Small 2507 on NVIDIA A40 48GB receives a S grade with 39.9 tok/s and 131K context.

What context window can Magistral Small 2507 use on NVIDIA A40 48GB?

On NVIDIA A40 48GB, Magistral Small 2507 can safely use up to 131K tokens of context. The model's official context limit is 131K, but available memory constrains the safe maximum.

See all results for NVIDIA A40 48GBSee all hardware for Magistral Small 2507
Embed this result

Paste this snippet into any page to show a live fit card.

<iframe src="https://willitrunai.com/embed/magistral-small-2507-on-a40-48gb" width="400" height="180" frameborder="0" style="border:none;border-radius:12px;overflow:hidden;" title="Will It Run AI — fit result"></iframe>

Preview: