> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kymaapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Hermes 3 405B

> Nous Research's fine-tune of Llama 3.1 405B, tuned for steerability rather than refusal: it follows a system prompt further than the Instruct model it is built on, which is why roleplay, persona and agent-scaffold work keep reaching for it. Reliable function calling and structured output are part of the tune, not bolted on.

## Overview

Nous Research's fine-tune of Llama 3.1 405B, tuned for steerability rather than refusal: it follows a system prompt further than the Instruct model it is built on, which is why roleplay, persona and agent-scaffold work keep reaching for it. Reliable function calling and structured output are part of the tune, not bolted on.

## Specs

| Field | Value |
| - | - |
| Model ID | `hermes-3-405b` |
| Best for | Steerable assistants, persona work, structured output |
| Context window | 131,072 |
| Max output tokens | 8K |
| Input modalities | Text |
| Output modalities | Text |
| Tool calling | Yes |
| Structured outputs | Yes |
| Prompt caching | No |
| Vision | No |
| Reasoning | No |
| Speed | Medium |
| Cost band | Balanced |
| Release stage | Stable |

## Pricing

| | Per 1M tokens |
| - | :-: |
| Input | \$1.35 |
| Output | \$1.35 |

## Example

```python theme={null}
from openai import OpenAI

client = OpenAI(base_url="https://kymaapi.com/v1", api_key="kyma-...")

response = client.chat.completions.create(
    model="hermes-3-405b",
    messages=[{"role": "user", "content": "..."}],
    tools=[...],  # function calling supported
)
```

## Agent query example

Ask the API which models fit, instead of hardcoding an id:

```bash theme={null}
curl "https://kymaapi.com/v1/models?recommended_for=chat&tools=true&quality_tier=frontier-open"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.