Skip to content

feat: Add unified batch processing API #1244

@bugproof

Description

@bugproof
  • I have looked for existing issues (including closed) about this

Feature Request

e.g. https://platform.claude.com/docs/en/build-with-claude/batch-processing
https://ai.google.dev/gemini-api/docs/batch-api
https://platform.openai.com/docs/guides/batch

Motivation

To send asynchronous groups of requests with 50% lower costs, a separate pool of significantly higher rate limits, and a clear 24-hour turnaround time. The service is ideal for processing jobs that don't require immediate responses.

Proposal

Not as of now. I saw there is already JSONL decoder here so might be a starting point

//! JSONL is currently not used, it might be used when Anthropic batches beta feature is used.

Alternatives

No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions