Official

meta / meta-llama-3.1-405b-instruct

Meta's flagship 405 billion parameter language model, fine-tuned for chat completions

  • Public
  • 5.4M runs
  • Priced per token
  • GitHub
  • License

Input

string
Shift + Return to add a new line

Prompt

Default: ""

string
Shift + Return to add a new line

System prompt to send to the model. This is prepended to the prompt and helps guide system behavior. Ignored for non-chat models.

Default: "You are a helpful assistant."

integer

The minimum number of tokens the model should generate as output.

Default: 0

integer

The maximum number of tokens the model should generate as output.

Default: 512

number

The value used to modulate the next token probabilities.

Default: 0.6

number

A probability threshold for generating the output. If < 1.0, only keep the top tokens with cumulative probability >= top_p (nucleus filtering). Nucleus filtering is described in Holtzman et al. (http://arxiv.org/abs/1904.09751).

Default: 0.9

integer

The number of highest probability tokens to consider for generating the output. If > 0, only keep the top k tokens with highest probability (top-k filtering).

Default: 50

number

Presence penalty

Default: 0

number

Frequency penalty

Default: 0

string
Shift + Return to add a new line

A comma-separated list of sequences to stop generation at. For example, '<end>,<stop>' will stop generation at the first instance of 'end' or '<stop>'.

string
Shift + Return to add a new line

A template to format the prompt with. If not provided, the default prompt template will be used.

Output

Here are ten prompts for an image generation model featuring ZIKI in various scenarios: 1. **ZIKI**, a 43-year-old man with a rugged beard, stands triumphantly atop a snow-capped mountain, his weathered face creased with a warm smile as he gazes out at the breathtaking sunrise, his bright orange jacket and gloves a stark contrast to the icy landscape. 2. In a dimly lit, smoke-filled jazz club, **ZIKI** sits at the piano, his eyes closed in concentration as he improvises a soulful melody, his graying hair slicked back, revealing a prominent widow's peak, while his slender fingers dance across the keys. 3. Wearing a crisp white apron, **ZIKI** expertly flips a sizzling pancake in a bustling diner kitchen, his 43-year-old face flushed from the heat, a sprinkle of flour dusting his nose, as he flashes a cheerful grin at a coworker. 4. **ZIKI**, dressed in a sleek black tuxedo, stands confidently at the podium of a grand auditorium, his voice booming as he delivers a passionate speech, his mature features illuminated by the soft glow of the stage lights. 5. In a serene, candlelit yoga studio, **ZIKI** balances effortlessly in tree pose, his eyes focused inward, his weathered skin glowing with a warm, golden light, as he exhales a gentle breath, his graying hair tied back in a ponytail. 6. **ZIKI**, clad in a worn leather jacket, strums a power chord on his electric guitar in a cramped, graffiti-covered music studio, his 43-year-old face set in a fierce expression, as he loses himself in the raw energy of the music. 7. Surrounded by vibrant, exotic flowers, **ZIKI** tends to his lush garden, his face creased with a gentle smile as he inspects a particularly radiant bloom, his mature features softened by the warm sunlight and gentle colors. 8. **ZIKI**, dressed in a crisp, navy blue business suit, sits at the head of a sleek, modern conference table, his eyes locked intently on a colleague as he leads a high-stakes meeting, his 43-year-old face a picture of confident authority. 9. In a cozy, book-lined study, **ZIKI** sits in a worn, leather armchair, his eyes lost in the pages of a dog-eared novel, his graying hair mussed, as he sips a steaming cup of coffee, a look of quiet contemplation on his mature face. 10. **ZIKI**, wearing a bright, Hawaiian shirt, laughs joyfully as he spins a colorful, hand-painted ceramic plate in a sun-drenched pottery studio, his 43-year-old face aglow with creative enthusiasm, as he shares a moment of artistic triumph with a fellow craftsperson.
Generated in
Input tokens
120
Output tokens
600
Tokens per second
26.98 tokens / second
Time to first token

Pricing

Official model
Pricing for official models works differently from other models. Instead of being billed by time, you’re billed by input and output, making pricing more predictable.

This language model is priced by how many input tokens are sent as inputs and how many output tokens are generated.

TypePer unitPer $1
Input
$9.50 / 1M tokens
or
100K tokens / $1
Output
$9.50 / 1M tokens
or
100K tokens / $1

For example, for $10 you can run around 1,504 predictions where the input is a sentence or two (15 tokens) and the output is a few paragraphs (700 tokens).

Check out our docs for more information about how per-token pricing works on Replicate.

Readme

Meta Llama 3.1 405B Instruct is an instruction-tuned generative language model developed by Meta. It is optimized for multilingual dialogue use cases and outperform many of the available open source and closed chat models on common industry benchmarks. Supported languages are English, German, French, Italian, Portuguese, Hindi, Spanish, and Thai.

The model is trained on over 15 trillion tokens from a mix of publicly available online data, consisting of multilingual text and code. The cutoff date in the dataset is December 2023. The model was trained for 30.84 million GPU hours.

For additional details, please refer to the official model card: https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/MODEL_CARD.md