Skip to content
llmmodels
Chat LLMOpen weightsHistorical

Alpaca

by Stanford University · Mar 13, 2023

Alpaca is an open-weight chat llm from Stanford University, released Mar 13, 2023. It has 7B parameters.

Released
Mar 13, 2023
Type
Chat LLM
Parameters
7B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
Open (non-commercial)
Knowledge cutoff
—
Status
Historical

About Alpaca

We introduce Alpaca 7B, a model fine-tuned from the LLaMA 7B model on 52K instruction-following demonstrations. On our preliminary evaluation of single-turn instruction following, Alpaca behaves qualitatively similarly to OpenAI’s text-davinci-003, while being surprisingly small and easy/cheap to reproduce (<600$). Checkout our code release on GitHub. Update: The public demo is now disabled. The original goal of releasing a demo was to disseminate our research in an accessible way.

How to run Alpaca

Alpaca 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 7B parameters it needs roughly 4 GB of memory at 4-bit quantization.

Alpaca vs alternatives

Alternatives to Alpaca
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Mistral-7B-v0.1openMistral AISep 20237.2B———102.7
Llama 2-7BopenMetaJul 20236.7B———83.2
Falcon-7BopenTechnology Innovation InstituteApr 20237.2B———73.1
MPT-7BopenMosaicMLMay 20237B———73.4
RedPajama-INCITE-7B-BaseopenTogether AIJun 20236.9B———57.7
XGen-7BopenSalesforceSep 20236.7B———70.3
Mistral-7B-Instruct-v0.2openMistral AIDec 20237.2B————
deepseek-llm-7b-baseopenDeepSeekNov 20237B————

More models from Stanford University

All Stanford University models →
ModelReleasedParamsContextInput $/1MOutput $/1M
GPT3-2.7B (FlashAttention-2)Jul 20232.7B———
DPO on Pythia-2.8BMay 20232.8B———
minChatGPTopenMar 20231.6B———
Hyena 1.3BFeb 20231.3B———
Hyena-2 153MopenFeb 2023153M———
Hybrid H3-2.7BopenDec 20222.7B———
Hybrid H3-125MopenDec 2022125M———
Hybrid H3-355MopenDec 2022355M———

Frequently asked questions

Who made Alpaca?

Alpaca was developed by Stanford University (United States of America). It was released on Mar 13, 2023.

Is Alpaca open source?

Yes. Alpaca's weights are publicly available, so you can download and run it yourself.

How many parameters does Alpaca have?

Alpaca has 7B parameters.

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