Skip to main content
Developer API

AI Detection API

Add AI detection to your product, review queue, or content pipeline. Start with self-serve credits, then scale the same API into high-volume workflows.

Buy prepaid credits, call predict(), and move large queues to bulk when volume grows.

Developer API

$25

$

Pangram 4: $0.05 = 100 words

Bulk API: 20% discount

Trusted by Global Partners
QuoraTremauNewsGuardThe Transparency CompanyCanvasGoogle Classroom

Processing modes

Realtime when users are waiting. Bulk when volume matters.

001

Realtime checks

Send one text when a user, review queue, or product workflow is waiting on a decision.

Rate

$0.05 per 100 words

Limit

5 QPS

Moderation queuesLMS submissionsCMS review flows
View API docs →

002

Bulk document scans

Submit many documents as one ordered job when you need a cheaper way to scan large sets.

Rate

20% discount20% cheaper

Limit

1,000 billable units

Assignment batchesResearch datasetsContent archives
View API docs →

Why Pangram

Built for production review systems.

Detailed schema

Every completed analysis returns the same Pangram response fields for downstream scoring and review.

Designed for scale

Use Pangram as a product decision layer, a review queue signal, or a backfill tool for historical content.

Enterprise ready

Contact enterprise to learn more about SOC 2 compliance, zero data retention options, and higher rate limits.

Response shape

Enough detail for every use case.

Top-level fields summarize the overall result for each submitted text.

Fraction fields show how much of the text looks AI-written, AI-assisted, or human-written.

Window fields show the label, score, and character range for each analyzed section.

Quickstart

Start with a key and one predict() call.

Create an account or log in, open the API tab, generate a key, and call Pangram from the Python SDK. The API key can be passed directly or read from PANGRAM_API_KEY.

Python SDK

Install the SDK, set PANGRAM_API_KEY, and call predict() with the text you want to analyze.

Python SDK quickstart
import os
from pangram import Pangram

client = Pangram(api_key=os.environ["PANGRAM_API_KEY"])

result = client.predict(
    "The text to analyze with Pangram",
    model="pangram-4",
    public_dashboard_link=False,
)

print(result["prediction_short"])

Credits and billing

Flexible billing options.

Self-serve

Purchase credits

Buy $5-$2,000 in prepaid developer API credits from the purchase card above and start testing immediately.

Auto-refill

Keep your API balance topped up

Enable auto-refill during checkout to recharge your API balance when credits drop below the threshold you choose.

Bulk savings

20% cheaper for large jobs

Bulk jobs receive a 20% discount on realtime pricing, giving teams a cheaper way to scan large document sets.

Enterprise

Security and higher limits

Contact enterprise to learn more about SOC 2 compliance, zero data retention options, and higher rate limits.

Research credits

API credits for academic researchers

Noncommercial academic research projects may qualify for Pangram API credits. Tell us about your study, expected usage, and institution.

Add AI detection to your product today.

Buy prepaid credits and make your first predict() call in minutes.

Also from Pangram:AI Image Detector