⌘ CodersEditor

All tools / AI tools

AI Batch Request Builder

Create JSONL batch requests for the Chat Completions endpoint.

Creates request files only; model names and provider limits are not verified.

How to use AI Batch Request Builder

Load the example, edit the input using the same format, and select Run. Review the output before copying or downloading.

Example input

[
  {
    "id": "request-1",
    "model": "your-model",
    "messages": [
      {
        "role": "user",
        "content": "Explain JSON"
      },
      {
        "role": "assistant",
        "content": "JSON represents structured data."
      }
    ]
  }
]

Example output

{"custom_id":"request-1","method":"POST","url":"/v1/chat/completions","body":{"model":"your-model","messages":[{"role":"user","content":"Explain JSON"},{"role":"assistant","content":"JSON represents structured data."}]}}

Frequently asked questions

What does this tool do?

Create JSONL batch requests for the Chat Completions endpoint.

What are the limitations?

Creates request files only; model names and provider limits are not verified.

Does it call an AI API?

No. Tool processing runs in your browser. The site separately loads advertising and analytics scripts.

Related tools

AI Chat History Converter

AI Token Budget Calculator

LLM Token Counter (Estimate)