Meta: Llama 3.1 405B (base) (free)
meta-llama/llama-3.1-405b:free
Created Aug 2, 202464,000 context
$0/M input tokens$0/M output tokens
Providers for Llama 3.1 405B (base) (free)
OpenRouter routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.
fp8 | Context 64K Max Output 64K Input $0 Output $0 |
1.
Cline
Autonomous coding agent right in your IDE
3.85Mtokens
2.
SillyTavern
LLM frontend for power users
3.46Mtokens
3.
OpenRouter: Chatroom
Chat with multiple LLMs at once
2.46Mtokens
4.
Roo Code
A whole dev team of AI agents in your editor
1.13Mtokens
5.
Loomsidian
new
934Ktokens
6.
Chub AI
GenAI for everyone
751Ktokens
7.
TypingMind
A better UI for ChatGPT
595Ktokens
8.
Agnaistic
A "bring your own AI" chat service
389Ktokens
9.
RisuAI
Browse characters, choose models, and chat
332Ktokens
10.
Open WebUI
Extensible, self-hosted AI interface
319Ktokens
11.
TaskWeaver-UI
new
301Ktokens
12.
Cherry Studio
new
272Ktokens
13.
Cline Chinese
new
257Ktokens
14.
Mantella
Skyrim & Fallout 4 mod, naturally speak to NPCs
255Ktokens
15.
novelcrafter
Your personal novel writing toolbox. Plan, write and tinker with your story.
183Ktokens
16.
lite.koboldai.net
new
162Ktokens
17.
AnythingLLM
new
97Ktokens
18.
M31-Autonomous
new
89Ktokens
19.
DREAMIO: AI-Powered Adventures
new
76Ktokens
20.
big-AGI
Precision AI for professionals
74Ktokens
Uptime stats for Llama 3.1 405B (base) (free)
Uptime stats for Llama 3.1 405B (base) (free) on the only provider
When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it.
Learn more about our load balancing and customization options.
Sample code and API for Llama 3.1 405B (base) (free)
OpenRouter normalizes requests and responses across providers for you.
OpenRouter provides an OpenAI-compatible completion API to 300+ models & providers that you can call directly, or using the OpenAI SDK. Additionally, some third-party SDKs are available.
In the examples below, the OpenRouter-specific headers are optional. Setting them allows your app to appear on the OpenRouter leaderboards.
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="<OPENROUTER_API_KEY>",
)
completion = client.chat.completions.create(
extra_headers={
"HTTP-Referer": "<YOUR_SITE_URL>", # Optional. Site URL for rankings on openrouter.ai.
"X-Title": "<YOUR_SITE_NAME>", # Optional. Site title for rankings on openrouter.ai.
},
extra_body={},
model="meta-llama/llama-3.1-405b:free",
messages=[
{
"role": "user",
"content": "What is the meaning of life?"
}
]
)
print(completion.choices[0].message.content)
Using third-party SDKs
For information about using third-party SDKs and frameworks with OpenRouter, please see our frameworks documentation.
See the Request docs for all possible fields, and Parameters for explanations of specific sampling parameters.