• COST
  • STATUS
  • DATA
  • CONTROL

How to run asynchronous batch jobs with your AI

Connect your AI to Anthropic to process large request volumes in the background. You'll save on token costs while your agent manages the queue.

Ask AI about this page

Short answer

How can I run batch jobs with my AI?

Your AI sends large datasets to Anthropic to be processed in the background. This method reduces token costs and lets you move on to other work while the agent monitors the job status.

Batch job outcomes

What you get from batching

Moving work to the background changes how you interact with your data.

COST

Lower token prices

The AI uses the batch endpoint to process requests at a reduced rate. This makes large-scale tasks much cheaper.

STATUS

Live job tracking

Your agent keeps an eye on the queue. You'll know exactly when a job is running, completed, or failed.

DATA

Ready-to-use results

Once the background work finishes, the AI pulls the processed data directly into your chat. You get the final output without manual downloading.

CONTROL

Manual intervention

If a job is behaving badly, you can tell the AI to stop it. You stay in control of the process.

The workflow

What your AI does when the batch arrives.

The AI takes over the heavy lifting of managing long-running requests.

  1. Submit the data

    Your AI bundles your requests into a single batch and sends it to Anthropic.

    create_batch
  2. Monitor progress

    The agent checks the status of your active jobs to see if they are still processing.

    list_batchesget_batch
  3. Retrieve results

    When the job is done, the AI fetches the completed responses for you.

    get_batch_results
  4. Stop a job

    If you need to halt a process, the AI can kill the running batch immediately.

    cancel_batch

Try it

Copy these to start.

Use these prompts to manage your background tasks.

Starting points

These are opening lines. Swap the bracketed text for your actual file names or request counts.

Anthropic Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_LiE24PhSuk7PZGEQhhm3eCwhCqiOpA9Ag62teVlt/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Anthropic capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "anthropic-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_LiE24PhSuk7PZGEQhhm3eCwhCqiOpA9Ag62teVlt/mcp"
    }
  }
}
Copy into chat04
  • Create a batch job for the 200 customer feedback rows in my feedback.csv file.

  • List all my current Anthropic batch jobs and tell me which ones are finished.

  • Check the status of the batch job I started for the product review dataset.

  • Get the results from the batch job that processed my translation requests.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Anthropic once, then ask.

Connect your account once. Your credentials stay encrypted on our side, and you can immediately start managing batch jobs through your AI client.

Connect Anthropic to your AI

FAQ

How batching behaves

  • 01

    Can the AI cancel a job that is already running?

    Yes, the AI can stop a batch job before it finishes.

  • 02

    Does the AI automatically delete my batch results?

    No, the AI only retrieves the results. It does not delete data from Anthropic.

  • 03

    Can the AI change the contents of a batch once it is submitted?

    No, once a batch is created, the contents cannot be modified. You would need to cancel it and start a new one.

  • 04

    How does this save me money?

    The Batch API provides a lower price point for requests that don't need an instant response.

  • 05

    Can the AI see my real-time chat history?

    No, the AI only interacts with the specific batch data and job statuses you request.

  • More questions about Anthropic? The Connector page answers them. See everything the Anthropic Connector can do

Connect Anthropic to Claude, Cursor, ChatGPT & more