> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.empiriolabs.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.empiriolabs.ai/_mcp/server.

# GPTZero

> Deep-learning detector that flags portions of text likely generated by AI versus human, classifying content as entirely human, AI, or mixed.

![GPTZero](https://media.empiriolabs.ai/model-logos/gptzero.png)

[GPTZero](/providers/gptzero) · Tools & Agents

`POST /v1/detect`

Deep-learning detector that flags portions of text likely generated by AI versus human, classifying content as entirely human, AI, or mixed.

## At a glance

| Field               | Value                                                                                                                                    |
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| Model id            | `gptzero`                                                                                                                                |
| Model release date  | -                                                                                                                                        |
| Input modalities    | Text, Document                                                                                                                           |
| Output modalities   | Text                                                                                                                                     |
| Context window      | -                                                                                                                                        |
| Weight precision    | -                                                                                                                                        |
| Features            | ai_detection, classification                                                                                                             |
| Native inference    | No                                                                                                                                       |
| New                 | No                                                                                                                                       |
| Supported endpoints | `POST /v1/detect`, `POST /v1/chat/completions`, `POST /v1/responses`, `POST /v1/messages`, `POST /v1beta/models/gptzero:generateContent` |
| Alternate model ids | `gptzero/detect`                                                                                                                         |

## Pricing

| Charge    | Spec            | Rate   |
| --------- | --------------- | ------ |
| Text Scan | per 1,000 words | \$0.39 |

## Example request

```bash
curl https://api.empiriolabs.ai/v1/detect \
  -H 'Authorization: Bearer $EMPIRIOLABS_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"model": "gptzero", "input": "The quick brown fox jumps over the lazy dog.", "scan_type": "ai_detection"}'
```

## Parameters

| Parameter            | Type    | Required | Default          | Description                                                                                                                                                                                                             |
| -------------------- | ------- | -------- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `input`              | string  | no       | -                | Text to analyze                                                                                                                                                                                                         |
| `scan_type`          | enum    | no       | `"ai_detection"` | AI Detection: detect AI-generated text. · Allowed: `ai_detection`                                                                                                                                                       |
| `model_version`      | string  | no       | `"__latest__"`   | The GPTZero model version to scan with. Leave as **latest** to use the newest version. A version that is unknown or no longer available returns a 400 error that lists the versions you can use. Same as version.       |
| `file_url`           | string  | no       | -                | URL of a document to scan instead of pasting text. Supported: PDF, DOC, DOCX, RTF, ODT, TXT, MD (max 25 MB). Provide either `input` (text) or `file_url`, not both.                                                     |
| `version`            | string  | no       | `"__latest__"`   | The GPTZero model version to scan with. Leave as **latest** to use the newest version. A version that is unknown or no longer available returns a 400 error that lists the versions you can use. Same as model_version. |
| `ai_threshold`       | number  | no       | `0.7`            | Formatted reports only: the probability at which a sentence is labeled AI-generated. Lower = more sensitive. Range 0.10 to 0.99. It does not change the detection scores. · Range: 0.1 – 0.99                           |
| `max_sentences`      | integer | no       | `15`             | Formatted reports only: the maximum number of sentences shown in the per-sentence breakdown. · Range: 1 – 50                                                                                                            |
| `disable_formatting` | boolean | no       | false            | Return the detection result as JSON instead of the formatted Markdown report.                                                                                                                                           |

## Notes

**File limits**

* One document per request, sent as file_url
* Max 25 MB
* Each document truncated to 50,000 characters

**Supported formats**

* PDF, DOC, DOCX, RTF, ODT, TXT, MD

---

*Machine-readable schema:* `GET https://api.empiriolabs.ai/v1/models/gptzero`.