LLM Reference

Llama Prompt Guard 2 22M vs Trinity-Large-Preview

Llama Prompt Guard 2 22M (2025) and Trinity-Large-Preview (2026) are compact production models from AI at Meta and Arcee AI. Llama Prompt Guard 2 22M ships a 512-token context window, while Trinity-Large-Preview ships a 128k-token context window. On pricing, Llama Prompt Guard 2 22M costs $0.03/1M input tokens versus $0.15/1M for the alternative. This comparison covers specs, pricing, API access, capabilities, benchmarks, input and output token costs, and production fit for coding and agent workloads.

Llama Prompt Guard 2 22M is ~400% cheaper at $0.03/1M; pay for Trinity-Large-Preview only for long-context analysis.

Decision scorecard

Local evidence first
SignalLlama Prompt Guard 2 22MTrinity-Large-Preview
Best forgeneral production evaluationtool-calling agents and provider-routed production
Decision fitClassification and JSON / JSON / Tool useRAG, Agents, and Long context
Context window512128k
Cheapest output$0.03/1M tokens$0.45/1M tokens
Provider routes1 tracked3 tracked
Shared benchmarks0 shared0 shared

Decision tradeoffs

Choose Llama Prompt Guard 2 22M when...
  • Llama Prompt Guard 2 22M has the lower cheapest tracked output price at $0.03/1M tokens.
  • Local decision data tags Llama Prompt Guard 2 22M for Classification and JSON / Tool use.
Choose Trinity-Large-Preview when...
  • Trinity-Large-Preview has the larger context window for long prompts, retrieval packs, or transcript analysis.
  • Trinity-Large-Preview has broader tracked provider coverage for fallback and route flexibility.
  • Trinity-Large-Preview uniquely exposes JSON / Tool use in local model data.
  • Local decision data tags Trinity-Large-Preview for RAG, Agents, and Long context.

Monthly cost at traffic

Estimate token spend from the cheapest tracked input and output route or tier on this page.

Lower estimate Llama Prompt Guard 2 22M

Llama Prompt Guard 2 22M

$31.50

Cheapest tracked route/tier: GroqCloud

Trinity-Large-Preview

$233

Cheapest tracked route/tier: OpenRouter

Estimated monthly gap: $201. Batch, cache, alternate speed tiers, and negotiated pricing are excluded from this local estimate.

Switch friction

Llama Prompt Guard 2 22M -> Trinity-Large-Preview
  • No overlapping tracked provider route is sourced for Llama Prompt Guard 2 22M and Trinity-Large-Preview; plan for SDK, billing, or endpoint changes.
  • Trinity-Large-Preview is $0.42/1M tokens higher on cheapest tracked output pricing, so quality gains need to justify the spend.
  • Trinity-Large-Preview adds JSON / JSON / Tool use in local capability data.
Trinity-Large-Preview -> Llama Prompt Guard 2 22M
  • No overlapping tracked provider route is sourced for Trinity-Large-Preview and Llama Prompt Guard 2 22M; plan for SDK, billing, or endpoint changes.
  • Llama Prompt Guard 2 22M is $0.42/1M tokens lower on cheapest tracked output pricing before cache, batch, or negotiated discounts.
  • Check replacement coverage for JSON / JSON / Tool use before moving production traffic.

Specs

Specification
Released2025-04-292026-01-27
Context window512128k
Parameters22M400B
ArchitectureDecoder OnlyMixture of Experts
LicenseLlama 3 CommunityApache 2.0OSI-approved
OpennessOpen weightsOpen source
WeightsAvailableAvailable
CodeUnknownUnknown
Commercial useCommercial use: conditionalCommercial use: permitted
Knowledge cutoff--

Pricing and availability

Pricing attributeLlama Prompt Guard 2 22MTrinity-Large-Preview
Input price$0.03/1M tokens$0.15/1M tokens
Output price$0.03/1M tokens$0.45/1M tokens
Providers

Capabilities

CapabilityLlama Prompt Guard 2 22MTrinity-Large-Preview
VisionNoNo
MultimodalNoNo
ReasoningNoNo
JSON / Tool useNoYes
Structured outputsYesYes
Code executionNoNo
IDE integrationNoNo
Computer useNoNo
Parallel agentsNoNo

Benchmarks

No shared benchmark scores are currently available for this pair.

Continue comparing

Last reviewed: 2026-07-09. Data sourced from public model cards and provider documentation.