GPTZero

GPTZero
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

FieldValue
Model idgptzero
Input modalitiesText, Document
Output modalitiesText
Context window-
Weight precision-
Featuresai_detection, classification
Native inferenceNo
NewNo
Supported endpointsPOST /v1/detect, POST /v1/chat/completions, POST /v1/responses, POST /v1/messages

Pricing

ChargeSpecRate
Text Scanper 1,000 words$0.39

Example request

$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

ParameterTypeRequiredDefaultDescription
inputstringno-Text to analyze
scan_typeenumno"ai_detection"AI Detection: detect AI-generated text. Bibliography: analyze citations and references. Sources / Fact Check: find supporting sources for claims in your text. · Allowed: ai_detection, bibliography, sources, fact_check
model_versionstringno"__latest__"Select a specific GPTZero model version, or leave as latest for the newest rolling release. Choosing an explicit multilingual release overrides the separate multilingual flag.
file_urlstringno-URL of a document to scan instead of pasting text. Supported: PDF, DOC, DOCX, RTF, ODT, TXT, MD (max 25 MB). The worker downloads the file and forwards it to GPTZero’s multipart files endpoint. Provide either input (text) or file_url, not both.
versionstringno"__latest__"Canonical name for model_version. Pin a specific upstream snapshot, or leave as latest for the default rolling alias.
multilingualbooleannofalseUse GPTZero’s multilingual detection path. Applies to text scans when Model Version is latest; file scans use whichever model version is selected.
ai_thresholdnumberno0.7Probability cutoff for flagging sentences as AI-generated. Lower = more sensitive. Range 0.10 to 0.99. · Range: 0.1 – 0.99
max_sentencesnumberno15Maximum number of sentences shown in the per-sentence breakdown section. · Range: 1 – 50
source_sentencestringno-Optional. The exact sentence or claim you want to find supporting sources for. If left blank, the full input text is used as the claim. (sources / fact_check scan only.)
max_sourcesnumberno3Maximum number of sources to retrieve for each identified claim. (sources / fact_check scan only.) · Range: 1 – 10
confidence_thresholdnumberno0.5Minimum confidence required for a source-match to be returned. Range 0 to 1. (sources / fact_check scan only.) · Range: 0 – 1
claim_extractorstringno"claimbuster"Method used to extract claims from your text. claimbuster is faster; llm_claim_extractor is more thorough. (sources / fact_check scan only.)
disable_formattingbooleannofalseSkip the EmpirioLabs Markdown report (per-sentence highlights / scan summary / sources list). The raw upstream GPTZero JSON response is returned.

Notes

File limits

  • Max 50 files per request
  • Combined size cap: 15 MB
  • Each document truncated to 50,000 characters

Supported formats

  • PDF, DOC, DOCX, TXT, ODT

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