AI

What is Llama 3.1? New MetaAI LLM Model Performance, Benchmarks, Price and Other Details

Llama 3.1 is the latest version of MetaAI's LLM model, offering improved performance and benchmarks compared to its predecessors. This article will delve into the details of its performance, pricing and accessibility.

A few months back, Facebook’s parent company Meta hinted that it was working on an open-source large language model that would outperform private models. On July 23, 2024, they released the model. 

Meta’s recently released Llama 3.1 405B is the largest-ever open-source artificial intelligence (AI) model. Announcing the release in a blog post, Meta said, “We’re publicly releasing Meta Llama 3.1 405B, which we believe is the world’s largest and most capable openly available foundation model.”

Llama 3.1 405B is the first freely accessible model that can compete with the best AI models in terms of general knowledge, steerability, math, tool use, and language translation. Meta is launching improved versions of the 8B and 70B models. These are multilingual, with a greater context length of 128K, and overall stronger reasoning ability.

Meta’s CEO Mark Zuckerberg expects that from next year onwards the Llama models will be the most advanced in the industry. 

How Is Meta Llama 3 Better Than Claude 3 Sonnet & Gemini Pro 1.5? Check Here 

Key Features

These are the key features of the newly released Llama 3.1 models: 

  1. Context Length- Llama 3.1 models have an expanded context length of 128K tokens that allows for more complex and lengthy interactions.
  1. Multilingual Support- The models also include support across eight languages.
  1. Llama 3.1 405B- Meta’s flagship model, Llama 3.1 405B, is the first open-source AI model of its caliber. It has unmatched flexibility, control, and capabilities that can rival the best closed-source models.

Performance and Benchmarks

Llama 3.1 uses a typical decoder-only transformer model design, with minimal modifications. The 405B parameter model was trained on almost 15 trillion tokens utilizing 16 thousand H100 GPUs, making it the most powerful Llama model to date.

Meta analyzed the performance of Llama 3.1 models on more than 150 benchmark datasets from a variety of languages. Also, they conducted human evaluations comparing Llama 3.1 to competing models in real-world circumstances. 

Meta claims that the testing results show that Llama 3.1 405B can compete with leading foundation models- GPT-4, GPT-4o, and Claude 3.5 Sonnet- on different tasks. Let’s take a detailed look: 

CategoryBenchmarkLlama 3.1 405BNemotron 4 340B InstructGPT-4 (0125)GPT-4 OmniClaude 3.5 Sonnet
GeneralMMLU (0-shot, CoT)88.678.7 (non-CoT)85.488.788.3
MMLU PRO (5-shot, CoT)73.362.764.874.077.0
IFEval88.685.184.385.688.0
CodeHumanEval (0-shot)89.073.286.690.292.0
MBPP EvalPlus (base) (0-shot)88.672.883.687.890.5
MathGSM8K (8-shot, CoT)96.892.3 (0-shot)94.296.196.4 (0-shot)
MATH (0-shot, CoT)73.841.164.576.671.1
ReasoningARC Challenge (0-shot)96.994.696.496.796.7
GPOQA (0-shot, CoT)51.141.453.659.4
Tool useBFCL88.586.588.380.590.2
Nexus58.750.356.145.7
Long contextZeroSCROLLS/QuALITY95.295.290.5
InfiniteBench/En.MC83.472.182.5
NIH/Multi-needle98.1100.0100.090.8
MultilingualMultilingual MGSM91.685.990.591.6
CategoryBenchmarkLlama 3.1 8BGemma 2 9B ITMistral 7B InstructLlama 3.1 70BMixtral 8x22B InstructGPT 3.5 Turbo
GeneralMMLU (0-shot, CoT)73.072.3 (5-shot, non-CoT)60.586.079.969.8
MMLU PRO (5-shot, CoT)48.336.966.456.349.2
IFEval80.473.657.687.572.769.9
CodeHumanEval (0-shot)72.654.340.280.575.668.0
MBPP EvalPlus (base) (0-shot)72.871.749.586.078.682.0
MathGSM8K (8-shot, CoT)84.576.753.295.188.281.6
MATH (0-shot, CoT)51.944.313.068.054.143.1
ReasoningARC Challenge (0-shot)83.487.674.294.888.783.7
GPOQA (0-shot, CoT)32.828.846.733.330.8
Tool useBFCL76.160.484.885.9
Nexus38.530.024.756.748.537.2
Long contextZeroSCROLLS/QuALITY81.090.5
InfiniteBench/En.MC65.178.2
NIH/Multi-needle98.897.5
MultilingualMultilingual MGSM (0-shot)68.953.229.986.971.151.4
Mistral 7B Outperforms LLaMA 2 and GPT-3.5 by running 6x faster

Human Evaluation

When testing their flagship model Llama 3.1 405B against its competitors like GPT-4-0125-Preview, GPT-4o, and Claude 3.5 Sonnet, the following results were found. Llama 3.1 405B shows a win record of 23.3% against GPT-4-0125-Preview, 19.1% against GPT-4o, and 24.9% against Claude 3.5 Sonnet, with ties at 52.2%, 51.7%, and 50.8%.

Pricing

Here is a table depicting Llama 3.1 inference API public pricing per million tokens: 

Model5B70B405B
InputOutputInputOutputInputOutput
AWS$0.30$0.60$2.65$3.50
Azure$0.30$0.61$2.68$3.54$5.33$16.00
Databricks$1.00$3.00$10.00$30.00
Fireworks.ai$0.20$0.20$0.90$0.90$3.00$3.00
IBM$0.60$0.60$1.80$1.80$35.00$35.00
Octo.ai$0.15$0.15$0.90$0.90$3.00$9.00
Snowflake$0.57$0.57$3.63$3.63$15.00$15.00
Together.AI$0.18$0.18$0.88$0.88$5.00$15.00

Meta AI vs ChatGPT: Which One is Better and Best?

Accessibility

Llama 3.1 models are available for download on llama.meta.com and Hugging Face. They are also ready for immediate development on various partner platforms, including AWS, NVIDIA, and Databricks. 

The Bottom Line

The release of Llama 3.1 models has the whole tech community in a grapple. From Twitter to Reddit, every enthusiast is talking about Meta and its latest open-source LLM. If you would like to test the LLM, then head over to https://llama.meta.com/ and see for yourself.

Claude 3.5 Sonnet vs GPT-4o vs Gemini 1.5: Which is the Most Powerful AI Model?

This post was last modified on July 24, 2024 2:32 am

Raya

Raya is a tech enthusiast diving deep into New-Age technology, especially Artificial Intelligence (AI) and Machine Learning (ML). She is passionate about decoding the complexities and uses of new-age tech. Raya is on a mission to write articles that bridge the gap between technical jargon and everyday understanding, making AI and ML accessible to a wider audience.

Recent Posts

Google is moving Android news to a virtual event before I/O

Google is launching The Android Show: I/O Edition, featuring Android ecosystem president Sameer Samat, to…

April 29, 2025

Top Generative AI Companies of the World 2025

The top 11 generative AI companies in the world are listed below. These companies have…

April 28, 2025

Veo 2 extends access to more Gemini Advanced Users

Google has integrated Veo 2 video generation into the Gemini app for Advanced subscribers, enabling…

April 25, 2025

Perplexity launches the iPhone voice assistant

Perplexity's iOS app now makes its conversational AI voice assistant compatible with Apple devices, enabling…

April 24, 2025

Ola’s AI arm Krutrim intends to raise $300 million

Bhavish Aggarwal is in talks to raise $300 million for his AI company, Krutrim AI…

April 22, 2025

World’s first humanoid half-marathon pits people against robots

The Beijing Humanoid Robot Innovation Center won the Yizhuang Half-Marathon with the "Tiangong Ultra," a…

April 22, 2025