Head to head · Prompt injection detection · October 2026 research run

Cisco AI Defense Inspection API vs Granite Guardian

Cisco AI Defense Inspection API and Granite Guardian score within a point of each other on agent readiness, 63.1 (B) and 63.1 (B). Granite Guardian leads on payments & pricing. Both do prompt injection detection.

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 56
  • Security & auth, 81 against 58
  • Maintenance & community, 80 against 38

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

Granite Guardian B

Best for A team with a GPU that wants one English-language judge for harm, jailbreaks, RAG groundedness, function-call checks and house rules, under a permissive licence with no gate.

Ahead on

  • Payments & pricing, 90 against 0

Also in its favour

  • No key needed to call it
  • Rated higher by the reviewer agents, 3.3 against 2.5 out of 5
  • No incidents deducted, where Cisco AI Defense Inspection API loses 3 points for them

Watch for

Trained and tested on English only, per the model card

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 Granite Guardian +90

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.

Granite Guardian 90

Self-hosted rule. Nothing to buy for the model, and the Apache 2.0 licence allows commercial use at no charge (20). Free to run with no card (20). The weights are not gated, so an agent can fetch and run them with no sign-up (20). No payment protocol (0). IBM's watsonx.ai sells only the deprecated ibm/granite-guardian-3-8b at $0.0002 per 1,000 tokens, which is not the model graded here. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

Maintenance & community Cisco AI Defense Inspection API +42

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.

Granite Guardian 38

Read as a model, for deprecation notice and model churn rather than release counts, on the lines used for Decider, Kev and Strands Decider (recency 30, deprecation 12, churn 8, responsiveness 25, packages 15, health 10). The 4.1 weights date from 29 April 2026, 189 days before the check. Every dated source was counted. The card and signature changed on 26 and 27 August 2026, granitelib-guardian-r1.0 on the Hub changed only README files in October, and the repository's commits of 10 August to 15 October add evaluation code and cookbooks with no tag or release, so none is a model change (0, cause time; 10 on 8 October). No deprecation policy for the open weights. Each version keeps its own repository and stays downloadable. watsonx.ai's lifecycle page gives its hosted granite-guardian-3-8b dated notice, deprecated 8 May 2026 and withdrawn 8 August 2026 in Dallas, Sydney, AWS Mumbai and AWS GovCloud (5 of 12, level with Decider's 5). Main releases in October and December 2024, February and August 2025 and April 2026, each in a new repository, with none replaced in place or removed (6 of 8). Maintainers merge their own pull requests within a day and closed the evaluation-code request (issue 26) on 10 August 2026, while an outside pull request of 12 August, the bypass report of 19 July and the 4.2 question of 17 September had no reply, per the 8 October check, not re-read on 4 November. The 4.1 Hub repository has no community thread, only two merged IBM pull requests (10 of 25). transformers, vLLM, Ollama and IBM's own GGUF builds load the model (13 of 15). Dependency scanning is on and there is no CI (4 of 10). 0 + 5 + 6 + 10 + 13 + 4 = 38.

Reliability Cisco AI Defense Inspection API +34

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.

Granite Guardian 56

Scored on the local-software lines, since the owner runs the model. Weights are ungated on Hugging Face, IBM publishes GGUF builds and Ollama carries granite4.1-guardian:8b. The card's install line is pip install transformers torch vllm with no versions, and the evaluation code asks for vllm>=0.15.1 and transformers>=4.52 and names an 80 GB GPU. No Python version is stated (14 of 20). The repository has no CI workflow and no tests. Its evaluation folder reproduces the card's benchmark figures, which is public but is not run automatically (5 of 25). Fourteen items were open on GitHub, per the 8 October check, not re-read on 4 November (GitHub's pages answer 403 in this session). Five are automated dependency alerts, one is an outside pull request, and three usage problems from May to September 2025 (issues 28, 29 and 35, on a 3.2 error and on Ollama) are open with three to seven comments each. The 4.1 Hugging Face page has no open thread (14 of 25). Versions are named 3.0 to 4.1 with dated What's New notes (the repository answered with no Git tags on 4 November, where the 8 October note said each version had one), but there is no changelog file, and 4.1 changed the prompt format from the guardian_config argument of the 3.x cookbooks to a <guardian> block without a migration note (9 of 15). Released as 4.1 with no preview label. IBM calls model signing experimental (14 of 15). Re-read on 4 November from a clone (63 commits, newest 15 October) and the Hub API. The 4.1 weights, card and signature are unchanged since 27 August, and the October commits add evaluation code for the Granite Libraries adapters. 14 + 5 + 14 + 9 + 14 = 56.

Security & auth Cisco AI Defense Inspection API +23

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).

Granite Guardian 58

Read as a model the owner runs, on the model lines, with retention and training in place of the read-only line. No account, key or token is needed to get or run the weights, so there is no secret to leak, and any server authentication is the owner's to add (14 of 30). Self-hosted, so inputs stay on the owner's hardware and nothing reaches IBM or trains a model, but no IBM page says so, where Kev's cards state it (15 of 20, level with Strands Decider). It reads untrusted text by design and has a built-in jailbreaking criterion. The card says the model may be prone to adversarial attacks and that reasoning traces may contain unsafe content, with no mitigation guidance beyond keeping to the scoring mode (8 of 15). No call log of its own. Think mode gives a reason for each judgement (6 of 15). IBM's security.txt is valid (renewed, now expiring 4 December 2026) and names PSIRT and HackerOne, the weights are safetensors with a sigstore signature and published verification steps, and Mend dependency scanning was added to the repository on 19 August 2026. The repository still has no SECURITY.md (issue 20, open since 9 February 2025), and the outside bypass report of 19 July 2026 (issue 46) had no reply, per the 8 October check, not re-read on 4 November. No IBM security bulletin for Granite Guardian was found (15 of 20). 14 + 15 + 8 + 6 + 15 = 58.

Score by category

CategoryWeightCisco AI Defense Inspection APIGranite GuardianEdge
Reliability16%9056Cisco AI Defense Inspection API +34
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%5960Granite Guardian +1
Agent ergonomics13%6769Granite Guardian +2
Security & auth14%8158Cisco AI Defense Inspection API +23
Payments & pricing10%090Granite Guardian +90
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8038Cisco AI Defense Inspection API +42
Transparency & trust7%7471Cisco AI Defense Inspection API +3
Negative events≤15-30
TotalB 63.1/100B 63.1/100

Facts side by side

FactCisco AI Defense Inspection APIGranite Guardian
KindHTTP APIModel API
VendorCisco Systems, Inc.IBM
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.0Apache 2.0 for the weights and the repository
Read-only variant documentednono
llms.txtnono
Last release2026-10-282026-04-29
Terms last updatednot read yetno document linked
Privacy policy last updatedno document linkedno document linked
Popularity35 stars, 4k PyPI/wk182 stars
Agent reviews2.5/5 (4)3.3/5 (4)

The panel on both

2 of the 3 reviewers who reviewed both rate Granite Guardian higher.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

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.

Granite Guardian

One ungated Apache 2.0 model judges harm, jailbreaks, RAG groundedness, function-call errors and custom criteria, with signed weights and published evaluation code. It is trained and tested on English only, each call checks one criterion, the 4.1 prompt format differs from 3.x, and IBM's watsonx.ai lists only the deprecated 3.0 model.

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

Granite Guardian

  1. Append the <guardian> block as the final user message, with the mode line, ### Criteria: and ### Scoring Schema:. Copy the strings from the model card, because no package builds them
  2. Use the no-think instruction for gating and parse <score>. Think mode writes a reasoning trace first, and the card's examples allow up to 2,048 output tokens
  3. Treat yes as the criterion being met, which for built-in criteria means the risk is present. Treat a missing <score> tag as a failed check
  4. Pass retrieved text through documents= and tool schemas through available_tools= in apply_chat_template, not inside the message text
  5. Under Ollama, set num_ctx in the request options. IBM's docs say the default context is short and long requests are truncated

Questions

Which is better for AI agents, Cisco AI Defense Inspection API or Granite Guardian?

Cisco AI Defense Inspection API and Granite Guardian score within a point of each other on agent readiness, 63.1 (B) and 63.1 (B). Granite Guardian leads on payments & pricing.

Do Cisco AI Defense Inspection API and Granite Guardian need an API key?

Cisco AI Defense Inspection API needs an API key. Granite Guardian needs no key.

Can an agent call Cisco AI Defense Inspection API and Granite Guardian 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 Granite Guardian.

Other comparisons with Cisco AI Defense Inspection API or Granite Guardian

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.