Llama-3.1-8B-Instruct
huggingface/meta-llama/Llama-3.1-8B-Instruct · family llama · in: text → out: text · price provider-declared (via models.dev). Capabilities: toolstext.
$0.06Blended $/1M (3:1)
$0.06Input $/1M
$0.06Output $/1M
$0.121M in + 1M out
—Cache read $/1M
#572 of 5,863Cheapest rank
- Provider
- Hugging Face (
huggingface) - Kind
- text (outputs text)
- Context
- 131,072 tokens
- Max output
- 4,096 tokens
- Capabilities
- toolstext
Same model, other providers
“Llama-3.1-8B-Instruct” is offered by 4 providers — cheapest-effective first. Kilo Gateway is the cheapest at $0.03 blended.
| Provider | Input | Output | Blended | Context |
|---|---|---|---|---|
| Kilo Gateway | $0.02 | $0.04 | $0.03 | 131k |
| OpenRouter | $0.05 | $0.08 | $0.06 | 131k |
| Hugging Face (this) | $0.06 | $0.06 | $0.06 | 131k |
| Cortecs | $0.167 | $0.167 | $0.17 | 128k |
Call it
jishie indexes & prices models; it does not proxy inference.
Most providers are OpenAI-compatible — point base_url at Hugging Face and pass this model id:
curl $BASE_URL/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
-d '{"model":"meta-llama/Llama-3.1-8B-Instruct","messages":[{"role":"user","content":"hello"}]}'
Route programmatically with MCP find_model / get_model, or fetch this record free (no wallet):