Skip to main content

What is Classer?

Classer is an AI text classification API built for production. Classify and tag text with a single API call — no training, no fine-tuning required.
import classer

result = classer.classify(
    text="I can't log in to my account",
    labels=["billing", "technical", "sales"]
)

print(result.label)      # "technical"
print(result.confidence) # 0.94

From $0.08/1M tokens

10M free tokens/month to get started

Real-time latency

Fast enough for real-time applications

Zero training

Works out of the box — just pass labels

Classify and tag

Classify picks the single best label. Tag returns all labels above a confidence threshold.
# Single-label: pick one
result = classer.classify(
    text="We need pricing for 500 users",
    labels=["hot", "warm", "cold"]
)
print(result.label)  # "hot"

# Multi-label: return all that match
result = classer.tag(
    text="Breaking: Tech stocks surge amid AI boom",
    labels=["politics", "technology", "finance", "sports"],
    threshold=0.3
)
for t in result.labels:
    print(f"{t.label}: {t.confidence}")
# technology: 0.92
# finance: 0.78

Fast Batch processing

Classify millions of texts in under 15 minutes at $0.08/1M tokens. Upload an NDJSON file (up to 5GB), start the job, and download results when done. See the Fast Batch guide for the full workflow.

Use cases

  • Support ticket routing — Route tickets to billing, technical, or sales
  • Lead scoring — Score inbound leads as hot, warm, or cold
  • Content moderation — Detect spam, toxicity, or inappropriate content
  • Document tagging — Auto-tag articles with multiple categories

Get started

Quickstart

Up and running in 5 minutes

API Reference

Full endpoint documentation

Python SDK

pip install classer

TypeScript SDK

npm install classer-ai