aimlapi-batch

Installation
SKILL.md

Run a batch

A batch runs a JSONL file of /v1/chat/completions requests within 24 hours at the model's batch price (for most providers half the list price). The format is OpenAI's: with the OpenAI SDK, files.create, batches.* and files.content work after changing base_url.

When to use

  • Many prompts nobody waits for: evaluations, labelling, summarizing a dataset
  • "Cheapest way to run all of these", "OpenAI Batch API", "input_file_id"
  • A batch ended failed or expired, or its result file will not download

Not for: anything a user is waiting for (aimlapi-chat); images, audio, embeddings (only chat lines are accepted).

Steps

1. Pick a model that has a batch price

curl -s 'https://api.aimlapi.com/v1/models?id=anthropic/claude-haiku-5-5&include=pricing'
Installs
2
Repository
aimlapi/skills
First Seen
6 days ago