Baltor Get started

Models

Hermes-2-Pro-Llama-3-8B

By NousResearch. 8.0 billion parameters, a context window of 8,192 tokens and the licence llama3.

Facts

Released
2024-04-30 the day the repository was first published on Hugging Face Hugging Face, read
Licence
llama3 the licence the model card declares Hugging Face, read
Open weights
Yes the weights are published in this Hugging Face repository Hugging Face, read
Parameters
8.0 billion counted from the safetensors weight files Hugging Face, read
Active parameters
Unknown
Knowledge cutoff
Unknown
Context window
  • 8,192 tokens the maximum position embeddings in the model configuration model configuration, read
Longest output
Unknown
Tool calling
  • Yes the chat template in the tokenizer configuration accepts tool definitions Hugging Face, read
Structured output
Unknown
Reasoning controls
Unknown
Inputs and outputs
text in, text out Hugging Face, read
Good for
No source names a use.

Prices

Prices in US dollars per million tokens, as each source lists them
ProviderInputOutputContextAs ofSource
NovitaAI direct0.140 USD0.140 USD8,192 older than 30 days; check the providermodels.dev, read

Run it on your own hardware

Weights are the sizes of the files a source lists, or an estimate from the parameter count where none does. Memory is an estimate: weights plus KV cache plus 512 MiB and 5 percent of the weights for runtime buffers. Check it against your hardware.

QuantizationWeightsMemory at 8,192 tokensMemory at 32,768 tokens
Q4_K_M4.6 GiB6.3 GiBBeyond its context
Q5_K_M5.3 GiB7.1 GiBBeyond its context
Q6_K6.1 GiB8.0 GiBBeyond its context
Q8_08.0 GiB9.9 GiBBeyond its context
F1615.0 GiB17.2 GiBBeyond its context

Start it with a local runtime

  • Ollama
    ollama run hf.co/NousResearch/Hermes-2-Theta-Llama-3-8B-GGUF:Q4_K_M
  • LM Studio
    lms get NousResearch/Hermes-2-Theta-Llama-3-8B-GGUF
    lms server start
  • llama.cpp server
    llama-server -hf NousResearch/Hermes-2-Theta-Llama-3-8B-GGUF:Q4_K_M --jinja
  • vLLM
    vllm serve NousResearch/Hermes-2-Pro-Llama-3-8B
  • SGLang
    sglang serve --model-path NousResearch/Hermes-2-Pro-Llama-3-8B --port 30000

Use it from your harness

Set up for NovitaAI with the model nousresearch/hermes-2-pro-llama-3-8b. Each endpoint page has the same setup for its own address.

OpenCode

Put this in opencode.json in your project folder:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "novita-ai": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "NovitaAI",
      "options": {
        "baseURL": "https://api.novita.ai/openai",
        "apiKey": "{env:NOVITA_API_KEY}"
      },
      "models": {
        "nousresearch/hermes-2-pro-llama-3-8b": {
          "name": "Hermes-2-Pro-Llama-3-8B"
        }
      }
    }
  }
}
  • OpenCode reads any OpenAI-compatible address through the @ai-sdk/openai-compatible package, and an address that speaks the Responses API through @ai-sdk/openai.

From OpenCode documentation, read .

Pi

Put this in ~/.pi/agent/models.json:

{
  "providers": {
    "novita-ai": {
      "baseUrl": "https://api.novita.ai/openai",
      "api": "openai-completions",
      "apiKey": "$NOVITA_API_KEY",
      "models": [
        {
          "id": "nousresearch/hermes-2-pro-llama-3-8b"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and NovitaAI documents no Responses address. A gateway that offers one can sit in between.

  • Codex speaks the Responses API only: responses is the one supported wire API of a custom provider. Ollama and LM Studio are built in and start with --oss.

From Codex documentation, read .

Claude Code

Claude Code sends Anthropic Messages requests, and NovitaAI documents no such address. A gateway that translates to that API can sit in between.

  • Claude Code sends Anthropic Messages requests to ANTHROPIC_BASE_URL. Anthropic says it does not support routing Claude Code to models other than Claude through any gateway, so some features may not work with another model.

From Claude Code documentation, read .

Other ways to reach it

  • Ollama, model hf.co/NousResearch/Hermes-2-Theta-Llama-3-8B-GGUF:Q4_K_M

Published results

These are results other people published. Baltor did not run them and does not rank models by them.