M

Llama 3.1 405B

Meta

ChatCodeReasoningOpen SourceOpen Source

About

Meta's largest open-weight model with state-of-the-art performance across benchmarks. Full open access with no restrictions. Competes with the best proprietary models on reasoning, coding, and general tasks. Available for both commercial and research use.

Provider

Meta

Context Window

128k tokens

Max Output

4,096 tokens

Model ID

meta/llama-3.1-405b

Capabilities

Open weights128k contextTool useStreamingNo restrictions

API Usage

Drop-in compatible with any OpenAI client library.

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.deployai.dev/v1",
  apiKey: process.env.DEPLOYAI_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "meta/llama-3.1-405b",
  messages: [
    { role: "user", content: "Hello, how are you?" }
  ],
});

console.log(completion.choices[0].message.content);

Related Models

View all