Request a pilot
‹ PublicAI Index

The LLM benchmark aggregator.

CodeLlama 7B Instruct Hf

Meta · 7B

Strongest in Secure code (#112 of 274), weakest in Safety (#306 of 336). Above par in 1 of 6 scopes. Among the models it meets almost everywhere, it finishes behind Claude Sonnet 5 and Claude Opus 5.5 and ahead of Grok 3 and SmolLM2 360M Instruct.

§ 1 · Profile

What it is good at

Bars run from 50 — the average of the models each source lists — so right of the line is above par. The middle column is the gap to whoever leads that scope.

Safety42.6#306/336
Secure code56#112/274
Harm refusal45.8#230/299
Toxicity avoidance37.3#245/272
Jailbreak resistance26.7#259/272
Fairness40.1#278/299

§ 2 · Head to head

What it beats, and what beats it

The same models turn up scope after scope. Counted once: where both were placed, who finished higher. Bars run right for CodeLlama 7B Instruct Hf, left for the other.

OLMoE 1B-7B Instructwon 6 · lost 0
OLMo 7B Instruct Hfwon 5 · lost 1
RakutenAI 7B Chatwon 5 · lost 1
SmolLM 1.7B Instructwon 5 · lost 1
PowerMoE 3Bwon 5 · lost 1
Phi 2won 5 · lost 1
Qwen2.5 7B Instructwon 5 · lost 1
Gemma 7B Itwon 5 · lost 1
PowerLM 3Bwon 5 · lost 1
Smollm2 1.7B Instructwon 5 · lost 1
GLM-4 9B Chatwon 5 · lost 1
H2o Danube3 500M Chatwon 4 · lost 2
Grok 4.1 Fastwon 4 · lost 2
Laguna Xs 2.1won 4 · lost 2
SmolLM2 360M Instructwon 4 · lost 2
Grok 3won 4 · lost 2
DBRX Instructwon 3 · lost 3
LFM2 350Mwon 3 · lost 3
Qwen3 30B A3B Instructwon 3 · lost 3
RakutenAI 7B Instructwon 3 · lost 3
Qwen2.5 0.5B Instructwon 3 · lost 3
Qwen2 7B Instructwon 3 · lost 3
OLMo 2 7B Instructwon 3 · lost 3
Grok 4won 3 · lost 3
Gemma 2B Itwon 3 · lost 3
Command Awon 3 · lost 3
Qwen3 8Bwon 3 · lost 3
Jamba Mini 1.7won 2 · lost 4
Magistral Smallwon 2 · lost 4
Laguna S 2.1won 2 · lost 4
SEA LION V1 7B ITwon 2 · lost 4
GPT-3.5 Turbowon 2 · lost 4
Llama 3.1 8B Instructwon 2 · lost 4
Qwen1.5 14B Chatwon 2 · lost 4
DeepSeek R1won 2 · lost 4
Zephyr 7B Betawon 2 · lost 4
Ling 3.0 Flash VLwon 2 · lost 4
Magistral Mediumwon 2 · lost 4
Gemini 3.6 Flashwon 2 · lost 4
Command R7Bwon 2 · lost 4
LFM2 700Mwon 2 · lost 4
Jamba Large 1.7won 2 · lost 4
SmolLM 360M Instructwon 2 · lost 4
Open Mixtral 8x7bwon 2 · lost 4
Gemma 2 9B Itwon 2 · lost 4
Open Codestral Mambawon 2 · lost 4
DeepSeek V3won 2 · lost 4
Qwen2.5 3B Instructwon 2 · lost 4
LFM2 1.2Bwon 2 · lost 4
Aya 23 35Bwon 2 · lost 4
GLM-4.5won 2 · lost 4
Sarvam 1won 2 · lost 4
Mistral Smallwon 2 · lost 4
Komodo 7B Basewon 2 · lost 4
Llama 3.2 1B Instructwon 2 · lost 4
Claude 3 Haikuwon 2 · lost 4
Claude Opus 4.6won 1 · lost 3
Claude Sonnet 4.6won 1 · lost 3
Aya 23 8Bwon 1 · lost 5
Grok Build 0.1won 1 · lost 5
H2o Danube3 4B Chatwon 1 · lost 5
Mimo V2.6 Flashwon 1 · lost 5
Jamba 1.6 Miniwon 1 · lost 5
DeepSeek V4 Flashwon 1 · lost 5
Command R Pluswon 1 · lost 5
NexusRaven V2 13Bwon 1 · lost 5
Ling 3.0 Flashwon 1 · lost 5
Jamba 1.5 Largewon 1 · lost 5
GLM-5.2won 1 · lost 5
DeepSeek LLM 67B Chatwon 1 · lost 5
Gemini 3.5 Flashwon 1 · lost 5
GLM-4.6won 1 · lost 5
Phi-4 Mini Instructwon 1 · lost 5
Jamba 1.5 Miniwon 1 · lost 5
MiniMax M3won 1 · lost 5
DeepSeek V3p1won 1 · lost 5
Gemma 4 E2Bwon 1 · lost 5
QwQ 32Bwon 1 · lost 5
Jamba 1.6 Largewon 1 · lost 5
Kimi K2.6won 1 · lost 5
Yi 1.5 9B Chatwon 1 · lost 5
Gemma 4 E4Bwon 1 · lost 5
Jamba Instructwon 1 · lost 5
Qwen3.7 Maxwon 1 · lost 5
SeaLLMs V3 7B Chatwon 1 · lost 5
Qwen2.5 7B Instruct 1Mwon 1 · lost 5
DeepSeek Reasonerwon 1 · lost 5
Qwen2.5 1.5B Instructwon 1 · lost 5
DeepSeek V3.2won 1 · lost 5
WizardLM 2.8x22Bwon 1 · lost 5
Llama 4 Scout Instructwon 1 · lost 5
Llama 3.2 3B Instructwon 1 · lost 5
Gemma 2 2B Itwon 1 · lost 5
IBM Granite 4.0 Microwon 1 · lost 5
Hunyuan A13B Instructwon 1 · lost 5
Gemini 2.0 Flash Litewon 1 · lost 5
Gemma 3 4B Itwon 1 · lost 5
Starling Lm 7B Betawon 1 · lost 5
Open Mixtral 8x22bwon 1 · lost 5
Gemini 1.5 Prowon 1 · lost 5
Gemini 2.5 Prowon 1 · lost 5
GLM-5.3 Flashwon 1 · lost 5
Apertus 8B Instructwon 1 · lost 5
GPT OSS 20Bwon 1 · lost 5
DeepSeek Chatwon 1 · lost 5
DeepSeek V4 Prowon 1 · lost 5
Qwen2.5 32B Instructwon 1 · lost 5
LongWriter Glm4 9Bwon 1 · lost 5
Llama 3 8B Instructwon 1 · lost 5
Sarvam 30Bwon 1 · lost 5
Qwen2.5 14B Instructwon 1 · lost 5
Gemini 2.0 Flashwon 1 · lost 5
Gemma 3 27B Itwon 1 · lost 5
Llama 3 70B Chat HFwon 1 · lost 5
Mimo V2.6 Prowon 1 · lost 5
Gemma 3 12B Itwon 1 · lost 5
Apertus 70B Instructwon 1 · lost 5
Granite 4.0 H Microwon 1 · lost 5
Granite 4.0 H Tinywon 1 · lost 5
Llama 3 70B Instructwon 1 · lost 5
Mistral Largewon 1 · lost 5
Phi 3.5 Mini Instructwon 1 · lost 5
Nova Prowon 1 · lost 5
Krutrim 2 Instructwon 1 · lost 5
Llama 3.1 Tulu 3 8Bwon 1 · lost 5
EAI SageAlign 8B LoRAwon 1 · lost 5
Nova Microwon 1 · lost 5
Llama 3 8B Chat Hfwon 1 · lost 5
Nova Litewon 1 · lost 5
Llama 3.2 Vision (11B)won 1 · lost 5
Llama 2 13B Chat Hfwon 1 · lost 5
Llama 3 8B Instruct RRwon 1 · lost 5
Granite 4.0 H Smallwon 1 · lost 5
Llama 2 7B Chat Hfwon 1 · lost 5
Claude 3.7 Sonnetwon 1 · lost 5
Claude Haiku 4.5won 1 · lost 5
Claude Opus 4won 1 · lost 5
Claude Sonnet 4.5won 1 · lost 5
Claude 3.5 Haikuwon 1 · lost 5
Claude Opus 4.8won 1 · lost 5
Claude 3.5 Sonnetwon 1 · lost 5
Grok 4.3won 0 · lost 6
Kimi K2.5won 0 · lost 6
Kimi K2.7 Codewon 0 · lost 6
Gemma 4 12Bwon 0 · lost 6
Fuguwon 0 · lost 6
Mimo V2.5 Prowon 0 · lost 6
Gemma 4 31Bwon 0 · lost 6
Gemma 4 26B A4Bwon 0 · lost 6
Gemini 2.5 Flashwon 0 · lost 6
Gemini 1.5 Flashwon 0 · lost 6
Qwen2 VL 72Bwon 0 · lost 6
GLM-5 Turbowon 0 · lost 6
GPT-5.6 Astrawon 0 · lost 6
Kimi K2won 0 · lost 6
Kimi K2 Thinkingwon 0 · lost 6
GPT OSS Safeguard 20Bwon 0 · lost 6
Gemini 3.8 Flashwon 0 · lost 6
SeaLLM 7B V2won 0 · lost 6
GPT-6 Solwon 0 · lost 6
K2 Chatwon 0 · lost 6
GPT-4.1 Nanowon 0 · lost 6
Phi 3 Mini 4k Instructwon 0 · lost 6
GPT-4o Miniwon 0 · lost 6
GPT-5.6 Solwon 0 · lost 6
Qwen3.8 Maxwon 0 · lost 6
GLM-5.1won 0 · lost 6
Qwen3.5 35B A3Bwon 0 · lost 6
GPT-4.1 Miniwon 0 · lost 6
Qwen Maxwon 0 · lost 6
Qwen3.5 27Bwon 0 · lost 6
GPT-6 Lunawon 0 · lost 6
Qwen3.5 122B A10Bwon 0 · lost 6
GPT-4won 0 · lost 6
O4 Miniwon 0 · lost 6
Phi 3.5 MoE Instructwon 0 · lost 6
GPT-5.6 Lunawon 0 · lost 6
C4ai Aya Expanse 32Bwon 0 · lost 6
C4ai Aya Expanse 8Bwon 0 · lost 6
GPT OSS 120Bwon 0 · lost 6
Titan Text Express V1won 0 · lost 6
Internlm2 Chat 20Bwon 0 · lost 6
Qwen2.5 72B Instructwon 0 · lost 6
Llama 2 70B Chat Hfwon 0 · lost 6
Fugu Ultra V2won 0 · lost 6
Nova Premierwon 0 · lost 6
Grok 4.5won 0 · lost 6
GPT-5.5won 0 · lost 6
Sarvam 105Bwon 0 · lost 6
GPT-4owon 0 · lost 6
GPT-5.4won 0 · lost 6
Qwen2 72B Instructwon 0 · lost 6
O3 Miniwon 0 · lost 6
Claude 3 Sonnetwon 0 · lost 6
GPT-4.1won 0 · lost 6
GPT-5.6 Terrawon 0 · lost 6
Cogito 671B V2 P1won 0 · lost 6
Claude Opus 4.7won 0 · lost 6
Gemma 2 27B Itwon 0 · lost 6
O1 Miniwon 0 · lost 6
Claude Sonnet 4won 0 · lost 6
Qwen3.5 397B A17Bwon 0 · lost 6
Meta SecAlign 8Bwon 0 · lost 6
Apriel 1.5 15B Thinkerwon 0 · lost 6
GPT-4 Turbowon 0 · lost 6
GPT-5.1won 0 · lost 6
Claude Opus 5won 0 · lost 6
O3won 0 · lost 6
GPT-5.2won 0 · lost 6
O1won 0 · lost 6
Grok 4.6won 0 · lost 6
Phi 4won 0 · lost 6
GPT-5 Miniwon 0 · lost 6
MiniMax M2won 0 · lost 6
GPT-5won 0 · lost 6
GPT-5 Nanowon 0 · lost 6
Claude 3 Opuswon 0 · lost 6
Muse Spark 1.1won 0 · lost 6
Inklingwon 0 · lost 6
Grok 4.7won 0 · lost 6
Hy3won 0 · lost 6
MiniMax M2.7won 0 · lost 6
Claude Opus 5.5won 0 · lost 6
Claude Sonnet 5won 0 · lost 6

§ 3 · Sources

Where the numbers come from

1 publication, 6 figures. Every one links to the page it was read from.

Enkrypt AI Safety Leaderboard ↗6 measuresread 2026-09-27
Enkrypt · Jailbreak risk 32.5%Enkrypt · Harmful content risk 26.7%Enkrypt · CBRN risk 29.5%Enkrypt · Toxicity risk 15.2%Enkrypt · Bias risk 93.3%Enkrypt · Insecure code risk 21.3%

Badge

PublicAI Index badge for CodeLlama 7B Instruct Hf[![PublicAI Index](https://publicai.io/model-index/badge?model=codellama-7b-instruct-hf)](https://publicai.io/model-index/m/codellama-7b-instruct-hf)