NewKimi K3.1 Pro is now availableTry it now
Async & Batch Pipelines

Async, Batch & Group Inference APIs

Run offline generation, document enrichment, and large-scale evaluations at reduced cost with Inference.net's /v1/slow Async API, Group API (up to 50 requests with one completion webhook), and Batch API (up to 1,000,000 JSONL requests; 24 hours by default, configurable from 24 hours to 7 days).

  • Change only `/v1` to `/v1/slow` in the OpenAI SDK for reduced-cost background inference
  • Set `metadata.completion_window` (60s–1h for priority dispatch ahead of untimed jobs; longer windows up to 72h set a deadline without priority dispatch)
  • Group API batches up to 50 requests in one JSON call with one `slow-group.completed` webhook
  • Batch API processes up to 1,000,000 requests per JSONL file (24 hours by default; configurable from 24 hours to 7 days)
Capabilities & Specs

Built for production reliability

Technical specifications and benefits for Async, Batch & Group Inference APIs
CapabilitySpecificationHow it helps
Async `/v1/slow`Up to 24h default · optional 60s–72h completion_windowIndividual OpenAI-compatible requests returning an immediate ID; supports /chat/completions, /completions, /embeddings.
Group API (`/v1/slow/group/*`)Up to 50 requests/group · single webhook callbackSubmit a bundle of related prompts in one JSON payload and track them as a single job.
Batch API (`/v1/batches`)Up to 1,000,000 requests / JSONL fileUpload JSONL files for massive offline enrichment, classification, or evaluation jobs (24h default; configurable 24h–7d).
Webhook delivery & retriesBuilt-in delivery + ZDR post-delivery purgeSigned webhook events with automatic backoff retries (up to 24 attempts).
Model compatibilityAsync-capable public modelsWorks with public models that accept asynchronous requests, including Schematron V2 extraction models (synchronous-only models return HTTP 400).
Quickstart

Submit an async request with webhook delivery

Configure webhooks under Dashboard -> Settings -> Webhooks. All slow endpoints support /chat/completions, /completions, and /embeddings.

typescript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.inference.net/v1/slow",
  apiKey: process.env.INFERENCE_API_KEY,
});

// Returns immediately with a generation ID; result delivers to your webhook
const queued = await client.chat.completions.create({
  model: "kimi-k3-fast",
  messages: [{ role: "user", content: "Classify this support ticket." }],
  // @ts-expect-error metadata passes webhook_id and completion_window
  metadata: {
    webhook_id: process.env.INFERENCE_WEBHOOK_ID,
    completion_window: "10m",
  },
});

console.log("Queued request:", queued.id);
Documentation & Guides

Guides and references

FAQ

Frequently asked questions.

Quick answers to help you get started

Use `/v1/slow` for individual background requests with optional `completion_window` (60s–72h). Use Group API (`/v1/slow/group/*`) to submit up to 50 related requests in one JSON payload with a single `slow-group.completed` webhook. Use Batch API (`/v1/batches`) for up to 1,000,000 requests uploaded as a JSONL file.

Get Started

Ship on Inference.net today

Start self-serve with an API key, explore live model pricing, or talk with our team about dedicated capacity and custom SLAs.