SQ

t2sql

SqlGGUF by gguf-orgUpdated 2026-02-09
Download on Hugging Face
Parameters4.02B
Context40K
Layers28
Architectureqwen3
Smallest quant0.4 GB
Quick answer

t2sql needs about 1.8 GB of memory at Q4_K_M (a 0.4 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 16 quants, from 0.4 GB (IQ4_XS) to 2.3 GB (IQ4_XS). Longer context needs more: at 32K tokens the KV cache alone adds about 3.8 GB.

t2sql is a 4.02B-parameter Sql model in GGUF format, quantized by gguf-org. Its trained context length is 40K tokens. The repository has 16 quant files, from 0.4 GB (IQ4_XS) to 2.3 GB (IQ4_XS).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ4_XS0.4 GB 1.8 GB
Fits Get file →
Q4_00.4 GB 1.8 GB
Fits Get file →
IQ4_NL0.4 GB 1.8 GB
Fits Get file →
Q4_K_S0.4 GB 1.8 GB
Fits Get file →
Q4_K_M0.4 GB 1.8 GB
Fits Get file →
Q4_10.4 GB 1.8 GB
Fits Get file →
Q5_00.4 GB 1.9 GB
Fits Get file →
Q5_K_S0.4 GB 1.9 GB
Fits Get file →
Q5_K_M0.4 GB 1.9 GB
Fits Get file →
Q5_10.5 GB 1.9 GB
Fits Get file →
Q6_K0.5 GB 1.9 GB
Fits Get file →
Q8_00.6 GB 2.1 GB
Fits Get file →
F161.2 GB 2.6 GB
Fits Get file →
Q2_K1.7 GB 3.1 GB
Fits Get file →
Q3_K_S1.9 GB 3.3 GB
Fits Get file →
IQ4_XS2.3 GB 3.7 GB
Fits Get file →

What GPU do you need for t2sql?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) 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: the best quant that fits is IQ4_XS (2.3 GB file, about 3.7 GB in use).

Which t2sql quant should you choose?

Q4_K_M is the usual starting point for t2sql: it balances file size and quality well. Here it is a 0.4 GB file.

The Q8_0 file is 0.6 GB, about 1.6 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.

If memory is tight, the smallest file is IQ4_XS at 0.4 GB, with the quality trade-offs that come with fewer bits. The usual sweet spot between file size and quality, and the quant most people start with.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architectureqwen3
Parameters4.02B
Layers28
Trained context40,960 tokens
KV cache (fp16)112 KB per token

Source

Quantized bygguf-org
FamilySql
Licenseapache-2.0
Downloads (HF)527
Last updated2026-02-09

Frequently asked questions about t2sql

How much VRAM does t2sql need?

About 1.8 GB at Q4_K_M with an 8K context window. That is the 0.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 t2sql on an 8 GB GPU?

Yes, with IQ4_XS: the 2.3 GB file needs about 3.7 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of t2sql GGUF?

It depends on the quant: IQ4_XS is 0.4 GB, Q4_0 is 0.4 GB, IQ4_NL is 0.4 GB, Q4_K_S is 0.4 GB, Q4_K_M is 0.4 GB, Q4_1 is 0.4 GB and 10 more.

What context length does t2sql support?

The GGUF header lists a trained context length of 40,960 tokens (40K). The KV cache grows with the context you use: about 0.9 GB at 8K and 3.8 GB at 32K.

Where can I download t2sql GGUF?

The files are on Hugging Face in the gguf-org/t2sql-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 t2sql use?

Hugging Face lists the license as apache-2.0. 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 gguf-org

All by gguf-org →

More Sql models

All Sql →

Other small models

All small models →