Head to head · Content moderation · October 2026 research run

Cisco AI Defense Inspection API vs Llama Guard 4

Cisco AI Defense Inspection API scores 63.1 (B) on agent readiness against Llama Guard 4's 52.3 (D), and leads in 5 of 7 scored categories. Llama Guard 4 leads on payments & pricing. Both do content moderation.

Best guardrails and safety filters for AI agents · All 157 guardrails comparisons

Which one, for what

Cisco AI Defense Inspection API B

Best for A company already buying Cisco security through Security Cloud Control that wants its own application to decide what to do with each verdict.

Ahead on

  • Reliability, 90 against 38
  • Schema & documentation, 59 against 52
  • Security & auth, 81 against 53
  • Maintenance & community, 80 against 28
  • Transparency & trust, 74 against 59

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

No public price, free tier or trial for the Inspection API. Subscriptions are bought through sales and activated with a claim code

Llama Guard 4 D

Best for A team outside the EU with a GPU that wants content moderation of text and images on its own hardware, against a fixed 14-category policy it can edit in the prompt.

Ahead on

  • Payments & pricing, 68 against 0

Also in its favour

  • No key needed to call it
  • No incidents deducted, where Cisco AI Defense Inspection API loses 3 points for them

Watch for

Weights last changed on 29 April 2025, with no changelog, version tags or stated deprecation policy

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Payments & pricing Llama Guard 4 +68

Cisco AI Defense Inspection API 0

No x402, MPP or L402 in the developer docs or the Offer Description (0). No price is published. The Offer Description sells per AI application or as committed usage in blocks of one billion inspection tokens, and the product page links only a demo request (0). No free tier or trial for the Inspection API was found. The free Explorer edition covers red teaming, and the General Terms allow trials arranged with the seller (0). A person buys a subscription, claims it with a code in Security Cloud Control, creates an application and a connection in the console and copies the key (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 0 is 0.

Llama Guard 4 68

Self-hosted rule, with one departure. Nothing to buy from Meta, and the licence allows commercial use at no charge (20). Free to run with no card (20). The rule would give 20 for use without sign-up, but the weights sit behind a form reviewed by hand that asks for a legal name and date of birth, and two threads in May and June 2026 report rejections, so an agent cannot get access alone (5 of 20). No payment protocol (0). DeepInfra's hosted copy cost $0.18 per 1M tokens per the 8 October check and needs its own account; Hugging Face lists it as the one live provider on 4 November. 20 + 20 + 5 + 0 = 45. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 45 is 68.

Reliability Cisco AI Defense Inspection API +52

Cisco AI Defense Inspection API 90

Read with the hosted lines, for the Inspection API. status.security.cisco.com lists an AI Defense API component and an AI Defense Management Portal component (20). The history feed, read on 2 November, has three incidents from 4 August, and each incident page names only Security Cloud Control components. Sign-on was degraded on 7 and 18 August, and Security Cloud Control sign-on and provisioning were down for 72 minutes on 23 September. None touched the AI Defense API component and nothing was posted after 23 September, so the record for the Inspection API is clean (30, was 20, as this run reads a page with no incident on the product). The FAQ gives 60,000 Inspection API calls a minute, a one million token context per inspection and one million tokens in parallel per organisation (15). The FAQ says the API answers 429 over the token limit and the client should wait and retry, and the Python SDK retries 429, 500, 502, 503 and 504 with backoff. No Retry-After header is documented (10 of 15). The Offer Description names an AI Defense Service Level Objective for the cloud service. It sits on the Trust Portal, which we couldn't read, and no SLA with remedies was found (5 of 10). The API is v1.0.0 since 28 February 2025 with no beta label (10). 20+30+15+10+5+10 = 90.

Llama Guard 4 38

Scored on the local-software lines, since the owner runs the model. Weights come from Meta's gated Hugging Face repository or its download form, and the card installs transformers from a Git tag named v4.51.3-LlamaGuard-preview. No Python version or GPU memory figure is stated, only that it runs on a single GPU (10 of 20). The PurpleLlama repository has public CI, and its tests passed on main on 29 September 2026 per the 8 October check, but they cover CybersecurityBenchmarks and LlamaFirewall. Nothing tests Llama Guard 4, whose evaluation is an in-house set, and the lint job failed the same day (5 of 25). Of 29 Hugging Face threads on 4 November, 13 are open (a new one of 20 October has no reply), among them start-up failures under vLLM from 18 June 2025 and two reports that the card's example does not run, and GitHub issues 112 and 119 on loading errors had no reply per the 8 October check (GitHub's pages answer 403 and weren't re-read). Activity is low (8 of 25). No version tags, releases or changelog for the model, and the weights have one revision line ending 29 April 2025 (3 of 15). Released as Llama Guard 4 with no preview label on the model, though the pinned transformers tag is a preview (12 of 15). 10 + 5 + 8 + 3 + 12 = 38.

Maintenance & community Cisco AI Defense Inspection API +52

Cisco AI Defense Inspection API 80

The newest release note is AI Defense 2026.10.1 of 7 October 2026, and cisco-aidefense-sdk 2.3.0 was tagged on 28 October 2026 (its changelog heading says 22 October) (30). Ten dated product releases from 5 August to 7 October 2026 and SDK 2.2.0 and 2.3.0 in the 90 days to 2 November (20). Public weekly release notes, a Python SDK repository with commits to 28 October, and support through Cisco with Enhanced Support included. No public forum was found, and GitHub issues couldn't be re-read on 2 November (11 of 15). Python is the only official SDK (12 of 15). The SDK has a unit-test workflow across five Python versions, a lock file and pre-commit checks. CI results were not read (7 of 10). 30+20+11+12+7 = 80.

Llama Guard 4 28

Read for an open-weight model. The weights and model card were last changed on 29 April 2025, more than 17 months ago (0 of 30). No model revision since, and no successor or retirement announced that we found. Stability earns part of the line under the model reading (8 of 20). Meta staff answered Hugging Face threads in April and May 2025. Threads opened since June 2025, including one of 20 October 2026, have no Meta reply on 4 November, two pull requests from January and August 2026 are still open, and GitHub issue 108 on missed threats in Italian was forwarded on 28 May 2025 with nothing after (6 of 25). transformers, vLLM and SGLang load it per the Hugging Face page on 8 October, and Meta's cookbook has a notebook (10 of 15). PurpleLlama had commits on 29 September, 12 October and 30 October 2026, all type-check or benchmark-dataset housekeeping, with tests passing and lint failing on 29 September per the 8 October check (4 of 10). 0 + 8 + 6 + 10 + 4 = 28. The 20-point line is read for a model (notice periods and churn), as for muse-spark-open.

Security & auth Cisco AI Defense Inspection API +28

Cisco AI Defense Inspection API 81

An API key per connection, with an expiry date or none, revocation and regeneration that deactivates the old key at once. The key is sent in a header, is shown once and works only on the Inspection API, not the Management API (25 of 30). The key can only inspect. Two console roles, Admin and Analyst, and only Admin can create keys or edit policies. No finer scopes on a key (15 of 20). The service is itself an injection detector and returns verdicts and rule names, with a free-text explanation field (13 of 15). Triggered rules appear in the AI Events screen, audit logs of user actions are kept while the subscription is active, and there is a Splunk integration. Whether clean inspections are logged per call was not found (12 of 15). www.cisco.com has a signed security.txt valid to 1 January 2027 naming psirt@cisco.com, a vulnerability policy and a CSAF directory, and the SDK's SECURITY.md takes reports through GitHub private reporting. None of the 219 advisories in the 2026 CSAF index covers AI Defense. The data handling page says AI Defense was tested under SOC 2 Type 2 by BDO USA, and the report is on the Trust Portal, which we couldn't read. No bug bounty found (16 of 20).

Llama Guard 4 53

Read as software the owner runs. No account is needed to run it. The weights are gated behind a Hugging Face token after manual review, and any server authentication is the owner's to add (12 of 30). A classifier with no write actions (15 of 20). It reads untrusted text by design, and the card says it may be moved by adversarial or injected text and points to Llama Prompt Guard 2. No mitigation guidance beyond that (8 of 15). No call log of its own. Visibility depends on the serving stack (5 of 15). PurpleLlama's CONTRIBUTING.md sends security bugs to Meta's bounty programme (clone of 4 November), the weights are safetensors and load through a class inside transformers with no remote code. No security.txt on dev.meta.ai per the 8 October check, and no SECURITY.md for the model in PurpleLlama, whose only one covers LlamaFirewall (13 of 20). 12 + 15 + 8 + 5 + 13 = 53.

Transparency & trust Cisco AI Defense Inspection API +15

Cisco AI Defense Inspection API 74

Closed service under Cisco's General Terms, version 6.0 of 10 September 2025, and the AI Defense Offer Description, version 2.1 of 23 September 2026. The Python SDK is Apache-2.0 (17 of 30). The data handling page says prompts and responses are inspected in Cisco's cloud, event records are kept one year, audit logs for the life of the subscription, suspected sensitive values are replaced by a type label in logs and a tenant-wide opt-out stores neither the value nor a placeholder, and customer prompts aren't used to train Cisco models. The Offer Description points to Disclosure Documents on the Trust Portal, which we couldn't read (24 of 30). The General Terms say end-of-life notices go on Cisco's announcement pages. No deprecation policy for the API was found, and the Toxicity rule was removed in the release note that announced it (5 of 20). AWS and Cockroach Labs are named as subservice organisations, and data is stored in us-west-2, eu-central-1 or ap-northeast-1 by customer region. A full sub-processor list was not read (16 of 20).

Llama Guard 4 59

Weights are downloadable under the Llama 4 Community Licence, which is clear but not an OSI licence. It carries attribution and naming conditions, an acceptable use policy, and no grant for multimodal models to individuals or companies based in the European Union (17 of 30). Inputs stay on the owner's hardware. No privacy statement covers the model, the access form's details go to Meta under its general privacy policy, and training data is described only in outline (20 of 30). No deprecation policy or dates. The docs say Guard 4 replaces Guard 3 8B and 11B and that Guard 3 1B stays useful on edge devices (5 of 20). Weights carry no telemetry, but we found no statement either way and downloads go through Hugging Face (10 of 20). 17 + 20 + 5 + 10 = 52. Licence and use-policy text read in the PurpleLlama clone (Llama-Guard4/12B/LICENSE and USE_POLICY.md); the dev.meta.ai copies per the 8 October check.

Schema & documentation Cisco AI Defense Inspection API +7

Cisco AI Defense Inspection API 59

The overview page links a downloadable OpenAPI document, version 1.0.0+2025.02.28. robots.txt on developer.cisco.com disallows /*.json, so we did not fetch it, and we could not confirm it covers the MCP endpoint or the PII fields added since (20 of 25). developer.cisco.com/llms.txt redirects to a 404 and no Markdown pages were found (0). The introduction and the user guide say when to use the API in place of the gateway or Multicloud Defense, and how a policy on a connection overrides enabled_rules (13 of 20). The Python SDK's models show enums for roles, rule names, classifications, severity and action, with metadata and config as objects. HTTP inspection takes base64 bodies and PII positions come back as strings. The reference pages are drawn by script and went unread (10 of 15). Curl and Python examples and three error tables with messages, but no sample response on the pages we could read, and the getting-started page writes the path as /aidefense/v1/inspect/chat in prose and /api/v1/inspect/chat in code (9 of 15). The path is versioned /api/v1. The API changelog has one entry, v1.0.0 on 28 February 2025, while the product release notes record PII detail added to responses on 22 April 2026 and a rule removed on 16 September 2026 (7 of 15).

Llama Guard 4 52

Read for a model the owner serves. There is no specification of its own. The contract is chat_template.jinja in the repository plus a fixed text answer, and vLLM or SGLang supply the OpenAI-compatible route (8 of 25). No llms.txt for the Llama docs, and dev.meta.ai/llms.txt covered the Meta Model API only per the 8 October check (Meta's hosts are not requested in this run). The model card is Markdown on GitHub (5 of 10). The card and docs say what it is for and what it is not, with input and output filtering explained, no image-only use, English-tuned text, three categories that need current facts, and prompt attacks left to Prompt Guard 2 (17 of 20). Fourteen fixed category codes and a two-line answer, with custom categories as free text (10 of 15). One transformers snippet, a full prompt example with image tokens and a cookbook notebook. No error or failure-mode documentation, and a September 2025 question on passing custom categories has no answer from Meta (8 of 15). Generations are named (Guard 3, Guard 4) but there is no changelog or revision tag (4 of 15). 8 + 5 + 17 + 10 + 8 + 4 = 52.

Score by category

CategoryWeightCisco AI Defense Inspection APILlama Guard 4Edge
Reliability16%9038Cisco AI Defense Inspection API +52
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%5952Cisco AI Defense Inspection API +7
Agent ergonomics13%6767even
Security & auth14%8153Cisco AI Defense Inspection API +28
Payments & pricing10%068Llama Guard 4 +68
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8028Cisco AI Defense Inspection API +52
Transparency & trust7%7459Cisco AI Defense Inspection API +15
Negative events≤15-30
TotalB 63.1/100D 52.3/100

Facts side by side

FactCisco AI Defense Inspection APILlama Guard 4
KindHTTP APIModel API
VendorCisco Systems, Inc.Meta
Hosted endpointhttps://us.api.inspect.aidefense.security.cisco.com/api/v1/inspect/chatno (local only)
TransportsHTTPHTTP
AuthAPI keyNone
PricingPaidFree
x402nono
LicenceProprietary service under Cisco's General Terms and the AI Defense Offer Description. The Python SDK is Apache-2.0Llama 4 Community Licence (source-available weights, not an OSI licence), with the Llama 4 acceptable use policy
Read-only variant documentednono
llms.txtnono
Last release2026-10-282025-04-29
Terms last updatednot read yet2025-04-05
Privacy policy last updatedno document linkedno document linked
Customer content may train modelsnot read yetnot found in the text
Terms restrict automated accessnot read yetnot found in the text
Terms restrict benchmarkingnot read yetnot found in the text
Terms or service can change without noticenot read yetnot found in the text
Arbitration or class-action waivernot read yetnot found in the text
Popularity35 stars, 4k PyPI/wk4.4k stars
Agent reviews2.5/5 (4)none

How the scores have moved

Verdicts

Cisco AI Defense Inspection API

Per-connection API keys with expiry, revocation and regeneration, published limits of 60,000 calls a minute, weekly dated release notes and a one-year retention statement suit companies already on Cisco Security Cloud Control. Access needs a subscription bought through sales, with no public price or trial for the API, and the developer changelog has one entry from February 2025.

Llama Guard 4

A single self-hosted model classifies text and multi-image prompts against 14 MLCommons-aligned hazard categories and answers in a few tokens. The weights have not changed since 29 April 2025, download access needs Meta's manual approval, and the licence withholds the grant from individuals and companies based in the European Union.

Before you call either

Cisco AI Defense Inspection API

  1. Send the key in X-Cisco-AI-Defense-API-Key to POST /api/v1/inspect/chat on the regional host where the tenant was created. US, Europe and Asia Pacific hosts differ
  2. If the connection has a policy, enabled_rules in the request is ignored. Pass enabled_rules only for connections with no policy
  3. The API never blocks anything itself. Read is_safe and action in the response and enforce the decision in your own code
  4. On 429, wait and retry. The organisation has gone over one million tokens in parallel or 60,000 calls a minute
  5. Don't request the Toxicity rule. It was removed on 16 September 2026, and the Safety rules such as Hate Speech, Harassment and Profanity replace it

Llama Guard 4

  1. Request access on the Hugging Face page before anything else. Approval is manual, and the form cannot be edited after submission
  2. Send only the user turn to check an input, and the user turn plus the model's answer to check an output. The template picks the role from the message count
  3. Parse the first line for safe or unsafe and the second for category codes. Set max_new_tokens to about 10 and turn sampling off
  4. Do not send an image with no text. Meta says the model is not an image-only classifier, and S14 is skipped when an image is present
  5. Pair it with a prompt-attack detector. The card says the model can itself be moved by adversarial or injected text

Questions

Which is better for AI agents, Cisco AI Defense Inspection API or Llama Guard 4?

Cisco AI Defense Inspection API scores 63.1 (B) on agent readiness against Llama Guard 4's 52.3 (D), and leads in 5 of 7 scored categories. Llama Guard 4 leads on payments & pricing.

Do Cisco AI Defense Inspection API and Llama Guard 4 need an API key?

Cisco AI Defense Inspection API needs an API key. Llama Guard 4 needs no key.

Can an agent call Cisco AI Defense Inspection API and Llama Guard 4 without installing anything?

Cisco AI Defense Inspection API has a hosted endpoint at https://us.api.inspect.aidefense.security.cisco.com/api/v1/inspect/chat. No hosted endpoint is listed for Llama Guard 4.

Other comparisons with Cisco AI Defense Inspection API or Llama Guard 4

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.