Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Batch API

Topic: Training and modelsAlso called batch processing

Definition

A provider endpoint that takes many requests at once and returns results later, typically within 24 hours, at a lower price than live requests.

In more detail

You upload a file of requests, the provider processes them when it has spare capacity, and you download the results. OpenAI and Anthropic both price batch requests at half their standard rate, and batches do not count against your normal rate limits.

Batching suits work nobody is waiting on: running evals, classifying a backlog, generating embeddings for a corpus, nightly summaries. It does not suit chat or agents that need each answer before the next step. Combine it with prompt caching for further savings where the provider allows.

  • Inference

    Running a trained model to produce outputs, as opposed to training it. Inference cost and speed decide what an AI feature costs to run.

  • Rate limit

    A provider's cap on requests or tokens per minute or per day; requests over the cap are rejected with an error until the window resets.

  • Semantic caching

    Reusing a stored model response when a new request means the same as an earlier one, judged by embedding similarity rather than exact text.

  • LLM cost optimisation

    Cutting LLM costs with caching, model routing, batching and budgets.

    SkillIntermediate

  • LLM evaluation

    Measuring AI system quality with datasets, code checks and model-graded tests.

    SkillIntermediate

  • Prompt caching

    Reusing the processed form of a repeated prompt prefix, such as a long system prompt, across requests to reduce latency and cost.

    Glossary