---
title: "Embedding cost + error rate per provider"
method: GET
path: "/v1/analytics/model-router/embeddings/cost/by-provider"
tags: ["analytics"]
---

# Embedding cost + error rate per provider

`GET /v1/analytics/model-router/embeddings/cost/by-provider`

## Query parameters

- `embedding_type` string, nullable
- `source` string, nullable
- `start_date` string, date, required
- `end_date` string, date, required

## Response `200`

Successful Response

- EmbeddingCostByProviderRow[]
  - `provider` string, required
  - `total_cost_usd` number, required
  - `input_tokens` integer, required
  - `texts_count` integer, required
  - `calls` integer, required
  - `error_rate` number, required

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `422` — Validation Error

---

[API](https://skmtc.net/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.net/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/revisions/9cd7291d4228/schema)
