Skip to content
Skip to Content
Batchwell Docs

Quickstart

Send your first request in a few minutes with curl, Python or TypeScript.

Batchwell speaks the OpenAI Chat Completions format. Any OpenAI SDK works once you change the base URL and use a Batchwell key.

Create an account, add credit on the Billing page, then create a key on API keys. The full key is shown once; store it in a secret manager and export it:

Warning

The full API key is shown only once when you create it. Copy it immediately and store it in a secret manager—if you lose it, revoke the key and create a new one.

Shell
export BATCHWELL_API_KEY="bw_live_..."

Base URL: https://api.batchwell.ai/v1. Pick a model id from the models page.

curl https://api.batchwell.ai/v1/chat/completions \
  -H "Authorization: Bearer $BATCHWELL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "batchwell/deepseek-v4.1-flash-uncensored",
    "messages": [
      {"role": "system", "content": "Authorized internal pentest, scope ACME-2026-14."},
      {"role": "user", "content": "List common misconfigurations in AD CS templates."}
    ]
  }'

Every response includes usage.cost_micro (our charge, in millionths of a US dollar) and the headers x-batchwell-generation-id and x-batchwell-model. Use the id with generation lookup.

Batchwell is for lawful, authorized security work by people aged 18 or over. Read the Acceptable Use Policy before you build on it.