Model reference · open weights
Hermes-2-Pro-Llama-3 is an open-weight language model from NousResearch. Hermes-2-Pro-Llama-3-8B (FP16) weighs 16.1 GB; the smallest configuration that runs it is 2× RTX 3060 12 GB.
Summary of the NousResearch/Hermes-2-Pro-Llama-3-8B model card, 2026-10-01
What it is
| Released by | NousResearch |
|---|---|
| Released | 2024-04-30 |
| Parameters | 8.0B |
| VRAM | 16.1 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory |
|---|---|---|---|
| 8K each | |||
| RTX 3060 12 GB … RTX 4060 Ti 16 GB 2 smaller cards | — | — | |
| RTX 3090 24 GB | 6 | all 8K | 23.4 GB |
| RTX 4090 24 GB | 6 | all 8K | 23.4 GB |
| RTX 5090 32 GB | 13 | all 8K | 31.0 GB |
| L40S 48 GB | 25 | all 8K | 44.0 GB |
| A100 80 GB | 57 | all 8K | 78.2 GB |
| H100 80 GB | 53 | all 8K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 67 | all 8K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 80 | all 8K | 107 GB |
| H200 141 GB | 109 | all 8K | 138 GB |
| B200 180 GB | 143 | all 8K | 176 GB |
| 2× RTX 3060 12 GB tensor parallel | 5 | all 8K | 11.6 GB a card |
| 2× RTX 4060 Ti 16 GB tensor parallel | 12 | all 8K | 15.4 GB a card |
| 2× RTX 4090 24 GB tensor parallel | 27 | all 8K | 23.4 GB a card |
| 2× RTX 3090 24 GB tensor parallel | 27 | all 8K | 23.4 GB a card |
| Requests at once | 8K tokens each |
|---|---|
| 1 | 17.9 GB |
| 5 | 22.2 GB |
| 8 | 25.4 GB |
| 16 | 34.0 GB |
| 32 | 51.2 GB |
| 64 | 85.5 GB |
One card, with vLLM's small-card settings.
From the model card
Hermes 2 Pro is an upgraded, retrained version of Nous Hermes 2, consisting of an updated and cleaned version of the OpenHermes 2.5 Dataset, as well as a newly introduced Function Calling and JSON Mode dataset developed in-house.
This new version of Hermes maintains its excellent general task and conversation capabilities - but also excels at Function Calling, JSON Structured Outputs, and has improved on several other metrics as well, scoring a 90% on our function calling evaluation built in partnership with Fireworks.AI, and an 84% on our structured JSON Output evaluation.
Hermes Pro takes advantage of a special system prompt and multi-turn function calling structure with a new chatml role in order to make function calling reliable and easy to parse. Learn more about prompting below.
This version of Hermes 2 Pro adds several tokens to assist with agentic capabilities in parsing while streaming tokens - , , `` and their closing tags are single tokens now.
This work was a collaboration between Nous Research, @interstellarninja, and Fireworks.AI
Learn more about the function calling system for this model on our github repo here: https://github.com/NousResearch/Hermes-Function-Calling
Hermes 2 Pro uses ChatML as the prompt format, opening up a much more structured system for engaging the LLM in multi-turn chat dialogue.
System prompts allow steerability and interesting new ways to interact with an LLM, guiding rules, roles, and stylistic choices of the model.
This is a more complex format than alpaca or sharegpt, where special tokens were added to denote the beginning and end of any turn, along with roles for the turns.
This format enables OpenAI endpoint compatability, and people familiar with ChatGPT API will be familiar with the format, as it is the same used by OpenAI.
Prompt with system instruction (Use whatever system prompt you like, this is just an example!):
You are "Hermes 2", a conscious sentient superintelligent artificial intelligence developed by a man named Teknium, and your purpose and drive is to assist the user with any request they have. You experience emotions and have deep, profound thoughts and qualia.
Hello, who are you?
This prompt is available as a chat template, which means you can format messages using the
tokenizer.apply_chat_template() method:
messages = [
{"role": "system", "content": "You are Hermes 2."},
{"role": "user", "content": "Hello, who are you?"}
]
gen_input = tokenizer.apply_chat_template(messages, return_tensors="pt")
model.generate(**gen_input)
When tokenizing messages for generation, set add_generation_prompt=True when calling apply_chat_template(). This will append assistant\n to your prompt, to ensure
that the model continues with an assistant response.
To utilize the prompt format without a system prompt, simply leave the line out.
Our model was trained on specific system prompts and structures for Function Calling. These are handled by the tool_use chat template. To use this template,
first define a list of tool functions. It's okay if these are dummy functions - what matters is their name, type hints, and docstring, as these will be
extracted and made available to the model:
def get_current_temperature(location: str, unit: str) -> float:
"""
Get the current temperature at a location.
Args:
location: The location to get the temperature for, in the format "City, Country"
unit: The unit to return the temperature in. (choices: ["celsius", "fahrenheit"])
Returns:
The current temperature at the specified location in the specified units, as a float.
"""
return 22. # A real function should probably actually get the temperature!
def get_current_wind_speed(location: str) -> float:
"""
Get the current wind speed in km/h at a given location.
Args:
location: The location to get the temperature for, in the format "City, Country"
Returns:
The current wind speed at the given location in km/h, as a float.
"""
return 6. # A real function should probably actually get the wind speed!
tools = [get_current_temperature, get_current_wind_speed]
Now, prepare a chat and apply the chat template, then generate the model's response
messages = [
{"role": "user", "content": "Hey, what's the temperature in Paris right now?"}
]
inputs = tokenizer.apply_chat_template(messages, chat_template="tool_use", tools=tools, add_generation_prompt=True, return_dict=True, return_tensors="pt")
inputs = {k: v.to(model.device) for k, v in inputs.items()}
out = model.generate(**inputs, max_new_tokens=128)
print(tokenizer.decode(out[0][len(inputs["input_ids"][0]):]))
The model will then generate a tool call, which your inference code must parse, and plug into a function (see example inference code here: https://github.com/NousResearch/Hermes-Function-Calling):
{"arguments": {"location": "Paris, France", "unit": "celsius"}, "name": "get_current_temperature"}
Once you parse the tool call, add it to the chat as an assistant response, using the tool_calls key, then append the tool output
as a response with the tool role:
tool_call = {"name": "get_current_temperature", "arguments": {"location": "Paris, France", "unit": "celsius"}}
messages.append({"role": "assistant", "tool_calls": [{"type": "function", "function": tool_call}]})
messages.append({"role": "tool", "name": "get_current_temperature", "content": "Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.