LLM Reference

Alpaca Models by Stanford ArtificiaI Intelligence Laboratory (SAIL)

2 models2023Up to 2k ctxFrom $0.2/1M input

About

The Alpaca family of large language models (LLMs), developed by Stanford University's Center for Research on Foundation Models (CRFM), marks a significant milestone in the field of AI. The initial model, Alpaca 7B, showcases a remarkable ability to follow instructions, built upon fine-tuning Meta's LLaMA 7B model using a vast dataset of 52,000 demonstrations generated with OpenAI's text-davinci-003 1. Despite its relatively smaller size, Alpaca 7B delivers performance comparable to text-davinci-003 while maintaining a lower cost of reproduction—under $600 15. Its open-source nature and cost-effectiveness have spurred innovation and research within the LLM community, leading to various derivative models and enhancements. This openness and reduced required resources underline the growing accessibility and democratization within LLM research and development.

Current Variants

Use-when guidance is derived from seed capabilities, context, release, and replacement fields.

2 in view
Alpaca 7BCurrent

Use when the workload needs 2k context, 7B parameters, and structured outputs.

2023-032k context7B parametersstructured outputs
Alpaca 13BCurrent

Use when the workload needs 2k context and 13B parameters.

2023-032k context13B parameters

Release Timeline

1 release group
2023-03
2 current
Alpaca 13B
2k context13B parameters
Current
Alpaca 7B
2k context7B parametersstructured outputs
Current

Specifications(2 models)

Alpaca model specifications comparison
ModelReleasedContextParametersStructured Outputs
Alpaca 7B2023-032k7BYes
Alpaca 13B2023-032k13BNo

Available From(1 provider)

Pricing

Alpaca model pricing by provider
ModelProviderInput / 1MOutput / 1MType
Alpaca 7BTogether AI$0.2$0.2Serverless

Frequently Asked Questions

What is Alpaca used for?
Alpaca is used for structured outputs. The family description and listed model capabilities point to those workloads as the best fit.
How does Alpaca compare to Claude 3?
Alpaca by Stanford ArtificiaI Intelligence Laboratory (SAIL) is strongest where you need structured outputs, while Claude 3 by Anthropic is the closest related family to check for vision and multimodal work. Alpaca has 2 listed variants and reaches up to 2k context, while Claude 3 reaches up to 200k context, so compare the specs and pricing tables before choosing a production model.
Which Alpaca model should I use?
For the lowest listed input price, start with Alpaca 7B through Together AI at $0.2/1M input tokens. For the most capable/latest local choice, evaluate Alpaca 7B with 2k context and structured outputs.

Models(2)