Head to head · Content moderation · October 2026 research run

Cisco AI Defense Inspection API vs ShieldGemma

Cisco AI Defense Inspection API scores 63.1 (B) on agent readiness against ShieldGemma's 54 (C), and leads in 5 of 7 scored categories. ShieldGemma leads on agent ergonomics and payments & pricing. Both do content moderation.

Best guardrails and safety filters for AI agents · All 155 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 46
  • Security & auth, 81 against 53
  • Maintenance & community, 80 against 40
  • Transparency & trust, 74 against 54

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

ShieldGemma C

Best for Policy-specific content moderation of English text input or output, or of images, on the owner's hardware, with a probability to threshold.

Ahead on

  • Agent ergonomics, 72 against 67
  • Payments & pricing, 52 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

No file change since 4 April 2025 (ShieldGemma 2) and September 2024 (ShieldGemma 1), with no changelog or 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 ShieldGemma +52

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

ShieldGemma 52

Self-hosted rule. Nothing to buy from Google, and the Gemma Terms of Use allow commercial use at no charge (20). Free to run with no card (20). Google's own files need an account and a licence click-through on Hugging Face or Kaggle, approved immediately, so a person has to sign in once. Ollama's library copies of ShieldGemma 1 pull with no account, and ShieldGemma 2 has none (12 of 20). No payment protocol (0). No hosted ShieldGemma from Google or an inference provider was found. 20 + 20 + 12 + 0 = 52.

Reliability Cisco AI Defense Inspection API +44

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.

ShieldGemma 46

Scored on the local-software lines, since the owner runs the model, the reading used for Llama Guard and Granite Guardian. Google's install line is pip install -U transformers[accelerate] with no versions, a Keras Colab notebook covers ShieldGemma 1, and Ollama's own library carries ShieldGemma 1. No Python version or memory figure is stated, and the publisher's files sit behind a login and licence click-through (12 of 20). No CI, tests or evaluation code for the models were found. The technical reports describe the evaluation and nothing reruns it (0 of 25). On the Hub, 8 of 23 threads on the 2B, 2 of 10 on the 9B, none of 8 on the 27B and 9 of 10 on ShieldGemma 2 are open, but every open thread we sampled has a reply from a Google account, the newest on 22 March 2026 (15 of 25). No changelog or version tags. The two generations are named and sit in their own repositories (4 of 15). Released with no preview label (15 of 15). 12 + 0 + 15 + 4 + 15 = 46.

Maintenance & community Cisco AI Defense Inspection API +40

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.

ShieldGemma 40

Read as a model, on the lines used for Granite Guardian (recency 30, deprecation 12, churn 8, responsiveness 25, packages 15, health 10). The newest file change is ShieldGemma 2 on 4 April 2025, 19 months before the check, and ShieldGemma 1 last changed in September 2024 (0 of 30). No deprecation policy. Both generations stay downloadable, and the ai.google.dev page was marked deprecated with a pointer to gemma.ai without dates for the models (3 of 12). Two generations in 2024 and 2025, each in its own repository, none replaced in place (6 of 8). Google accounts (members of Google's Gemma organisations on the Hub) answered every thread we sampled on the 2B, 9B and ShieldGemma 2 pages, from August 2024 to 22 March 2026, but leave most threads open (16 of 25). Transformers, Keras and Ollama's library load it (12 of 15). No CI, and Ollama's library build was last updated 2 years ago (3 of 10). 0 + 3 + 6 + 16 + 12 + 3 = 40.

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

ShieldGemma 53

Read as a model the owner runs, on the model lines used for Granite Guardian, with retention and training in place of the read-only line. No key is needed to run it. Google's files need a Hugging Face login and licence acceptance, approved immediately, so there is a token to download but no secret at run time (13 of 30). Self-hosted, so inputs stay on the owner's hardware and nothing reaches Google, though no Google page says so (15 of 20). It reads untrusted text by design. The card says the model is highly sensitive to the policy wording and may behave unpredictably with ambiguous language, and gives no prompt-injection guidance (6 of 15). No call log of its own, though each call returns a score (5 of 15). Weights are safetensors only and load through Transformers classes with no remote code. Google's security.txt is valid and points to its reward programme, and there is no model-specific security page or advisory record (14 of 20). 13 + 15 + 6 + 5 + 14 = 53.

Transparency & trust Cisco AI Defense Inspection API +20

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

ShieldGemma 54

The weights are under the Gemma Terms of Use, not an OSI licence. They carry distribution conditions, the Prohibited Use Policy and a clause that lets Google restrict usage remotely where it believes the terms are breached. The terms are dated (1 April 2026) with earlier versions archived (15 of 30). Inputs stay on the owner's hardware, so no privacy statement applies. ShieldGemma 1 was fine-tuned on synthetic internal data and public datasets described in a technical report, and ShieldGemma 2 on a WebLI subset and synthetic images with CSAM filtering. No data is released (20 of 30). No deprecation policy or dated model retirements (5 of 20). The weights carry no telemetry of their own, with no statement either way, and downloads go through Hugging Face, Kaggle or Ollama (10 of 20). 15 + 20 + 5 + 10 = 50.

Agent ergonomics ShieldGemma +5

Cisco AI Defense Inspection API 67

A response is one object with is_safe, action, classifications, severity, rules, processed_rules, explanation, event_id and detected_pii, per the SDK's models. No field selection (18 of 25). There are no lists to page. The policy on the connection or enabled_rules in the call picks the rules, and entity lists for PII, PCI and PHI can be narrowed (12 of 20). Errors are JSON with code, message and details, and the docs list 400 messages for chat and HTTP inspection. A keyless request returned 401 with missing api key on 8 October 2026 (14 of 20). An inspection changes nothing but the event log and the token count, client_transaction_id traces a call, and the SDK retries. No idempotency key (14 of 20). messages is the only required field when the connection has a policy. Python is the only official SDK, with a LangChain middleware, a Google ADK plugin and a Go CLI beside it (9 of 15).

ShieldGemma 72

Read as a classifier an agent calls. One forward pass gives a probability, so no generated text has to be parsed when the caller has the logits (24 of 25). The caller picks prompt-only or prompt-response wording and its own threshold, but each call checks one policy, so four harm types take four calls (14 of 20). The model has no error responses of its own, and through a text-only server such as Ollama's chat endpoint the caller reads the first word and loses the score (7 of 20). Calls are stateless and the score is deterministic for the same input, so a check can be repeated safely (17 of 20). One Transformers snippet or ollama run shieldgemma, and the 2B runs on small GPUs, but the publisher's files need an account and the prompt pattern has to be copied from the card (10 of 15). 24 + 14 + 7 + 17 + 10 = 72.

Score by category

CategoryWeight this runCisco AI Defense Inspection APIShieldGemmaEdge
Reliability16%209046Cisco AI Defense Inspection API +44
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.25956Cisco AI Defense Inspection API +3
Agent ergonomics13%16.26772ShieldGemma +5
Security & auth14%17.58153Cisco AI Defense Inspection API +28
Payments & pricing10%12.5052ShieldGemma +52
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88040Cisco AI Defense Inspection API +40
Transparency & trust7%8.87454Cisco AI Defense Inspection API +20
Negative events≤15-30
TotalB 63.1/100C 54/100

Facts side by side

FactCisco AI Defense Inspection APIShieldGemma
KindHTTP APIModel API
VendorCisco Systems, Inc.Google DeepMind
Hosted endpointhttps://us.api.inspect.aidefense.security.cisco.com/api/v1/inspect/chatno (local only)
TransportsHTTP
AuthAPI keyNone
PricingPaidFree
x402nono
LicenceProprietary service under Cisco's General Terms and the AI Defense Offer Description. The Python SDK is Apache-2.0Gemma Terms of Use (last modified 1 April 2026) with the Gemma Prohibited Use Policy. Not an OSI licence
Read-only variant documentednono
llms.txtnoyes
Last release2026-10-282025-04-04
Terms last updatednot read yet2026-04-01
Privacy policy last updatedno document linkedno document linked
Customer content may train modelsnot read yetyes
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/wknone
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.

ShieldGemma

Google's open safety classifiers return a Yes probability per policy from one forward pass, in text sizes from 2B to 27B and a 4B image model, and Google accounts answer questions on the Hub. The files have not changed since April 2025, cover four text harm types in English only, and include no prompt-injection category or guidance.

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

ShieldGemma

  1. Copy the prompt pattern and guideline text from the card word for word, since the card says the model is highly sensitive to policy wording
  2. Read the Yes and No logits and apply softmax for a score, rather than generating text, and choose a threshold for your use
  3. Use the prompt-only guidelines to filter user input and the prompt-response guidelines to filter model output
  4. Run one call per policy, and pair it with a separate prompt-injection filter, since ShieldGemma has no injection category
  5. Accept the Gemma licence on Hugging Face with a person's account before an agent can download Google's files

Questions

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

Cisco AI Defense Inspection API scores 63.1 (B) on agent readiness against ShieldGemma's 54 (C), and leads in 5 of 7 scored categories. ShieldGemma leads on agent ergonomics and payments & pricing.

Do Cisco AI Defense Inspection API and ShieldGemma need an API key?

Cisco AI Defense Inspection API needs an API key. ShieldGemma needs no key.

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

Other comparisons with Cisco AI Defense Inspection API or ShieldGemma

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.