> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Analytics

> Monitor traffic, tokens, errors, and model cost from task-attributed traces.

Analytics reads canonical task traces from W\&B rather than maintaining a separate request-event database. It helps you verify rollout and estimate the economic effect of replacing a model.

## Available views

* request volume over time;
* traffic share by routed model;
* task-version distribution;
* input and output token volume;
* provider errors;
* estimated input, output, and total cost;
* comparison models that are not currently receiving traffic.

Choose a range from one hour through three months. Long ranges use wider time buckets.

## Pricing coverage

Costs are estimates. Studio uses, in order:

1. a manual model price configured on the provider or fine-tune;
2. W\&B Inference pricing for a fine-tune's base model;
3. the bundled LiteLLM catalog when a matching model is known.

The page reports what percentage of calls had enough pricing information. Compare models only when their coverage is similar.

## Use analytics during rollout

After changing routing, verify:

* the new model receives the intended share;
* the old model remains at the expected residual or zero weight;
* error rate does not increase;
* token volume and finish behavior remain plausible;
* estimated cost moves in the expected direction.

Quality decisions should still come from evaluations and product metrics, not cost charts alone.

<Accordion title="API: Read task analytics (GET /tasks/{alias}/analytics)">
  The `time_range` query accepts relative windows such as `1h`, `24h`, `5d`, `30d`, or `12w`:

  ```bash theme={"system"}
  curl --url "https://distillation.training.wandb.ai/v1/tasks/ticket-classifier/analytics?time_range=30d" \
    --header "Authorization: Bearer $WANDB_API_KEY" \
    --header "Wandb-Entity: your-team"
  ```

  See [Get task analytics](/model-distillation/reference/management) for the response schema.
</Accordion>
