Docs

Create an API key in the console, point an OpenAI SDK at https://api.batchrate.ai/v1, and submit a JSONL batch. Jobs run inside a 24h completion window, and results typically come back within hours.

Already using OpenAI? Change base_url

Point the official OpenAI SDK at https://api.batchrate.ai/v1. Python takes base_url. JavaScript takes baseURL. Use a Batchrate key (br_live_...). The calls below are files.create and batches.create.

from openai import OpenAI

client = OpenAI(
    api_key="br_live_...",
    base_url="https://api.batchrate.ai/v1",
)

batch_file = client.files.create(
    file=open("batch.jsonl", "rb"),
    purpose="batch",
)
batch = client.batches.create(
    input_file_id=batch_file.id,
    endpoint="/v1/chat/completions",
    completion_window="24h",
)
import fs from "node:fs";
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "br_live_...",
  baseURL: "https://api.batchrate.ai/v1",
});

const batchFile = await client.files.create({
  file: fs.createReadStream("batch.jsonl"),
  purpose: "batch",
});
const batch = await client.batches.create({
  input_file_id: batchFile.id,
  endpoint: "/v1/chat/completions",
  completion_window: "24h",
});

POST /v1/files accepts multipart file and purpose batch. POST /v1/batches accepts input_file_id, endpoint /v1/chat/completions, and completion_window 24h. A direct chat completion returns unknown_route. Put those requests in the JSONL file. Walkthroughs: Run an OpenAI batch on open models and Classify a million rows.

Quickstart

Install the official SDK. No Batchrate package is required.

pip install openai
import time
from openai import OpenAI
client = OpenAI(api_key="br_live_...", base_url="https://api.batchrate.ai/v1")
f = client.files.create(file=open("batch.jsonl", "rb"), purpose="batch")
b = client.batches.create(input_file_id=f.id, endpoint="/v1/chat/completions", completion_window="24h")
while b.status not in ("completed", "failed", "expired", "cancelled"):
    time.sleep(30); b = client.batches.retrieve(b.id)
if b.output_file_id: print(client.files.content(b.output_file_id).text)

JavaScript is the same idea: new OpenAI({ apiKey, baseURL: "https://api.batchrate.ai/v1" }). Complete scripts for Python, JavaScript, and curl are under Examples.

Use with LiteLLM

Batchrate works with LiteLLM's batch API using the openai provider, no plugin needed.

import os, litellm
kw = dict(custom_llm_provider="openai", api_base="https://api.batchrate.ai/v1",
          api_key=os.environ["BATCHRATE_API_KEY"])
f = litellm.create_file(file=open("in.jsonl","rb"), purpose="batch", **kw)
b = litellm.create_batch(completion_window="24h", endpoint="/v1/chat/completions",
                         input_file_id=f.id, metadata={"job":"demo"}, **kw)
b = litellm.retrieve_batch(batch_id=b.id, **kw)
if b.status == "completed":
    out = litellm.file_content(file_id=b.output_file_id, **kw).content
model_list:
  - model_name: qwen3.6-35b-a3b
    litellm_params: {model: openai/qwen3.6-35b-a3b, api_base: https://api.batchrate.ai/v1, api_key: os.environ/BATCHRATE_API_KEY}
files_settings:
  - {custom_llm_provider: openai, api_base: https://api.batchrate.ai/v1, api_key: os.environ/BATCHRATE_API_KEY}

Clients use the OpenAI SDK with base_url=http://localhost:4000/v1 and the header custom-llm-provider: openai on files and batches calls. files_settings routes /v1/files; a model_list entry alone does not. That model_list entry is only there for the proxy, so don't route chat.completions to Batchrate through LiteLLM.

{"custom_id":"req-0","method":"POST","url":"/v1/chat/completions","body":{"model":"qwen3.6-35b-a3b","messages":[{"role":"user","content":"hi"}],"max_tokens":64,"chat_template_kwargs":{"enable_thinking":false}}}

Authentication

Send Authorization: Bearer br_live_.... Keys are shown once at creation and are not shown again. Revoked keys stop working immediately. The console can also call these routes while you are signed in.

Files

POST /v1/files

Multipart form with purpose=batch and file. The body must be valid batch JSONL. A batch input file can have up to 5,000 lines and 10 MB (up to 50 MB when lines carry base64 images; see image limits), and each line becomes one request. Optional expires_after[anchor]=created_at and expires_after[seconds] (3600 to 2592000) delete the file that many seconds after upload. Response:

{
  "id": "file-...",
  "object": "file",
  "bytes": 120,
  "created_at": 1710000000,
  "filename": "batch.jsonl",
  "purpose": "batch",
  "status": "processed",
  "status_details": null,
  "expires_at": null
}

expires_at is the time the file is scheduled for deletion, or null when deletion depends on batch activity (see File retention). Output and error files have purpose: "batch_output". Documents (PDF, DOCX, and others) are uploaded with purpose=user_data; see Documents.

GET /v1/files

Lists files you own, newest first. Optional query parameters: purpose (batch, batch_output, or user_data), limit (1 to 10000, default 100), order (asc or desc), and after (a file id from the previous page). The response uses object: "list", data, first_id, last_id, and has_more. Deleted files are not listed.

GET /v1/files/{id}

Returns the same file object if you own it.

GET /v1/files/{id}/content

Returns the raw bytes. Use this for input, output, and error files.

DELETE /v1/files/{id}

Deletes a file you own and removes the object from storage immediately.

{
  "id": "file-...",
  "object": "file",
  "deleted": true
}

If the input file is still used by a batch in validating, in_progress, finalizing, or cancelling, the API returns file_in_use and names that batch. Cancel the batch first. A batch that is still cancelling stays blocked until it reaches a terminal status. Output and error files can be deleted at any time. Deleting a file does not remove the batch or its billing record. Reading a deleted file returns file_not_found.

File retention

Input files are deleted 7 days after every batch that used them reaches a terminal state (completed, cancelled, failed, or expired). An input file that is never used is deleted 7 days after upload. Output and error files are deleted 30 days after they are created. An upload with expires_after, or a batch with output_expires_after, is deleted at its own expires_at if that comes first. You can delete sooner with DELETE /v1/files/{id} or the console. Automatic deletion removes the file. Credit records stay for accounting.

Batches

POST /v1/batches

{
  "input_file_id": "file-...",
  "endpoint": "/v1/chat/completions",
  "completion_window": "24h",
  "metadata": { "dataset": "support-queue" },
  "output_expires_after": { "anchor": "created_at", "seconds": 604800 }
}

endpoint is /v1/chat/completions for chat models or /v1/audio/transcriptions for Whisper, and must match the url on every line of the file. completion_window is 24h when omitted, or 1h for Rush. Any other value returns invalid_completion_window. The batch moves to in_progress after validation. If the available credit balance is below the estimate, the API returns insufficient_quota. output_expires_after is optional and sets how long output and error files are kept after they are created, from 3600 seconds up to the standard output retention.

GET /v1/files/{id}/estimate

Returns a cost estimate for an uploaded file. Output tokens are always an estimate. They come from each line's max_tokens or max_completion_tokens. A line that omits both uses the default output length, up to the maximum used for estimates. warning is set when free tokens plus the available balance will not cover the estimated price. The same object is included as estimate on the file. A created batch stores the quote used for its hold. Output tokens on that quote are still an estimate.

GET /v1/batches and GET /v1/batches/{id}

List responses use object: "list", data, first_id, last_id, and has_more. Pass limit and after to page. A batch includes model, request_counts, output_file_id, error_file_id, usage, output_expires_after, and estimate.

POST /v1/batches/{id}/cancel

Queued lines are cancelled. Lines already running can still finish. When nothing is left in flight, the batch becomes cancelled and any completed lines are still billed and downloadable.

Statuses: validating, in_progress, finalizing, completed, failed, cancelling, cancelled, expired.

Completion window: 24 hours

Every batch has a 24h completion window that starts when you create it. The deadline is the batch's expires_at, and the console shows it on each running job. Results typically come back within hours.

Rush (1 hour): batch fields and billing

Pass "completion_window": "1h" to ask for results within an hour. Rush is 1.5× the model's standard input and output price. The batch object includes price_tier (rush), rush_deadline_at (the hour), and expires_at (still 24 hours). Whisper and Decisions are 24h only. A job that cannot finish in the hour returns capacity_unavailable_for_window. Resubmit it as 24h.

If a Rush batch misses the hour, you pay the standard price. Completed requests are billed at the 24h rate, and the batch keeps running until the 24 hour window. Anything still unfinished then is released with no charge. The batch sets rush_missed and finished_at when it settles. Free tokens still cover one token per token.

Rush

Set "completion_window": "1h" when you create a batch (chat models: Qwen3.6, gpt-oss-120b, gpt-oss-20b, Gemma 4 26B). Rush batches complete within 1 hour of submission and bill at 1.5x the standard rate. If one finishes late, it bills at the standard rate. Your batch.completed webhook fires as usual.

POST /v1/batches {"input_file_id": "file-abc123", "endpoint": "/v1/chat/completions", "completion_window": "1h"}

Models

GET /v1/models

Lists enabled models.

Prices are not on this route. Read /api/pricing or the pricing page for current prices. This route and upload accept a model id only while that model is enabled. Ids match exactly: openai/gpt-oss-120b is not an alias for gpt-oss-120b, and openai/gpt-oss-20b is not an alias for gpt-oss-20b. google/gemma-4-26b-a4b is not an alias for gemma-4-26b-a4b.

GET /v1/models/{id}

Returns one model object, or model_not_found if that id is not available.

Thinking

qwen3.6-35b-a3b runs with thinking off by default. To turn it on for a request, set "chat_template_kwargs": {"enable_thinking": true} in the body.

Thinking tokens count toward max_tokens and are billed as output tokens. With thinking on, allow a much larger max_tokens (for example 2,000 or more), or the answer can come back empty.

gpt-oss-120b and gpt-oss-20b take reasoning_effort on the chat request body: low, medium, or high. The value is passed through unchanged. Reasoning tokens are billed as output tokens. For bulk jobs, set "reasoning_effort": "low".

JSONL format

{"custom_id":"req-1","method":"POST","url":"/v1/chat/completions","body":{"model":"qwen3.6-35b-a3b","messages":[{"role":"user","content":"Summarize this ticket."}]}}

Every line in a file uses the same model and the same url, as with OpenAI's Batch API. To run several models, upload one file per model and create one batch for each.

Output lines follow the OpenAI batch result shape:

{"id":"batch_req_...","custom_id":"req-1","response":{"status_code":200,"request_id":"req_...","body":{"id":"chatcmpl-...","object":"chat.completion","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":10,"completion_tokens":20,"total_tokens":30}}},"error":null}

Failed lines go to the error file with response: null and an error object of code and message.

Structured JSON output

Add OpenAI's response_format to a line's body to get JSON back. The model is constrained while it writes, so message.content is valid JSON that matches your schema. The only exception is an answer cut off by max_tokens (finish_reason: "length"), so leave enough room.

{"custom_id":"inv-1","method":"POST","url":"/v1/chat/completions","body":{"model":"qwen3.6-35b-a3b","max_tokens":500,"messages":[{"role":"user","content":"Extract the invoice fields from: ..."}],"response_format":{"type":"json_schema","json_schema":{"name":"invoice","strict":true,"schema":{"type":"object","properties":{"vendor":{"type":"string"},"total":{"type":"number"},"currency":{"type":"string","enum":["USD","EUR"]}},"required":["vendor","total","currency"],"additionalProperties":false}}}}}

Supported schema keywords

type, properties, required, additionalProperties, items, prefixItems, enum, const, anyOf, $ref with $defs or definitions, minItems, maxItems, minLength, maxLength, minimum, maximum, exclusiveMinimum, exclusiveMaximum, minProperties, maxProperties, pattern, and format (date-time, date, time, duration, email, hostname, ipv4, ipv6, uuid, uri, uri-reference, uri-template, json-pointer, relative-json-pointer). title, description, default, examples, and $comment are allowed as notes.

Any other keyword, such as oneOf, allOf, or uniqueItems, is rejected at upload with invalid_file and the line number, so a schema is never partly ignored. Rewrite oneOf as anyOf. Schemas can be up to 64 KB, 10 levels deep, and 5,000 properties.

Thinking

json_object and json_schema lines follow the same thinking rules. Thinking is off unless the body sets "chat_template_kwargs": {"enable_thinking": true}. Thinking tokens count toward max_tokens and are billed as output tokens. With thinking on, allow a much larger max_tokens (for example 2,000 or more), or the answer can come back empty. The JSON answer still follows your schema.

Documents

Batches can read PDF, DOCX, HTML, Markdown, and plain-text documents. Batchrate extracts the text once, when the document is uploaded, and the model reads it as part of the prompt. Extraction and splitting are free; document text is billed as input tokens at the model's normal rate, and the estimate includes it before you create the batch.

Upload a document

curl https://api.batchrate.ai/v1/files \
  -H "Authorization: Bearer $BATCHRATE_API_KEY" \
  -F purpose=user_data \
  -F file=@contract.pdf

The response is a normal file object with purpose: "user_data", plus document: its format, pages (PDFs only), and estimated_tokens. With the OpenAI SDK: client.files.create(file=open("contract.pdf", "rb"), purpose="user_data").

Use a document in a request

Add an OpenAI file content part to a line. Use file_id for an uploaded document, or file_data with a base64 data URL and a filename:

{"custom_id":"contract-1","method":"POST","url":"/v1/chat/completions","body":{"model":"qwen3.6-35b-a3b","max_tokens":800,"messages":[{"role":"user","content":[{"type":"text","text":"List the termination clauses."},{"type":"file","file":{"file_id":"file-..."}}]}]}}
{"type":"file","file":{"filename":"memo.pdf","file_data":"data:application/pdf;base64,JVBERi0x..."}}

When the batch file is uploaded, each file part is replaced with the document's text inside <document name="..."> tags, with [Page N] markers for PDFs. The whole request, document included, must fit the model's context window (32,768 tokens including the reply). If it doesn't, the upload names the line; split the document with POST /v1/documents/prepare.

POST /v1/documents/prepare

Splits documents into chunks and writes a batch input file with one request per chunk. Create the batch from it as usual.

{
  "file_ids": ["file-...", "file-..."],
  "model": "qwen3.6-35b-a3b",
  "instructions": "Extract every invoice number and amount. Reply in JSON.",
  "chunk_tokens": 6000,
  "overlap_tokens": 200,
  "max_tokens": 600,
  "response_format": {"type": "json_object"}
}

Response:

{
  "object": "documents.prepared",
  "file": {"id": "file-...", "object": "file", "purpose": "batch", ...},
  "requests": 14,
  "documents": [
    {"file_id": "file-...", "filename": "contract.pdf", "pages": 42,
     "chunks": [{"custom_id": "file-...:1", "first_page": 1, "last_page": 4, "estimated_tokens": 5980}, ...]}
  ],
  "estimate": {...}
}
prepared = client.post("/documents/prepare", cast_to=object, body={
    "file_ids": [doc.id], "model": "qwen3.6-35b-a3b", "instructions": "Summarize each section.",
})
batch = client.batches.create(input_file_id=prepared["file"]["id"],
                              endpoint="/v1/chat/completions", completion_window="24h")

In the console, choose New Batch, then Documents. Drop files, write the instruction, check the estimate, and start the batch.

Limits

Documents follow input retention: they are deleted 7 days after upload, together with their extracted text, or sooner with DELETE /v1/files/{id}. Batches already created from them keep running, because their requests hold the text.

Decisions

Decisions is a batch endpoint for classification. Each line gives a prompt and a list of choices. You get back the chosen label and a probability for every choice. The probabilities sum to 1 and are calibrated on labeled test sets, so you can threshold on them and send low-confidence rows to review.

Good for: ticket routing, content moderation, dataset labeling, lead scoring, and yes/no checks over documents.

How to run it

This is the same OpenAI-compatible Files and Batches flow you already use.

  1. Upload a JSONL file to POST /v1/files with purpose="batch".
  2. Create a batch with POST /v1/batches, using endpoint="/v1/decisions" and completion_window="24h".
  3. Download the output file when the batch completes. Signed webhooks fire as usual (webhooks).

Request line

{"custom_id":"ticket-001","method":"POST","url":"/v1/decisions","body":{
  "model":"batchrate-decide",
  "prompt":"Which team should handle this ticket? Ticket: I was charged twice for my October invoice. Please refund one.",
  "choices":["billing","technical","sales","other"]}}
FieldNotes
modelbatchrate-decide
promptThe text and question being decided.
choicesThe allowed labels. The answer is always one of these. 2 to 256 single-line labels, up to 128 characters each. Multi-word choices are supported.
temperature (optional)Defaults to 2.0.

Output line

{"custom_id":"ticket-001","response":{"status_code":200,"body":{
  "choice":"billing",
  "probabilities":{"billing":0.70,"technical":0.10,"sales":0.10,"other":0.10}}},
 "error":null}

Probabilities above are illustrative only. choice is the highest-probability choice. probabilities covers every choice and sums to 1.

Pricing

$0.02 per million input tokens. Output is free.

Limits

Translate

Translate is a preset that runs translation as a normal chat batch on gemma-4-26b-a4b. Send a CSV (with a header row) or a JSONL file and name the column or field to translate. You get the same file back with a translated column added. In the console, choose New Batch, then Translate.

Target languages: Spanish (es), French (fr), German (de), Brazilian Portuguese (pt-BR), Simplified Chinese (zh-Hans), Japanese (ja), and English (en, from Spanish). GET /v1/translate lists the codes your account can use.

Placeholders such as {name} and %s, HTML tags, Markdown, numbers, and URLs are kept as written. Empty cells stay empty and are not billed. Review anything customer-facing before you publish it.

How to run it

  1. POST /v1/translate/prepare with the file as a string. Add "dry_run": true to get the column list (leave out field) or an estimate without creating anything.
  2. Create a batch from the returned file.id with POST /v1/batches, endpoint="/v1/chat/completions", and completion_window "24h" or "1h" for Rush.
  3. When the batch completes, GET /v1/translate/{batch_id}/result returns the file with the new column.
curl https://batchrate.ai/v1/translate/prepare \
  -H "Authorization: Bearer $BATCHRATE_API_KEY" -H "Content-Type: application/json" \
  -d '{"content":"sku,title\nA1,Hello {name}!\n","filename":"catalog.csv","field":"title","target_language":"es"}'
FieldNotes
contentThe CSV or JSONL file as a string, up to the batch file size limit.
filename (optional)Used for the format (.csv or .jsonl) and the result file name.
format (optional)csv or jsonl. Detected when left out.
fieldThe column (CSV) or top-level key (JSONL) to translate.
target_languageOne of the codes above.
source_language (optional)Defaults to auto.
output_field (optional)Name of the new column. Defaults to {field}_{target_language}.
dry_run (optional)true returns columns, request count, and an estimate only.

Cells that fail are left empty, with the reason in a {output_field}_error column.

Audio

Translate audio too: we transcribe it and translate it into text or subtitles. Run an Audio transcription batch first, using "response_format":"verbose_json" so each line keeps its timing. Then, in the console's Translate page, choose the finished audio batch and a language, or call the API:

  1. POST /v1/translate/audio with {"batch_id":"batch_...","target_language":"es"}. Add "dry_run": true for an estimate.
  2. Create a batch from the returned file.id with endpoint="/v1/chat/completions" and completion_window="24h".
  3. GET /v1/translate/{batch_id}/result?format=srt, vtt, txt, or json. For a batch with several audio files, add &file=<custom_id> to get subtitles for one file. Each transcript line is translated on its own, so subtitles keep the original start and end times.

Audio is billed as the transcription's per-minute price plus normal gemma-4-26b-a4b tokens for the translation step.

Pricing

Normal gemma-4-26b-a4b token prices on the pricing page. There is no separate translation price. Estimates count the most output each cell could use; you are billed for the tokens actually written.

Webhooks

Add an HTTPS endpoint in Settings to get an event when a batch finishes, instead of polling. Each account has one endpoint. Events use the same names and shape as OpenAI's batch webhooks:

POST https://example.com/batchrate-webhook
webhook-id: evt_...
webhook-timestamp: 1760000000
webhook-signature: v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=

{"object":"event","id":"evt_...","type":"batch.completed","created_at":1760000000,"data":{"id":"batch_..."}}

The event carries the batch id only. Call GET /v1/batches/{id} for counts and file ids. The Send test event button sends a webhook.test event.

Verifying signatures

Signatures follow the Standard Webhooks spec, the same scheme OpenAI uses, so the OpenAI SDK can verify them. Pass the raw request body and headers, and your whsec_... signing secret from Settings:

from openai import OpenAI

client = OpenAI(api_key="br_live_...", base_url="https://api.batchrate.ai/v1")

# In your web handler:
event = client.webhooks.unwrap(raw_body, headers, secret="whsec_...")
if event.type == "batch.completed":
    batch = client.batches.retrieve(event.data.id)
// JavaScript
const event = await client.webhooks.unwrap(rawBody, headers, "whsec_...");

unwrap rejects bad signatures and timestamps more than 5 minutes old. To verify by hand: base64-decode the part of the secret after whsec_, compute HMAC-SHA256 over {webhook-id}.{webhook-timestamp}.{raw body}, base64-encode it, and compare with the value after v1,.

Delivery and retries

Return any 2xx status within 10 seconds. Redirects are not followed. Failed deliveries are retried after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours, and 24 hours. If every retry fails, delivery is turned off and we email you; turn it back on in Settings after fixing the endpoint. An event can arrive more than once, so use webhook-id to skip duplicates. Settings shows the last 50 deliveries.

Email alerts and spend limits

Change these in Settings.

Delete your account

Settings has Delete my account. You confirm with your password and by typing your email. The account is closed immediately:

The same email can sign up again. That is a new account, and it does not include the signup token grant. See the privacy policy and the terms.

Account limits

These limits apply when you create a batch. Accounts that have not added credit yet have lower limits, which rise automatically with the first credit purchase.

LimitBefore adding creditAfter adding credit
Batches running at a time3100
Requests per batch5,0005,000
Tokens submitted per 24 hours (estimate, rolling)10,000,0001,000,000,000

A batch is created from one input file, so requests per batch follow the file limit under Files: up to 5,000 lines and 10 MB. For more requests, split them across several batches. Tokens submitted counts the estimate of every batch created in the last 24 hours. Over a limit, POST /v1/batches returns active_batch_limit or daily_token_limit (HTTP 429), or batch_too_large (HTTP 400), with a message that says which limit applies. Need more? Write to contact.

Errors

{"error":{"message":"...","type":"invalid_request_error","param":null,"code":"invalid_file"}}

Common codes: invalid_api_key, invalid_file, insufficient_quota, rate_limit_exceeded, file_not_found, file_in_use, batch_not_found, model_not_found, endpoint_mismatch, spend_limit_reached, active_batch_limit, batch_too_large, daily_token_limit, invalid_completion_window, rush_not_offered, capacity_unavailable_for_window, unknown_route. Batchrate runs batch jobs only, so direct calls such as POST /v1/chat/completions return unknown_route. Put those requests in a JSONL file and create a batch.

Examples

Each script uploads a two-line file, creates a batch, waits for it to finish, and prints the results. Set BATCHRATE_API_KEY before running.

Jobs run inside a 24h completion window, and results typically come back within hours. Poll every 30 to 60 seconds, or add a webhook; there is no need to poll faster.

Billing

Credits are prepaid. Checkout is Stripe-hosted. Credits appear in your balance after Stripe confirms the payment. If a Rush batch misses the hour, you pay the standard price. Qwen3.6 35B (qwen3.6-35b-a3b) is $0.05 / M input and $0.40 / M output. Rush on that model is $0.075 / M input and $0.60 / M output. gpt-oss 120B (gpt-oss-120b) is $0.06 / M input and $0.225 / M output. gpt-oss 20B (gpt-oss-20b) is $0.015 / M input and $0.0525 / M output. On gpt-oss-120b and gpt-oss-20b, reasoning tokens are billed as output tokens. Gemma 4 26B A4B (gemma-4-26b-a4b) is $0.0375 / M input and $0.1275 / M output. Draft for review. Marketing will replace this copy. Qwen3 VL 30B A3B (qwen3-vl-30b-a3b) is $0.06 / M input and $0.225 / M output. olmOCR 2 7B (olmocr-2-7b-1025) is $0.075 / M input and $0.075 / M output. Whisper Large v3 Turbo (whisper-large-v3-turbo) is $0.0006 / audio minute ($0.036 / audio hour), billed in whole seconds, and free tokens do not apply to it. The minimum top-up is $10 and the billing page starts at $25. Verified accounts also receive a one-time token credit, spent before the dollar balance on token-priced models. Purchased credit does not expire and is non-refundable; free and promotional credit has no cash value. See the terms. The calculator at /pricing#estimator posts to POST /api/estimate and shows reference prices, each marked with its as-of date (2026-10-11). Different models; prices shown for cost comparison only.