Llama 3.1 405B (base)

Meta chattool_use

API ID: meta-llama/llama-3.1-405b

Input Price
$4.00
/1M tokens
Output Price
$4.00
/1M tokens

About Llama 3.1 405B (base)

Llama 3.1 405B (base) is a mid-range general-purpose model from Meta with standard context (33k), suitable for conversations, content creation, and general AI tasks.

๐Ÿ’ฐ
Price Ranking
#878 lowest price among 950 Chat models

Model Specifications

Context Length
33k
Max Output
33k
Release Date
2024-08-02
Capabilities
chat tool_use
Input Modalities
text
Output Modalities
text

Best For

  • Conversations, content writing, general assistance

Consider Alternatives For

  • Image understanding (needs vision capability)

๐Ÿ’ฐ Real-World Cost Examples

Estimated monthly costs for common use cases

Personal AI Assistant
$3.00
/month
50 conversations/day, ~500 tokens each
Customer Service Bot
$96.00
/month
1000 tickets/day, ~800 tokens each

Meta Model Lineup

Compare all models from Meta to find the best fit

Model Input Output Context Capabilities
Llama 3.1 405B (base) Current Free Free 33k chat tool_use
Llama 3.2 3B Instruct Free Free 80k chat tool_use
Llama 3 70B (Base) Free Free 8k chat
Llama 3 70B (Base) Free Free 8k chat
LlamaGuard 2 8B Free Free 8k chat
Llama 3 8B (Base) Free Free 8k chat

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

Other Magnum v4 72B
Input: $3.00
Output: $5.00
Context: 16k
Mistral Mixtral 8x22B Instruct
Input: $2.00
Output: $6.00
Context: 66k
Mistral Mistral Large 2411
Input: $2.00
Output: $6.00
Context: 131k
Mistral Mistral Large 2407
Input: $2.00
Output: $6.00
Context: 131k

๐Ÿš€ Quick Start

Get started with Llama 3.1 405B (base) API

OpenAI-compatible SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.provider.com/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="meta-llama/llama-3.1-405b",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)