BatchML

Models

Five models: one for demos and integration testing, one for production work, one for document OCR, one for text embeddings, one for audio transcription.

How billing works

Usage is metered in aiUsage units and reported to Google Cloud Marketplace; one unit is US$0.01. A batch's units at its model's rate are its base. Each model sets its own:

You pay the base with the discount taken off, and never less than either minimum.

Every API call is metered as apiRequests, polls included; refused calls are free.

Each model

ModelPublisherModel cardLicence
Demo modelEtz-Hadaat (BatchML)--BatchML Terms
Gemma 4 E2BGoogleModel cardApache License 2.0
LightOnOCR 3LightOnModel cardApache License 2.0
Qwen3 Embedding 0.6BQwen team, Alibaba CloudModel cardApache License 2.0
Whisper large-v3OpenAIModel cardApache License 2.0
Demo model · us-central1, europe-west4, me-west1 · demos and integration testing

Model: demo

aiUsage: per task: a fixed 0.1 aiUsage, whatever the files or their size (the same in every region)

RegionEndpointMinimum per batchMin per taskMax per taskMax discountDiscount from
us-central1https://bl-demo-usc1-prod.web.app3 aiUsage0.1 aiUsage0.1 aiUsage60%6 aiUsage
europe-west4https://bl-demo-euw4-prod.web.app3 aiUsage0.1 aiUsage0.1 aiUsage60%6 aiUsage
me-west1https://bl-demo-mew1-prod.web.app3 aiUsage0.1 aiUsage0.1 aiUsage60%6 aiUsage

Example batches of tasks at 0.1 aiUsage each

TasksUsage (aiUsage)DiscountCharge (aiUsage)Charge (US$)
10.10%30.03
1010%30.03
100107.4%90.09
1,00010040.6%590.59
5,00050060%2002.00

For example, 1,000 tasks cost 59 aiUsage (US$0.59) as one batch.

No model behind it: the answer describes each input file's format, size and structure. Use it to test integration, permissions and billing end to end; it takes no config file.

Input: text, PDF, images, audio and video, up to 2 GiB per file · Output: a details document as the task's content object ({batch_id}.{task_index}.content.json), beside each task's result file.

From 6 aiUsage, each doubling of the batch adds 10% off the whole batch, up to 60%.

Gemma 4 E2B · us-central1 · production work

Model: gemma-4-e2b · Model card

aiUsage: per task: (10 × input + 40 × output) / 1M × (1 + input / 32k + output / 1.5k) aiUsage; input and output in tokens (the same in every region)

RegionEndpointMinimum per batchMin per taskMax per taskMax discountDiscount from
us-central1https://bl-gemma-e2b-usc1-prod.web.app20 aiUsage0.01 aiUsage 1.12128 aiUsage20%200 aiUsage

Example batches of documents of about 2,650 input and 556 output tokens at 0.0708 aiUsage each

TasksUsage (aiUsage)DiscountCharge (aiUsage)Charge (US$)
10.070%200.20
100.710%200.20
1007.080%200.20
1,00070.840%710.71
5,000354.218.2%3253.25

For example, 1,000 documents of about 2,650 input and 556 output tokens cost 71 aiUsage (US$0.71) as one batch.

Extracts the key facts you ask for from a text document, as one JSON object; give the task a config file carrying an answer_schema and the answer comes back shaped to it.

Input: per task, a config file (.json) then one text document, up to 1 MiB per file · Output: the JSON answer in its own file beside each task's result file ({batch_id}.{task_index}.content.json).

From 200 aiUsage, each doubling of the batch adds 10% off the whole batch, up to 20%.

LightOnOCR 3 · us-central1, europe-west3, europe-west4 · document OCR

Model: lightonocr-3-1b · Model card

aiUsage: per task: 0.12 a page (the same in every region)

RegionEndpointMinimum per batchMin per taskMax per taskMax discountDiscount from
us-central1https://bl-lightonocr-usc1-prod.web.app10 aiUsage0.01 aiUsage 6 aiUsage30%200 aiUsage
europe-west3https://bl-lightonocr-euw3-prod.web.app10 aiUsage0.01 aiUsage 6 aiUsage30%200 aiUsage
europe-west4https://bl-lightonocr-euw4-prod.web.app10 aiUsage0.01 aiUsage 6 aiUsage30%200 aiUsage

Example batches of documents of 10 pages at 1.2 aiUsage each

TasksUsage (aiUsage)DiscountCharge (aiUsage)Charge (US$)
11.20%100.10
10120%120.12
1001200%1201.20
1,0001,20025.8%8908.90
5,0006,00030%4,20042.00

For example, 1,000 documents of 10 pages cost 890 aiUsage (US$8.90) as one batch.

Reads a PDF or a page image and writes out its text: one text file per task, every page's text in page order, a page marker before each.

Input: per task, an optional config file (.json) then one PDF or page image (PNG, JPEG or WebP), up to 256 MiB per file; a task reads at most 50 pages, and the config's first_page and last_page pick the pages · Output: one text file beside each task's result file.

From 200 aiUsage, each doubling of the batch adds 10% off the whole batch, up to 30%.

Qwen3 Embedding 0.6B · us-central1 · text embeddings

Model: qwen3-embedding-0.6b · Model card

aiUsage: per task: 5 × input / 1M aiUsage; input in tokens (the same in every region)

RegionEndpointMinimum per batchMin per taskMax per taskMax discountDiscount from
us-central1https://bl-qwen3-embedding-usc1-prod.web.app10 aiUsage0.01 aiUsage 1.310885 aiUsage20%200 aiUsage

Example batches of documents of about 32,000 input tokens at 0.16 aiUsage each

TasksUsage (aiUsage)DiscountCharge (aiUsage)Charge (US$)
10.160%100.10
101.60%100.10
100160%160.16
1,0001600%1601.60
5,00080020%6406.40

For example, 1,000 documents of about 32,000 input tokens cost 160 aiUsage (US$1.60) as one batch.

Turns each text document into embedding vectors: one vector per chunk of the document, in document order, written as one JSON Lines file.

Input: per task, an optional config file (.json) then one text document, up to 256 KiB per file, cut into chunks of up to 8,191 tokens; each vector has 1,024 values, and the config's dimensions makes every vector shorter · Output: one JSON Lines file beside each task's result file, one line per chunk with its index and embedding.

From 200 aiUsage, each doubling of the batch adds 10% off the whole batch, up to 20%.

Whisper large-v3 · us-central1 · audio transcription

Model: whisper-large-v3 · Model card

aiUsage: per task: 9 per audio hour, each file's seconds rounded up (the same in every region)

RegionEndpointMinimum per batchMin per taskMax discountDiscount from
us-central1https://bl-whisper-large-v3-usc1-prod.web.app10 aiUsage0.01 aiUsage 40%100 aiUsage

Example batches of audio files of 60 minutes at 9 aiUsage each

TasksUsage (aiUsage)DiscountCharge (aiUsage)Charge (US$)
190%100.10
10900%900.90
10090031.7%6156.15
1,0009,00040%5,40054.00
5,00045,00040%27,000270.00

For example, 1,000 audio files of 60 minutes cost 5,400 aiUsage (US$54.00) as one batch.

Transcribes speech in audio and video files to text, with timestamps.

Input: audio or video files (a video's audio track is transcribed), each up to its file type's size: .opus .ogg .oga .weba 200 MB; .mp3 .m4a .aac 400 MB; .flac 1 GiB; .wav 1.5 GiB; video and .webm 6 GiB; an optional config file (.json) before the audio sets the transcript's language, English without one · Output: a folder of transcript chunk files ({batch_id}.{task_index}/chunk.NNNNN.content.json), one JSON object per ~10-minute piece of the audio -- input, index, start, end, text, start_sample, samples, the seconds absolute in the whole file -- beside each task's result file, whose content names the folder's prefix and chunk count.

Chunk files stay in your bucket after the batch concludes -- the service deletes nothing -- and a bucket lifecycle rule can clean them up.

From 100 aiUsage, each doubling of the batch adds 10% off the whole batch, up to 40%.

Each model is used under its own licence, linked above; your obligations are in Terms, section 1. Models may be added, replaced or withdrawn.