Pricing, context window, capabilities, and release date — pulled from each provider's public docs. Both are available via the same AIgateway OpenAI-compatible endpoint; flip the model string to switch.
Both models stream in parallel through your own AIgateway key. Tokens, latency, and cost update as they arrive.
| Hermes-2-Pro-Mistral-7b hf/nousresearch/hermes-2-pro-mistral-7b | Mistral Small 4 mistral/mistral-small-4-0-26-03 | |
|---|---|---|
| Provider | Hugging Face | Mistral |
| Family | Mistral | Mistral |
| Modality | text | text |
| Context window | 24,000 tok | 131,072 tok |
| Max output | 4,096 tok | 16,384 tok |
| Released | 2024-04-01 | 2026-03-01 |
| Input price | $0.050 /1M | $0.200 /1M |
| Output price | $0.100 /1M | $0.600 /1M |
| Cache read | — | — |
| Tools | yes | yes |
| Streaming | yes | yes |
| Vision | — | yes |
| JSON mode | yes | yes |
| Reasoning | — | — |
| Prompt caching | — | — |
Hermes 2 Pro on Mistral 7B is the new flagship 7B Hermes! 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.
Mistral Small 4 (Mar 2026) — compact frontier-class text model.
# pip install aigateway-py openai
# aigateway-py: sub-accounts, evals, replays, jobs, webhook verify.
# openai SDK: chat/embeddings/images/audio — drop-in compat per our SDK's own guidance.
from openai import OpenAI
client = OpenAI(
base_url="https://api.aigateway.sh/v1",
api_key="sk-aig-...",
)
# Try Hermes-2-Pro-Mistral-7b
client.chat.completions.create(
model="hf/nousresearch/hermes-2-pro-mistral-7b",
messages=[{"role":"user","content":"hello"}],
)
# Try Mistral Small 4 — same client, same key
client.chat.completions.create(
model="mistral/mistral-small-4-0-26-03",
messages=[{"role":"user","content":"hello"}],
)