Home / Guide / Models
Models

AirLLM Supported Models: Llama, Qwen, DeepSeek, Mistral and Beyond

A practical overview of AirLLM supported models: which families load through AutoModel, how to choose a model, and how to handle gated or custom checkpoints.

AirLLM Supported Models: Llama, Qwen, DeepSeek, Mistral and Beyond

One of AirLLM's strengths is breadth. Rather than supporting a single model, it works with most major open model families through one unified loader. This guide surveys AirLLM supported models, explains how to choose between them and covers practical details such as gated repositories and local checkpoints.

One loader for every family

Modern AirLLM versions use a single entry point, AutoModel. It reads the model's configuration file, identifies the architecture and selects the right internal implementation. You simply change the repository name:

from airllm import AutoModel
model = AutoModel.from_pretrained("deepseek-ai/DeepSeek-V3")

Earlier releases used family-specific classes such as AirLLMLlama2. If you find older tutorials using those names, switching to AutoModel is generally all that is needed.

Supported families at a glance

FamilyTypical sizesNotes
Llama 2, 3, 3.1, 47B to 405BGated; requires accepting Meta's licence
Qwen, Qwen2.5, Qwen37B to 235B (MoE)Strong multilingual performance
DeepSeek V2, V3Up to 671B (MoE)V3 ships in FP8
Mistral, Mixtral7B, 8x7B, 8x22BMixtral uses MoE streaming
ChatGLM, Baichuan, InternLM6B to 20B+Popular for Chinese-language tasks
Phi-4, GemmaSmall to mediumGood for quick tests
Kimi K32.8T (MoE)Added in v3.1; see our AirLLM Kimi K3 guide

The project adds families regularly, so always confirm against the latest README before planning a large download.

Dense models versus mixture-of-experts

Dense models such as Llama 3.1 70B use every parameter for every token. AirLLM streams them layer by layer. Mixture-of-experts models such as Mixtral, Qwen3-235B, DeepSeek-V3 and Kimi K3 contain many expert networks but activate only a few per token. AirLLM streams these at the expert level, loading just the experts each token needs. This is why enormous MoE models can run with surprisingly little GPU memory, as the project's own figures for DeepSeek-V3 and Qwen3-235B illustrate.

Choosing a model for your hardware and task

Start small

Begin with a 7B or 14B model to confirm your installation, measure speed and refine prompts. These download quickly and generate at tolerable speeds.

Match the model to the task

  • General writing and reasoning: Llama 3.x 70B Instruct or Qwen2.5 72B Instruct.
  • Coding: Qwen coder variants or DeepSeek models.
  • Multilingual work: Qwen and ChatGLM families.
  • Frontier-scale evaluation: DeepSeek-V3 or Kimi K3, given enough storage.

Consider storage first

The model's disk size, not its parameter count alone, determines both feasibility and speed. A 70B model needs around 140 GB at 16-bit; 4-bit compression reduces the shards considerably.

Gated models

Some publishers, notably Meta for Llama, require you to accept a licence before downloading. Visit the model page on Hugging Face while logged in, accept the terms, generate an access token and pass it in:

model = AutoModel.from_pretrained(
    "meta-llama/Llama-3.1-70B-Instruct",
    hf_token="hf_xxxxxxxxxxxxxxxx",
)

Store the token in an environment variable rather than hard-coding it in shared scripts.

Local and fine-tuned checkpoints

You can point from_pretrained at a local folder containing config.json, tokenizer files and safetensors weights. This is useful for fine-tuned models, offline machines and private checkpoints. As long as the architecture matches a supported family, AirLLM treats it like any other model.

What is not supported

  • GGUF files used by llama.cpp and Ollama.
  • Architectures without AirLLM support, even if Transformers can load them.
  • Encoder-only models such as BERT, which are not text generators.

If a model fails to load, check its architecture name in config.json and compare it with the README's supported list.

Reading a model card before you download

A model card on Hugging Face contains most of what you need to decide whether a model suits airllm. Check the architecture listed in config.json, the total size of the weight files, the licence terms, whether the repository is gated, and whether the weights are stored as safetensors. Look for an instruct or chat variant if you intend to ask questions rather than continue text, and read the recommended prompt format. Spending five minutes on the card can save hours of downloading a model that will not load or does not suit your task.

Base, instruct and chat variants

Most families publish several variants. Base models are trained to continue text and are best for research or further fine-tuning. Instruct or chat variants are tuned to follow instructions and hold conversations, which is what most people want. With AirLLM, choosing the wrong variant is a common source of disappointing results: a base model asked a direct question may simply continue the question or ramble. If outputs look strange, confirm that you are using the instruct variant and its chat template.

Licences differ between families

AirLLM's own Apache-2.0 licence does not govern the models you run with it. Each model carries its publisher's licence. Some are permissive open-source licences, others are community licences with conditions on commercial use, attribution or acceptable use, and some newer frontier models ship under custom licences. Before using any model in a commercial product or publishing its outputs at scale, read its licence carefully and keep a note of which model and version you used.

Keeping up with new releases

Open models arrive at a rapid pace, and AirLLM adds support for new architectures over time. Watching the project's GitHub repository, reading its release notes and upgrading with pip install -U airllm keeps you current. When a brand-new model is not yet supported, it is often worth waiting a short while rather than attempting workarounds.

Qualify a checkpoint before downloading it

Begin with the exact repository ID and revision. A family name can refer to base models, instruction models, multimodal variants and several weight formats. Two entries with similar names may expose different architectures in their configuration and behave differently when loaded by airllm. Compare the configuration to the supported architectures listed for your AirLLM release. Then read the model card for the intended Transformers version, tokenizer, chat template and any additional components.

Confirm the files are accessible with the account used by the inference process. If the publisher requires approval or acceptance of licence terms, complete that step before scheduling a download. In a shared environment, ensure authentication is available to the job without copying credentials into a script or notebook. Keep a record of the repository revision so that later updates do not silently change the files used in a comparison.

Review the storage requirements before committing to a large transfer. The file list and published checkpoint size give an initial estimate for the original weights. Preparation can create an additional set of files, so check free capacity on the volume used for shards as well as the one used for downloads. Check the real location of each directory. Two paths that look separate can still point to the same disk and compete for the same available space.

Use a text prompt with a known outcome for the first test. If the checkpoint is an instruction model, render the model's own chat template when the tokenizer provides one. Set a small output limit and verify both that generation completes and that the result follows the prompt. A model that loads without an error has passed a compatibility check. It still needs a behaviour check before it becomes part of an application.

For a multimodal checkpoint, specify which inputs your workload needs. A successful text completion provides evidence for text generation. Verify any required image or audio path independently using an example for that architecture and backend. Report exactly what you tried so another reader can reproduce the result. Record the device, backend and package versions alongside each outcome.

Finally, keep a list of checkpoints you have actually qualified. Include the task each model performed, the setup used and any restrictions that matter in practice. Separate desktop tests from results obtained on a different machine or backend. The upstream supported model list is a useful starting point, and your own record shows which exact revisions work for your workload. Review that record after any substantial package update. A quick rerun of the same prompt can reveal a compatibility change before it affects a longer batch.

Frequently asked questions

AirLLM supports the major open families, including Llama 2, 3 and 4, Qwen through Qwen3, DeepSeek V2 and V3, Mistral and Mixtral, ChatGLM, Baichuan, InternLM, Phi-4, Gemma and, from v3.1, Kimi K3. Check the README for the current list.

Usually yes. If a fine-tuned checkpoint keeps the architecture of a supported base model and uses standard Hugging Face files, AutoModel can load it from the Hub or from a local folder.

No. AirLLM loads standard Hugging Face checkpoints, typically safetensors. GGUF files are used by llama.cpp and Ollama.

Accept the licence on the model page at Hugging Face, create an access token in your account settings and pass it with the hf_token argument.

Conclusion

AirLLM supported models span nearly every major open family, from compact Phi and Gemma models to frontier-scale MoE systems like DeepSeek-V3 and Kimi K3, all through one AutoModel call. Start small, choose according to your task and storage, handle gated models with a token and keep an eye on the README as support expands. For help loading your first one, read how to use AirLLM.