trending

Getting started: summarize 1,000 documents for under $1 — code walkthrough

Here's the cost math for pay-per-use text AI:

1 USDC = 1,000 credits

  • Summarize: 10 credits/call 100 summarizations per $1

  • Keywords: 5 credits/call 200 keyword extractions per $1

  • Translate: 15 credits/call 66 translations per $1

For a pipeline processing 1,000 documents, total cost = $10 in USDC. No monthly fee, no minimum.

What would you use a pay-per-use text AI API for?

We're launching TextAI API tomorrow a pay-per-use REST API for text intelligence with USDC micropayments on Solana.

No subscriptions. No minimums. 1 USDC = 1,000 credits, consumed per-call: summarize (10 credits), keywords (5 credits), translate (15 credits).

Live demo: build a Chrome extension that summarizes any page for $0.01 per click

One of the use cases I built TextAI API for: a Chrome extension that summarizes any web page with one click, paying $0.01 per summary in USDC.

Here's the core logic in ~20 lines:

Pricing transparency: here's exactly what each operation costs

1 USDC = 1,000 credits (no expiry, no monthly fees)

Per-call costs: Summarize = 10 credits ($0.01) | Keywords = 5 credits ($0.005) | Translate = 15 credits ($0.015)

New accounts get 100 free credits enough to test all 3 endpoints without any payment. Top up with USDC on Solana devnet when you need more.

Questions about pricing or specific use cases? Ask below!

TextAI API - Pay-per-use text AI: summarize, keywords & translate

TextAI API is a pay-per-use REST API for text intelligence. No subscriptions — buy credits with USDC and pay only when you call. Pricing: 1 USDC = 1,000 credits • Summarize: 10 credits/call • Keywords: 5 credits/call • Translate: 15 credits (10 languages, beta) Process 1,000 articles for ~$5. Idle months cost $0. Perfect for content pipelines, SEO automation, newsletter tools, and Chrome extensions. Built on Deno/Hono with OpenAPI docs. New keys get 100 free demo credits — no card needed.