GP

gpt sw3 40b

GptGGUF by AI-Sweden-ModelsUpdated 2026-06-24
Download on Hugging Face
Parameters39.7B
Context2K
Layers—
Architecturegpt2
Smallest quant25.4 GB
Quick answer

gpt sw3 40b needs about 28.9 GB of memory at Q4_K_M (a 25.4 GB file) with an 8K context window, so it fits on a 32 GB GPU. This repository has 2 quants, from 25.4 GB (Q4_K_M) to 29.5 GB (Q5_K_M).

gpt sw3 40b is a 39.7B-parameter Gpt model in GGUF format, quantized by AI-Sweden-Models. Its trained context length is 2K tokens. The repository has 2 quant files, from 25.4 GB (Q4_K_M) to 29.5 GB (Q5_K_M).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_K_M25.4 GB 26.6 GB
Too big Get file →
Q5_K_M29.5 GB 30.9 GB
Too big Get file →

What GPU do you need for gpt sw3 40b?

These figures add the file size, an fp16 KV cache at an 8K context window and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: no quant fits at an 8K context.
  • 6 GB VRAM: no quant fits at an 8K context.
  • 8 GB VRAM: no quant fits at an 8K context.
  • 12 GB VRAM: no quant fits at an 8K context.
  • 16 GB VRAM: no quant fits at an 8K context.
  • 24 GB VRAM: no quant fits at an 8K context.
  • 32 GB VRAM: the best quant that fits is Q4_K_M (25.4 GB file, about 28.9 GB in use).
  • 48 GB VRAM: the best quant that fits is Q5_K_M (29.5 GB file, about 33.6 GB in use).

Which gpt sw3 40b quant should you choose?

Q4_K_M is the usual starting point for gpt sw3 40b: it balances file size and quality well. Here it is a 25.4 GB file.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturegpt2
Parameters39.7B
Trained context2,048 tokens

Source

Quantized byAI-Sweden-Models
FamilyGpt
Licenseother
Downloads (HF)0
Last updated2026-06-24

Frequently asked questions about gpt sw3 40b

How much VRAM does gpt sw3 40b need?

About 28.9 GB at Q4_K_M with an 8K context window. That is the 25.4 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run gpt sw3 40b on an 8 GB GPU?

Not at an 8K context. The smallest file needs about 28.9 GB, so you would need a larger GPU or CPU offloading.

What is the file size of gpt sw3 40b GGUF?

It depends on the quant: Q4_K_M is 25.4 GB, Q5_K_M is 29.5 GB.

What context length does gpt sw3 40b support?

The GGUF header lists a trained context length of 2,048 tokens (2K).

Where can I download gpt sw3 40b GGUF?

The files are on Hugging Face in the AI-Sweden-Models/gpt-sw3-40b-gguf repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does gpt sw3 40b use?

Hugging Face lists the license as other. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Similar models

Browse all →

More from AI-Sweden-Models

All by AI-Sweden-Models →

More Gpt models

All Gpt →

Other large models

All large models →