API
Models and pricing
GET /models: the models you can call, each with its WIT price, modality and privacy label.
Listing models
`GET /models` returns the models available to your key, in the OpenAI list shape. Each entry carries an `allwit` object with the label, the modality (`text`, `image`, `transcription`, `speech` or `video`), the privacy label, where the model runs and its price in WIT.
curl https://www.allwit.ai/api/v1/models -H "Authorization: Bearer $ALLWIT_API_KEY"{
"object": "list",
"data": [
{
"id": "qwen/qwen3.8-27b",
"object": "model",
"owned_by": "Groq",
"allwit": {
"label": "Qwen3.8 27B",
"modality": "text",
"privacy_tier": "blind",
"source": "provider_api",
"context_tokens": 131072,
"pricing": { "unit": "per_million_tokens", "input_wit": 35, "output_wit": 71 }
}
}
]
}`GET /models/{id}` returns one entry, or 404 `model_not_found`.
Prices
| Unit | Applies to | What is reserved | What is charged |
|---|---|---|---|
| `per_million_tokens` | Text models | Prompt tokens + `max_tokens`, at `input_wit` / `output_wit` | The tokens the model actually read and wrote |
| `per_request` | Image models | `wit` × the number of images (`n`), whatever the size or quality | The same |
| `per_1k_chars` | Speech models | `wit` × the started blocks of 1,000 characters in `input` | The same |
| `per_minute` | Transcription models | `wit` × the minutes the upload's size suggests (at least one) | `wit` × the started minutes of audio the provider reports; without a report, the reservation |
| `per_second` | Video models | The per-second rate at the chosen resolution (`resolutions`) × `duration` | The same, charged when the provider accepts the job; refunded in full if the job fails |
Prices are placeholders during the preview and may change; the figures on `/models` are always the ones in force. See Pricing and spending for how WIT is priced and which WIT is spent first.
Private and Blind
`privacy_tier` is the same label shown in the app. **Private** models run on hardware Allwit controls, with no prompt logging. **Blind** models run at an outside provider, which sees the prompt but never who sent it. See Blind routing and privacy labels.