# Artificial Analysis Cost Per Task API

> Get per-model cost-per-task data from the Artificial Analysis homepage. Returns Intelligence Index score, cost per task (USD) with granular cost breakdown, time per task, end-to-end response time, TTFT, token counts.

Source: https://www.sandbase.ai/model/artificial-analysis/cost-per-task
API reference: https://www.sandbase.ai/model/artificial-analysis/cost-per-task/docs

## Facts

- Provider: Artificial Analysis
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/artificial-analysis/cost-per-task`
- Price: $0.06 per call
- Capabilities: api, artificial analysis, search
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/artificial-analysis/cost-per-task` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `models` | string | no |  |

## FAQ

### How do I use the Artificial Analysis Cost Per Task API?

Send a POST request to https://api.sandbase.ai/v1/api/artificial-analysis/cost-per-task with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Artificial Analysis Cost Per Task API cost?

$0.06 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Artificial Analysis Cost Per Task API accept?

No parameters are required. Optional: models (string). The Parameters table and the Playground on this page list every field.

### What does the Artificial Analysis Cost Per Task API return?

A JSON result. This endpoint runs asynchronously, so the response tells you how to fetch the finished result.

### Do I need a Artificial Analysis developer account or API key?

No. Artificial Analysis Cost Per Task runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Artificial Analysis API access separately.

## README

### Artificial Analysis Cost Per Task

Get per-model cost-per-task data from the Artificial Analysis homepage. Returns Intelligence Index score, cost per task (USD) with granular cost breakdown, time per task, end-to-end response time, TTFT, token counts.
