Llama 3.1-based safety classifier for moderating prompts and model responses
Llama-Guard-3-8B by meta is offered by 3 providers on this page. Its reference price is $0.484 per 1M input tokens and $0.03 per 1M output tokens. The lowest paid channel is Eden AI at $0.055 / $0.055 per 1M, about 8.8× below the reference price. That channel is a third-party gateway, so confirm its availability and rate limits before depending on it.
The context window is 131,072 tokens, with an output limit of 4,096 tokens. The weights are open, so it can also be self-hosted or served through a gateway of your choice. Its training knowledge cuts off at 2023-12.
| Provider | Tier | Input | Output | Cache read | Cache write | Context | Output limit | Status |
|---|---|---|---|---|---|---|---|---|
| Eden AI deepinfra/meta-llama/Llama-Guard-3-8B | Gateway | $0.055 | $0.055 | — | — | 131,072 | 4,096 | |
| Cloudflare Workers AI | Cloud | $0.48 | $0.03 | — | — | 131,072 | 131,072 | |
| Eden AI | Gateway | $0.48 | $0.03 | — | — | 131,072 | 4,096 |
Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.