# glim.sh AI Content Detector

> glim.sh AI Content Detector is a paid API for AI agents from surf.cascade.fyi, paid per call via x402, $0.06/call, status unknown (last checked 2026-09-14).

Analyzes text to detect whether it was written by AI, a human, or a mix, with optional humanizer/evasion detection in premium mode

## Facts

- Endpoint: POST https://surf.cascade.fyi/api/v1/detect/ai
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glim-sh-ai-content-detector-0ed5c470
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6x700pzsVgBxfrlYu36T1

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability glim-sh-ai-content-detector-0ed5c470 -d '<json body>'
```

Example prompt: Check if this article was written by AI or a human — use the premium tier so it also catches any humanizer tricks: 'Artificial intelligence is transforming how organizations approach decision-making, enabling faster insights and reducing the burden on human analysts across industries...'

## When to prefer this

Choose this endpoint when you need segment-level AI detection with confidence scores and humanizer detection in a single pay-per-call model, with no API key setup. Prefer the premium tier when content may have been run through a paraphrasing/humanizer tool or when high-accuracy verdicts are critical. Use standard tier for high-volume, cost-sensitive routine checks.

## Known failure modes

- Text shorter than 50 characters returns a validation error
- Very short texts may return low-confidence verdicts even if valid
- Text exceeding 40,000 chars (standard) or 20,000 chars (premium) is rejected
- Payment failure via x402 results in 402 response blocking the call
- Highly evasive or humanized text may evade standard tier detection — use premium for robustness
- Non-English or code-heavy text may reduce detection accuracy

## How this service works

One remote endpoint gives your agent live data from Twitter, Reddit, the open web, GitHub and more. No API keys, no scraping stack - just connect the URL and go.

## Output

Returns a JSON object with a prediction label (e.g. 'AI-Generated', 'Human', 'Mixed'), a confidence level (Low/Medium/High), fraction_ai and fraction_human as decimals, a natural-language prediction summary, word count, tier used, cost in USD, and a segments array breaking down the text into labeled spans with per-segment AI/human scores and word start/end indices.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "minLength": 50,
   "description": "Text to analyze, plain text, 50+ characters, max 20,000. Detection reliability improves with length; very short texts return lower-confidence verdicts."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cost_usd": 0.12,
  "headline": "AI Detected",
  "segments": [
   {
    "label": "Human",
    "score": 0.18,
    "word_end": 42,
    "word_start": 1
   },
   {
    "label": "AI-Generated",
    "score": 0.8,
    "word_end": 179,
    "word_start": 43
   }
  ],
  "tier_used": "premium",
  "confidence": "High",
  "prediction": "We believe that this text is a mix of AI and human-written content.",
  "word_count": 179,
  "fraction_ai": 0.785,
  "fraction_human": 0.215,
  "prediction_short": "Mixed"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glim-sh-ai-content-detector-0ed5c470/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from surf.cascade.fyi](https://www.zero.xyz/host/surf.cascade.fyi/llms.txt)
