Kimi K2.7 Code vs Llama Guard 4 12B

Price, context window & benchmark comparison

M

Kimi K2.7 Code

Moonshot AI
$0.71 / $3.30
Input / Output · per 1M tokens
VS
M

Llama Guard 4 12B

Meta Llama
$0.18 / $0.18
Input / Output · per 1M tokens
Compare different models
M
M
Verdict: Llama Guard 4 12B is 7.5× cheaper than Kimi K2.7 Code on a typical 3:1 input/output mix. Kimi K2.7 Code has the larger context window (262K vs 164K).
Kimi K2.7 CodeLlama Guard 4 12B
Input price / 1M$0.71$0.18
Output price / 1M$3.30$0.18
Blended price (3:1)$1.35$0.18
Cached input / 1M$0.18
Context window262K164K
Max output236K16K
Intelligence index25.8
Coding index60.8
Providers151
Best provider uptime (30m)100.0%100.0%
Vision inputYesYes
ReasoningYesNo
Tool callingYesNo
Released2026-06-122025-04-30
Retirement

Cost calculator

FAQ

Which is cheaper, Kimi K2.7 Code or Llama Guard 4 12B?

Llama Guard 4 12B is 7.5× cheaper than Kimi K2.7 Code on a typical 3:1 input/output mix.

Kimi K2.7 Code vs Llama Guard 4 12B: which has a bigger context window?

Kimi K2.7 Code: 262,144 tokens. Llama Guard 4 12B: 163,840 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Kimi K2.7 Code ≈ $3,062, Llama Guard 4 12B ≈ $450.00.

More comparisons