Skip to content
HIPS
  • Earn with your GPU
  • Pricing
  • Docs
Sign inJoin early access
⌘K

Get started

  1. 01Developer hub
  2. 02Quickstart
  3. 03Migrate to HIPS

Guides

  1. 04HIPS SDK
    1. APython
    2. BTypeScript and JavaScript
    3. CGo
    4. DRust
    5. EJava
    6. F.NET
    7. GPHP
    8. HRuby
  2. 05Import and run your model
  3. 06Model and task guides
    1. ATask guides
    2. BLanguage (chat)
    3. CClassification
    4. DImage
    5. EVideo
    6. FAudio
    7. GDocument processing
  4. 07Batch jobs
  5. 08Prompt caching
  6. 09Coding-tool setup
    1. AClaude Code
    2. BOther coding tools and editor integrations
  7. 10Command line
    1. ASign in

Reference

  1. 11API reference
    1. AAuthentication
    2. BChat completions
    3. CResponses
    4. DModels
    5. ETasks
    6. FJobs
    7. GUploads
    8. HDeployments
    9. IRequirements and headers
    10. JErrors
    11. KUsage
    12. LVersioning
  2. 12Operating guidance
    1. ALimits
    2. BErrors
    3. CRetries and billing outcomes
    4. DIdempotency
    5. EStreaming
    6. FData handling
    7. GCompatibility matrix
  3. 13Changelog
Sheet indexBatch jobs

Get started

  1. 01Developer hub
  2. 02Quickstart
  3. 03Migrate to HIPS

Guides

  1. 04HIPS SDK
    1. APython
    2. BTypeScript and JavaScript
    3. CGo
    4. DRust
    5. EJava
    6. F.NET
    7. GPHP
    8. HRuby
  2. 05Import and run your model
  3. 06Model and task guides
    1. ATask guides
    2. BLanguage (chat)
    3. CClassification
    4. DImage
    5. EVideo
    6. FAudio
    7. GDocument processing
  4. 07Batch jobs
  5. 08Prompt caching
  6. 09Coding-tool setup
    1. AClaude Code
    2. BOther coding tools and editor integrations
  7. 10Command line
    1. ASign in

Reference

  1. 11API reference
    1. AAuthentication
    2. BChat completions
    3. CResponses
    4. DModels
    5. ETasks
    6. FJobs
    7. GUploads
    8. HDeployments
    9. IRequirements and headers
    10. JErrors
    11. KUsage
    12. LVersioning
  2. 12Operating guidance
    1. ALimits
    2. BErrors
    3. CRetries and billing outcomes
    4. DIdempotency
    5. EStreaming
    6. FData handling
    7. GCompatibility matrix
  3. 13Changelog
07
  1. Docs/
  2. Batch jobs

PreviewNot yet validated. Join early access

llms.txt

Batch jobs

On this sheet9 sections
  1. How a batch runs
  2. Collect the results
  3. The routes
  4. What a line can call
  5. The completion window
  6. Price
  7. Limits
  8. Where batch lines run
  9. Files and retention

Send many requests at once and collect the results when they are done. HIPS runs batch lines when GPU capacity is free, at 50% less than the on-demand price of the same model, and tells you when the batch is finished. The API is OpenAI's Batch API, so the official SDKs and the batch scripts you already have work against HIPS unchanged.

Note

Batch is decided and not yet served. The queue of enqueued tokens per model and workspace is set per plan, and its values are still open Not decided yet.

F
Fig. 1, sheet 07Batch jobs

How a batch runs

  1. 01

    Step 1: Write a JSONL file, one request per line, each with your own custom_id.

  2. 02

    Step 2: Upload it with POST /v1/files and the purpose batch.

  3. 03

    Step 3: Create the batch with POST /v1/batches, naming the endpoint and the completion window. The price is quoted and bound here.

  4. 04

    Step 4: HIPS runs the lines when capacity is free. Live requests always come first.

  5. 05

    Step 5: When the batch ends, a signed webhook and a mail tell you; download the output and error files.

00000000000000000000000000000000000000001import json2import os3from openai import OpenAI4 5client = OpenAI(6    api_key=os.environ["HIPS_API_KEY"],7    base_url=os.environ["HIPS_BASE_URL"],  # https://ai.hips.com/v18)9 10# One request per line, each with your own custom_id.11with open("requests.jsonl", "w") as f:12    for i, text in enumerate(["First document.", "Second document."]):13        f.write(json.dumps({14            "custom_id": f"doc-{i}",15            "method": "POST",16            "url": "/v1/chat/completions",17            "body": {18                "model": os.environ["HIPS_MODEL"],19                "messages": [{"role": "user", "content": f"Summarize: {text}"}],20            },21        }) + "\n")22 23batch_file = client.files.create(file=open("requests.jsonl", "rb"), purpose="batch")24batch = client.batches.create(25    input_file_id=batch_file.id,26    endpoint="/v1/chat/completions",27    completion_window="24h",28)29print(batch.id, batch.status)
Reads from the environmentHIPS_API_KEYHIPS_BASE_URLHIPS_MODEL

Collect the results

The output file holds one line per finished request, matched to your input by custom_id, in no particular order. Lines that failed, and lines still unfinished when the window closed, come back in the error file.

Python

00000000000000000000000000000000000000001batch = client.batches.retrieve(batch.id)2 3if batch.status == "completed":4    for line in client.files.content(batch.output_file_id).text.splitlines():5        record = json.loads(line)6        print(record["custom_id"], record["response"]["status_code"])7 8    # Lines that failed, or expired when the window closed, are in the error file.9    if batch.error_file_id:10        print(client.files.content(batch.error_file_id).text)
Python sample

The routes

On https://ai.hips.com, in OpenAI's Batch API shape.

POST/v1/filespreview

Upload the JSONL input file with the purpose batch.

POST/v1/batchespreview

Create a batch from an input file: input_file_id, endpoint, completion_window.

GET/v1/batches/{id}preview

A batch with its status, its line counts and its output and error file ids.

POST/v1/batches/{id}/cancelpreview

Cancel a batch. Finished lines are delivered and charged; the rest are not.

GET/v1/batchespreview

The workspace's batches, newest first.

GET/v1/files/{id}/contentpreview

Download an output or error file.

What a line can call

  • /v1/chat/completions, for language models.
  • Embeddings.
  • The HIPS task API, for every other model type: a line that OpenAI's Batch API does not offer.
  • One model per input file; your own model's lines follow the pools it may run in.

The completion window

You choose how long HIPS may take: 24h by default, or any whole number of hours or days up to 7d. The price is the same for every window. No finish time is promised inside it: everything that finishes is delivered, and lines still unfinished when the window closes come back as expired and are not charged.

Price

Batch
Discount50% less than the on-demand rate of the same model, pool and unit, applied to every rate a line uses: input, cached input, output and every task unit
QuoteBound when POST /v1/batches accepts the batch, and held for every line through the window
Prompt cachingThe batch discount and the cached-input rate multiply (Prompt caching)
BalanceThe batch's maximum charge (input at batch rates plus each line's output cap) is held against your prepaid balance at creation and released line by line as lines finish or expire
Expired linesNot charged
A model without batchA model whose price cannot carry the discount is sold without batch rather than at a smaller discount, and the catalog says so
  • Discount
    Batch
    50% less than the on-demand rate of the same model, pool and unit, applied to every rate a line uses: input, cached input, output and every task unit
  • Quote
    Batch
    Bound when POST /v1/batches accepts the batch, and held for every line through the window
  • Prompt caching
    Batch
    The batch discount and the cached-input rate multiply (Prompt caching)
  • Balance
    Batch
    The batch's maximum charge (input at batch rates plus each line's output cap) is held against your prepaid balance at creation and released line by line as lines finish or expire
  • Expired lines
    Batch
    Not charged
  • A model without batch
    Batch
    A model whose price cannot carry the discount is sold without batch rather than at a smaller discount, and the catalog says so

Actual prices are set per model in the catalog; the Pricing page shows the shape.

Limits

The limits match OpenAI's, so existing scripts run unchanged

LimitValue
Lines per input file50,000
Input file size200 MB
Models per input fileOne
Embedding inputs per batch50,000
Batches created per hour2,000
Open batches per workspace100
Enqueued input tokens per model and workspaceSet per plan Not decided yet
  • Limit
    Lines per input file
    Value
    50,000
  • Limit
    Input file size
    Value
    200 MB
  • Limit
    Models per input file
    Value
    One
  • Limit
    Embedding inputs per batch
    Value
    50,000
  • Limit
    Batches created per hour
    Value
    2,000
  • Limit
    Open batches per workspace
    Value
    100
  • Limit
    Enqueued input tokens per model and workspace
    Value
    Set per plan Not decided yet

Where batch lines run

  • On every eligible idle GPU: personal devices the moment they come online, and spare capacity in the approved data-center pool.
  • Live requests always come first. A device finishes the batch line it is running before it takes a live request.
  • Lines that share a long prompt prefix are grouped and run in order on one worker, so the shared part is cached once.
  • A batch line on your own model runs only where the model may run: the approved pool, at launch.

Files and retention

Batch input and output files are kept 30 days and then deleted, sooner when you set a shorter expiry (expires_after, output_expires_after) or delete them. Their content follows the same training rule as a live request on the same plan (Data handling).

Related sheets

  • Prompt caching
  • Retries and billing outcomes
  • Limits
Previous sheetDocument processing
Next sheetPrompt caching
Sheet
07 of 13
Updated
2026-10-21
Status
Preview
Join early access

On this sheet

  1. How a batch runs
  2. Collect the results
  3. The routes
  4. What a line can call
  5. The completion window
  6. Price
  7. Limits
  8. Where batch lines run
  9. Files and retention

Product

  • Inference
  • Models
  • Deploy your model
  • Always-on GPU capacity
  • How it works
  • Use cases
  • Pricing

Developer

  • Docs
  • Quickstart preview
  • Migrate to HIPS
  • HIPS SDK
  • Batch jobs
  • API reference

Provider

  • Earn with your GPU
  • Register GPU interest
  • Download for Mac
  • Download for Windows
  • Download for Linux

Resource

  • Security and Data
  • Resources
  • llms.txt

Company

  • About
  • Contact
  • Affiliate program
  • HIPS Payments

Legal

  • Legal
  • Consumer Health Data Privacy Policy
  • Report content
  • Cookie settings

Support

  • Contact HIPS
  • Looking for payments support?

HIPS. AI inference for builders.

hips.com

Hyperscale Inference Processing Systems OÜ