---
title: "Async, Batch & Group Inference APIs | Inference.net"
description: "High-volume asynchronous LLM inference on Inference.net: /v1/slow requests with configurable completion windows, Group API, 1M-request JSONL Batch API, and reliable webhooks."
url: "https://inference.net/solutions/batch-async-inference/"
---

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)

[Get API key](https://inference.net/register/) [Contact sales for volume pricing](https://inference.net/sales/)

Capabilities & Specs

## Built for production reliability

| Capability | Specification | How it helps |
| --- | --- | --- |
| Async `/v1/slow` | Up to 24h default · optional 60s–72h completion_window | Individual OpenAI-compatible requests returning an immediate ID; supports /chat/completions, /completions, /embeddings. |
| Group API (`/v1/slow/group/*`) | Up to 50 requests/group · single webhook callback | Submit 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 file | Upload JSONL files for massive offline enrichment, classification, or evaluation jobs (24h default; configurable 24h–7d). |
| Webhook delivery & retries | Built-in delivery + ZDR post-delivery purge | Signed webhook events with automatic backoff retries (up to 24 attempts). |
| Model compatibility | Async-capable public models | Works 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

[**Async API overview** Complete guide to /v1/slow, completion_window scheduling (60s–1h priority dispatch; up to 72h deadline), and status states. Open guide](https://inference.net/docs/api/async/overview/) [**Batch API docs** Submit up to 1,000,000 requests in a single JSONL file (24 hours by default; configurable from 24 hours to 7 days). Open guide](https://inference.net/docs/api/async/batch/) [**Group API docs** Send up to 50 requests in one JSON payload and receive a single completion callback. Open guide](https://inference.net/docs/api/async/group/) [**Webhooks guide** Webhook event payloads, signature verification, and 24-attempt retry schedules. Open guide](https://inference.net/docs/api/async/webhooks/) [**LLM Pricing Calculator** Estimate monthly token spend across all catalog models before running a batch job. Open guide](https://inference.net/tools/llm-pricing-calculator/)

FAQ

## Frequently asked questions.

Quick answers to help you get started

### When should I use /v1/slow, Group API, or Batch API?

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.

### Can I use Async and Group APIs with Zero Data Retention enabled?

With ZDR on, `/v1/slow` and Group API requests are supported when you attach an enabled `webhook_id`; results are delivered only to the webhook and purged immediately after delivery finishes. Batch (`/v1/batches`) and Files (`/v1/files`) require turning ZDR off in team settings.

### Which API key type works with /v1/slow and Batch API?

Async, Group, and Batch endpoints require a pay-as-you-go API credit key. Inference Pass plan keys are restricted to interactive synchronous routes and return 403 plan_route_not_supported on async endpoints.

### What happens if my webhook endpoint is temporarily down?

Failed webhook deliveries retry automatically up to 24 attempts (about 3 days on the standard schedule, or faster inside a short completion_window like 4m).

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.

[Get API key](https://inference.net/register/) [Browse models](https://inference.net/models/) [Talk to sales](https://inference.net/sales/)
