Using Hermes 2 Pro Mistral 7B on Fireworks AI
Implementation guide · Hermes 2 · Nous Research
ProvisionedOpen Source
Fireworks AI exposes Hermes 2 Pro Mistral 7B through model ID accounts/fireworks/models/hermes-2-pro-mistral-7b. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-09-29. Next refresh: weekly.
Quick Start
- 1
- 2Use the Fireworks AI SDK or REST API to call
accounts/fireworks/models/hermes-2-pro-mistral-7b— see the documentation for request format. - 3
Code Examples
Install
pip install openaiAPI key
FIREWORKS_API_KEYModel ID
accounts/fireworks/models/hermes-2-pro-mistral-7bFireworks model IDs use "accounts/fireworks/models/{model-name}" format, e.g. "accounts/fireworks/models/llama4-scout-instruct-basic" or "accounts/fireworks/models/deepseek-r1".
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["FIREWORKS_API_KEY"],
base_url="https://api.fireworks.ai/inference/v1"
)
response = client.chat.completions.create(
model="accounts/fireworks/models/hermes-2-pro-mistral-7b",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Pricing on Fireworks AI
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.20 |
| Output tokens | $0.20 |
Capabilities
JSON / Tool use
About Hermes 2 Pro Mistral 7B
7B Hermes on Mistral architecture with 90-91% function calling accuracy and 84% JSON generation accuracy. Supports ChatML for structured multi-turn interactions.
Model Specs
Released2023-12-12
Parameters7B
Context32k
ArchitectureDecoder Only
Knowledge cutoff2023-12