milliseconds.ai icon

milliseconds.ai

milliseconds.ai is an API for structured decisions from text and images, with REST, TypeScript and Python SDKs, a CLI, and free monthly test keys.

milliseconds.ai

Structured AI decisions for application workflows

milliseconds.ai is an API for small, structured decisions on text and images. Its decision-machine-1 model supports classification, rating, yes/no decisions, answer extraction, schema-based field extraction, entity detection, and verification. Results are returned as data—such as labels, fields, scores, probabilities, source spans, and booleans—so application code can route, prioritize, validate, or record the result.

The service is aimed at developers building repetitive decision workflows into applications and internal systems. Example workflows include support triage, invoice intake, sales-message routing, personal-data review, returns checks, and policy comparisons. It can be called through REST, TypeScript and Python SDKs, the dm1 CLI, or an OpenAI-compatible endpoint for supported request formats.

Capabilities and developer tools

Classification and rating

Apply a supplied label set to text or images and receive a winning label along with score distributions and confidence, making the result usable for routing or queue selection.

Binary decisions

Ask a yes/no question and receive a boolean answer with a probability, suitable for flags such as urgency or policy checks.

Answer and field extraction

Extract answers as text spans with source offsets, map text to a supplied JSON schema, or identify typed entities such as people, organizations, dates, and IDs.

Source verification

Compare a proposed value with source text and return whether it matches, the match probability, and the values found in the source.

API, SDK, and CLI access

Send text or supported images through REST, the TypeScript or Python SDKs, or the dm1 command-line tool. SDK results expose typed decision data, while the CLI can write JSON and report token usage.

Image input

Use low, medium, or high image detail levels with documented token accounting. Image extraction, entity recognition, and verification focus on selected fields rather than full-page transcription.

Practical workflows

  • Support triage

    Classify incoming messages into support queues, score customer frustration, and flag urgent wording so a ticketing system can choose a destination or priority.

  • Invoice and finance intake

    Extract invoice numbers, vendors, totals, and currencies from invoice text, then verify proposed values against source text or purchase-order records before writing a record.

  • Revenue operations routing

    Separate demo requests from support tickets, careers messages, and vendor pitches, while extracting stated budget, timing, or business need for follow-up.

  • Privacy review

    Identify names, email addresses, organizations, and other personal details in transcripts so a reviewer can inspect and redact sensitive information before sharing.

  • Policy and returns checks

    Check a proposed return, deductible, or other value against policy text and use the returned match result and evidence to support an operational decision.

Pros and Cons

Pros

  • Returns structured outputs designed for downstream application actions rather than free-form prose.
  • Supports several distinct decision operations, including classification, rating, binary checks, extraction, entity detection, and source verification.
  • Provides TypeScript and Python SDKs, a CLI, REST access, and an OpenAI-compatible endpoint.
  • Offers a substantial test-key allowance with no card required, while output tokens carry no charge.

Cons

  • Focused image extraction, entity, and verification calls are limited to five fields per extract call; full-document parsing is provided through the separate CloudRaker Paperwork product.
  • Production access uses purchased credits and separate production keys; test-key allowances do not carry over to production.
  • Remote image URLs are not supported, and image uploads are limited to JPEG, PNG, and WebP files up to 5 MB.

FAQ

How do I get started?

Create an API key in the console and set it in your server or shell environment as MS_API_KEY. The product provides TypeScript and Python SDKs, a dm1 CLI, REST access, and an OpenAI-compatible endpoint for supported JSON-schema extraction and tool-call request shapes.

What kinds of outputs does milliseconds.ai return?

Requests can return labels, scores, probabilities, confidence values, yes/no answers, extracted text spans with source offsets, structured data, or typed entities. The exact response depends on the capability and request supplied.

Can I send images as well as text?

It accepts text and images. Image requests support JPEG, PNG, and WebP up to 5 MB; images can be sent as bytes, a data URL, or base64. Remote image URLs are not supported.

How does testing and production usage work?

Test keys include 125 million free input tokens per month, with no card required, and test requests pause when the allowance is exhausted until the next renewal. Production uses separate purchased credits, and output tokens are not charged.

Is it intended for full-document transcription?

The focused image extraction, entity, and verification capabilities are designed for a few fields per call; the pricing page states a five-field limit per extract call. Whole-document parsing and extraction are handled by the separate CloudRaker Paperwork product.

Quick Facts

Category
AI developer tool / decision API
Model
decision-machine-1
Inputs
Text and JPEG, PNG, or WebP images
Developer access
REST, TypeScript SDK, Python SDK, dm1 CLI, and supported OpenAI-compatible requests
Test allowance
125 million free input tokens per month on test keys
Production pricing
$0.04 per million input tokens; output tokens are free
milliseconds.ai - AI Tool, Features, Use Cases & Alternatives | UStack