Skip to content

ScaleDown upstream

Four task-specific ScaleDown models join the catalog: Compress, Summarize, Extract and Classify. Summarize, Extract and Classify route through your own ScaleDown key.

Open Extract

ScaleDown builds small, task-specific models instead of general chat models. Extract pulls named fields from text, images and PDFs with confidence scores, character offsets and surrounding context; Summarize rewrites long documents into fluent summaries; Classify-1 scores text against labels you define in plain English and can answer typed choice, yes/no and scale questions.

All three callable models accept up to 1M input tokens and are listed at $0.05 per 1M text input tokens with free output. ScaleDown also charges $0.15 per 1M image input tokens, which is billed by the provider to your own key. Add your key under Dashboard → BYOK.

A fourth model, Compress, shortens long prompts while preserving meaning. ScaleDown serves it through a dedicated compression endpoint rather than a chat API, so it is listed as upcoming until AnyRouter can route that request shape.

Extraction with structured output
curl https://anyrouter.dev/api/v1/chat/completions -H "Authorization: Bearer $ANYROUTER_API_KEY" -H "Content-Type: application/json" -d '{"model":"scaledown/extract","messages":[{"role":"user","content":"Invoice INV-2041 from Acme Corp."}],"response_format":{"type":"json_schema","json_schema":{"name":"invoice","schema":{"type":"object","properties":{"invoiceNumber":{"type":"string","description":"The invoice number"},"vendor":{"type":"string","description":"The issuing company"}}}}}}'
Coding agent
curl -fsSL https://anyr.dev/cli.sh | bash
anyr login
anyr claude --model "scaledown/extract"
AI SDK
import { createAnyRouter } from "@anyr/ai-sdk-provider"
import { generateText } from "ai"
const anyrouter = createAnyRouter()
const { text } = await generateText({
  model: anyrouter("scaledown/extract"),
  prompt: "Invoice INV-2041 from Acme Corp.",
})

Model pages: Extractscaledown/extract, Summarizescaledown/summarize, Classify-1scaledown/classify-1, Compressscaledown/compress. ScaleDown documentation: API reference. Playbooks: coding agents.

Looking for the full catalog? Browse all models.