Skip to content
llmmodels
Code modelOpen weightsHistorical

LLaMA-13B

by Meta · Feb 27, 2023

LLaMA-13B is an open-weight code model from Meta, released Feb 27, 2023. It has 13B parameters. It scores 85.2 on the Epoch Capabilities Index.

Provider
Meta
Released
Feb 27, 2023
Type
Code model
Parameters
13B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
Open (non-commercial)
Knowledge cutoff
—
Status
Historical
Training compute
7.8e+22 FLOP
Training data
1000B tokens/words

About LLaMA-13B

We introduce LLaMA, a collection of foundation language models ranging from 7B to 65B parameters. We train our models on trillions of tokens, and show that it is possible to train state-of-the-art models using publicly available datasets exclusively, without resorting to proprietary and inaccessible datasets. In particular, LLaMA-13B outperforms GPT-3 (175B) on most benchmarks, and LLaMA-65B is competitive with the best models, Chinchilla-70B and PaLM-540B.

LLaMA-13B benchmarks

All benchmarks →

Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.

How to run LLaMA-13B

LLaMA-13B is an open-weight model. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 13B parameters it needs roughly 8 GB of memory at 4-bit quantization.

LLaMA-13B vs alternatives

Alternatives to LLaMA-13B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
MPT-30BopenMosaicMLJun 202330B———85.2
DeepSeek Coder 33BopenDeepSeekNov 202333B———76.3
LLaMA-7BopenMetaFeb 20236.7B———77.3
Qwen2.5-Coder (1.5B)openAlibaba (Qwen)Sep 20241.5B———89.1
StarCoder 2 15BopenNVIDIAFeb 202415B———96.1
Phi-2openMicrosoftDec 20232.8B———96.2
NexusRaven-V2openNexusflowDec 202313B————
CodeFuse-13BopeninclusionAI (Ant Group)Oct 202313B————

More models from Meta

All Meta models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Muse Spark 1.3 ContributorSep 2026—1M$0.1$0.2
Llama-3.3-70B-InstructopenDec 202471B128K$0.71$0.71
Muse Spark OpenopenOct 2026816B1M$1.25$4.25
Muse Spark 1.2Aug 2026—1M$0.1$0.2
Muse WonderOct 2026—1M$4$20
Muse Spark 1.1Apr 2026—1M$1.25$4.25
Llama 4 MaverickopenApr 2025402B512K$0.35$1
Llama 4 ScoutopenApr 2025109B320K$0.1$0.3

Frequently asked questions

Who made LLaMA-13B?

LLaMA-13B was developed by Meta (United States of America). It was released on Feb 27, 2023.

Is LLaMA-13B open source?

Yes. LLaMA-13B's weights are publicly available, so you can download and run it yourself.

How many parameters does LLaMA-13B have?

LLaMA-13B has 13B parameters.

How does LLaMA-13B perform on benchmarks?

LLaMA-13B scores 47.7% on MMLU, 20.5% on GSM8K and 79.2% on HellaSwag.

Sources: epoch · paper. Last updated 2026-11-22.