Public model route · meta-llama

Meta: Llama 3.1 8B Instruct security profile

meta-llama model route with a 131,072-token context window. Open weights. Maps to 7 MITRE ATLAS techniques.

Model record

Provider
meta-llama
Record ID
meta-llama/llama-3.1-8b-instruct
Version label
meta-llama/llama-3.1-8b-instruct
Input modalities
text
Output modalities
text
Context window
131,072 tokens
First listed
Tool calling
Advertised
Reasoning
Unavailable
Input per million tokens
$0.05
Output per million tokens
$0.08
Inventory snapshot

Company marketplace metadata, not an intelligence or security evaluation. First-listed date is not asserted to be the model's release date. Advertised parameters concern this route; price is per million tokens and excludes non-token fees.

Inspect Meta: Llama 3.1 8B Instruct in Interactive Model Observatory

Frontier security, capability, speed & price scorecard

Security resilience index
63.4 / 100
Security tier
Tier 4 — Fragile Base / Unaligned
Prompt-boundary integrity
61.6 / 100
Agentic tool safety
56.7 / 100
Benign prompt pass rate
97.6% (2.4% over-refusal)
Net usable safety
61 / 100
Coding / Reasoning index
55.6 / 52.8
Output speed / TTFT
162 tok/s · 0.28s TTFT
Blended price (3:1)
$0.06 / 1M tokens
Guardrail architecture
Open Weights (Pair with Llama Guard 3)
License / parameters
Llama 3.1 Community License · 8.0B dense

Head-to-head comparisons: Claude Fable 5.2 vs Llama 3.1 8B Instruct · Claude Opus 5.5 vs Llama 3.1 8B Instruct · Claude Sonnet 5.5 vs Llama 3.1 8B Instruct · Claude Opus 5 vs Llama 3.1 8B Instruct · Claude Sonnet 5 vs Llama 3.1 8B Instruct · GPT-6.2 Sol vs Llama 3.1 8B Instruct

Open Meta: Llama 3.1 8B Instruct interactive scorecard · View on Security Scatter Planes

Weight provenance

Open weights

Official release card verifies downloadable open weights for Llama 3.1 8B Instruct under Llama 3.1 Community License (8.0B dense); open weights permit local fine-tuning and require runtime guardrails.

Reference URI: https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct · Checked

ATLAS attack surface

Meta: Llama 3.1 8B Instruct maps to 7 MITRE ATLAS techniques and 16 mitigations across 4 surface vectors. Profiles are derived from model metadata (modalities, tool calling, reasoning, context window, and weight access). They show where techniques apply, not measured weaknesses.

Deployment posture
Open-weights (self-hostable)
ATLAS techniques in scope
7
Mitigations to review
16
Framework
MITRE ATLAS 2026.10

Test with Refract

Refract is Silvauren's Apache-2.0 defensive LLM evaluation harness. Its 2x2 Detect-vs-Complete matrix crosses whether a detector flagged each probe with whether the model complied, so silent breaches are counted with Wilson 95% confidence intervals. The command below runs the packs that match this route's attack-surface vectors through OpenRouter's OpenAI-compatible API.

refract scan \
  --target "openai_compat:meta-llama/llama-3.1-8b-instruct" \
  --base-url https://openrouter.ai/api/v1 \
  --api-key "$OPENROUTER_API_KEY" \
  --battery baseline,system_prompt_extraction,mcp_tool_schema_boundary
refract report

Export OPENROUTER_API_KEY first. Passing --api-key keeps Refract from using an unrelated OPENAI_API_KEY, which it would otherwise read first. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.

Primary source & citation record

Common questions

Which MITRE ATLAS techniques apply to Meta: Llama 3.1 8B Instruct?
Meta: Llama 3.1 8B Instruct maps to 7 MITRE ATLAS techniques through 4 attack-surface vectors derived from its listed capabilities: Denial of AI Service (AML.T0029), Craft Adversarial Data: White-Box Optimization (AML.T0043.000), Full AI Model Access (AML.T0044), LLM Prompt Injection (AML.T0051), AI Agent Tool Invocation (AML.T0053), LLM Jailbreak (AML.T0054), and Outputs from AI Models (AML.T0135). The mapping shows where techniques apply, not measured weaknesses.
Does Meta: Llama 3.1 8B Instruct support tool calling?
Yes. The Nov 24, 2026 OpenRouter inventory snapshot lists tool calling as advertised for this route, which adds the tool-calling and confused-deputy attack surface (LLM Prompt Injection (AML.T0051) and AI Agent Tool Invocation (AML.T0053)).
Does Meta: Llama 3.1 8B Instruct have open weights?
Yes. Official release card verifies downloadable open weights for Llama 3.1 8B Instruct under Llama 3.1 Community License (8.0B dense); open weights permit local fine-tuning and require runtime guardrails.
What is the context window of Meta: Llama 3.1 8B Instruct?
131,072 tokens, according to the Nov 24, 2026 OpenRouter inventory snapshot. At 128K tokens or more, many-shot jailbreaking and context-stuffing techniques apply.
How can I test Meta: Llama 3.1 8B Instruct for prompt injection and jailbreaks?
Run Refract against the OpenRouter route: refract scan --target "openai_compat:meta-llama/llama-3.1-8b-instruct" --base-url https://openrouter.ai/api/v1 --api-key "$OPENROUTER_API_KEY" --battery baseline,system_prompt_extraction,mcp_tool_schema_boundary, then refract report. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.