Hermes 3 405B Instruct overview
Hermes 3 405B Instruct specs
- Model ID
nousresearch/hermes-3-llama-3.1-405b- Developer
- NousResearch
- Context window
- 131,072 tokens
- Max output
- 16,384 tokens
- Input
- Image, Text
- Output
- Text
- API
- OpenAI-compatible, base URL
https://api.aimlapi.com/v1
What is Hermes 3 405B Instruct API?
Where to Use Hermes 3 405B Instruct
Coding and code review
Generate, debug, and review code across languages, reading whole files or repos in a single prompt.
Agentic and multi-step workflows
Reliable tool-calling and instruction-following suit agent loops that plan, call tools, and iterate.
Use cases
Hermes 3 405B Instruct is documented as well-suited for interactive, multi-turn conversations and roleplaying, with emphasis on maintaining coherent and contextually relevant dialogue. It is also described as a valuable tool for software development and code analysis, including agentic coding generation and implementation planning.
The model is additionally suited to agentic applications and workflow automation, including multi-step tool use. It is also recommended for complex reasoning tasks such as logic puzzles, mathematical problems, and analysis.
Capabilities
- Function calling
- Reasoning
- Streaming
- Structured outputs
- Web search
Hermes 3 405B Instruct API pricing
| Usage | Price | Unit |
|---|---|---|
| Input | $1.06 | 1M tokens |
| Output | $1.06 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
Hermes 3 405B Instruct vs other models: token prices
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $1.06 | $1.06 | |
| $0.7406 | $0.7406 | |
| $0.2857 | $1.06 | |
| $0.2857 | $1.06 | |
| $1.06 | $3.17 |
How to use the Hermes 3 405B Instruct API
View docsBuild with your agent
Give your agent the model details, code and documentation.
1Get your API key
Create API keyexport AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"2Make your first request
curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "nousresearch/hermes-3-llama-3.1-405b",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "nousresearch/hermes-3-llama-3.1-405b",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "nousresearch/hermes-3-llama-3.1-405b",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Related articles
Hermes 3 405B Instruct FAQ
What is the context window of Hermes 3 405B Instruct?
Hermes 3 405B Instruct has a 131,072 tokens context window and can return up to 16,384 tokens.
What inputs and outputs does Hermes 3 405B Instruct support?
Hermes 3 405B Instruct takes image, text as input and returns text.
What is the model ID for Hermes 3 405B Instruct?
Use nousresearch/hermes-3-llama-3.1-405b as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
How much does Hermes 3 405B Instruct cost?
Hermes 3 405B Instruct costs $1.06 input and $1.06 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Does Hermes 3 405B Instruct support streaming?
Yes, Hermes 3 405B Instruct can stream responses as they are generated.
Can Hermes 3 405B Instruct read images?
Yes, Hermes 3 405B Instruct accepts image input alongside text.
Who created Hermes 3 405B Instruct?
Hermes 3 405B Instruct was built by NousResearch.
Can Hermes 3 405B Instruct call external functions or tools?
Yes, it supports function calling along with parallel tool calls and tool use.

