NousResearch

Hermes-4-405B

405.9B parameters · reasoning · Reasoning · Hermes family

llama3 source matched revision pinned
Good for: Agentic & tool use

Nothing to download yet — request it on the board

We catalog this model, but no build is staged here yet. Add it to the request board so we know there is demand to mirror it.

Request this model on the board

Which version should I download?

Set your rig so we can size a quant to your hardware and show which quants fit.

Set your rig
No quantizations published yet.

Want a different quant? Request it on the board →

Context

Advertised 128k · no independent evidence yet

No independent long-context evidence has been graded for this model yet — the advertised window above is the maintainer's number, not a usable-context claim.

Capabilities (as declared by the maintainer): reasoning tool calling

Run it

Context / KV 8,192 tokens · FP16 set above the quant table

No quant selected.

Technical details

Chat template

{%- set thinking_prompt = 'You are a deep thinking AI, you may use extremely long chains of thought to deeply consider the problem and deliberate with yourself via systematic reasoning processes to help come to a correct solution prior to answering. You should enclose your thoughts and internal monologue inside <think> </think> tags, and then provide your solution or response to the problem.' %}
{%- set standard_prompt = 'You are Hermes, created by Nous Research.' %}
{%- if not thinking is defined %}{% set thinking = false %}{% endif %}
{%- if not keep_cots is defined %}{% set keep_cots = false %}{% endif %}
{%- if thinking %}{%- set system_prompt = thinking_prompt %}{%- else %}{%- set system_prompt = standard_prompt %}{%- endif %}
{%- if tools %}
    {{- bos_token + '<|start_header_id|>system<|end_header_id|>\n' }}
    {%- if messages[0]['role'] == 'system' %}
        {{- messages[0]['content'] }}
    {%- else %}
        {{- system_prompt }}
    {%- endif %}
    {{- "\n\n# Tools\n\nYou are a function calling AI model. You may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
    {%- for tool in tools %}
        {{- "\n" }}
        {{- tool | tojson }}
    {%- endfor %}
    {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": \"<function-name>\", \"arguments\": <args-json-object>}\n</tool_call><|eot_id|>" }}
{%- else %}
    {%- if messages[0]['role'] == 'system' %}
        {{- bos_token + '<|start_header_id|>system<|end_header_id|>\n\n' + messages[0]['content'] + '<|eot_id|>' }}
    {%- else %}
        {{- bos_token + '<|start_header_id|>system<|end_header_id|>\n\n' + system_prompt + '<|eot_id|>' }}
    {%- endif %}
{%- endif %}
{%- for message in messages %}
    {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
        {{- '<|start_header_id|>' + message.role + '<|end_header_id|>\n\n' + message.content + '<|eot_id|>' }}
    {%- elif (message.role == "assistant" and not message.tool_calls) %}
        {{- '<|start_header_id|>' + message.role + '<|end_header_id|>\n' }}
        {%- if message.content %}
            {%- set content = message['content'] -%}
            {%- if thinking %}
                {%- if not keep_cots %}
                    {%- set content = '<think> </think>' + content.split('</think>', 1)[1] -%}
                {%- endif %}
            {%- endif %}
            {{- '\n' + content + '<|eot_id|>' }}
        {%- endif %}
    {%- elif message.role == "assistant" %}
        {{- '<|start_header_id|>' + message.role + '<|end_header_id|>\n' }}
        {%- if message.content %}
            {%- set content = message['content'] -%}
            {%- if thinking %}
                {%- if not keep_cots %}
                    {%- set content = '<think> </think>' + content.split('</think>', 1)[1] -%}
                {%- endif %}
            {%- endif %}
            {{- '\n' + content }}
        {%- endif %}
        {%- for tool_call in message.tool_calls %}
            {%- if tool_call.function is defined %}
                {%- set tool_call = tool_call.function %}
            {%- endif %}
            {{- '\n<tool_call>\n{"name": "' }}
            {{- tool_call.name }}
            {{- '", "arguments": ' }}
            {{- tool_call.arguments | tojson }}
            {{- '}\n</tool_call>' }}
        {%- endfor %}
        {{- '<|eot_id|>' }}
    {%- elif message.role == "tool" %}
        {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
            {{- '<|start_header_id|>user<|end_header_id|>\n' }}
        {%- endif %}
        {{- '\n<tool_response>\n' }}
        {{- message.content }}
        {{- '\n</tool_response>' }}
        {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
            {{- '<|eot_id|>' }}
        {%- endif %}
    {%- endif %}
{%- endfor %}
{%- if add_generation_prompt %}
    {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' }}
{%- endif %}

Sampling defaults

top_p
0.9
temperature
0.6

Stop strings

<|eot_id|> <|end_of_text|>

Evidence & provenance

Source

Revision pin
88e3dce03c4a5535e2f4a2bcc08e939a2b302f82
Manifest
None

License

Name
llama3
Commercial use
unclear
Access
Open

How verification works →

File hashes (SHA-256)

No file hashes recorded yet.

Explore further

Get an email when a better quant fits your rig.

Set your rig once; we'll alert you when a new or better-fitting build lands.

Set your rig

Performance reports

Real-world throughput reported by the community (and scraped sources).

Community

Reviews, sampler presets and community runtime reports. Be the first to contribute.

Reviews (0)

Log in to write a structured review of this model.

No reviews yet.

Sampler presets

Log in to share a sampler preset or vote on presets.

No presets yet.

Community runtime reports

Unofficial, community-submitted "it loads for me" reports. These are not the official verified-working badge — an admin reviews reports before anything is marked officially verified.

Log in to report whether a quant loads in your runtime.

No community reports yet.

selected to compare · pick at least 2