---
title: "Get model cost ranking data for a specific group"
method: GET
path: "/api/model_cost_rank/{group}"
tags: ["dashboard"]
---

# Get model cost ranking data for a specific group

`GET /api/model_cost_rank/{group}`

Returns model cost ranking data specific to the given group

## Path parameters

- `group` string, required

## Query parameters

- `start_timestamp` integer
- `end_timestamp` integer

## Response `200`

OK

- object
  - `data` ModelModelCostRank[]
    - `cache_creation_tokens` integer
    - `cached_tokens` integer
    - `input_tokens` integer
    - `model` string
    - `output_tokens` integer
    - `request_count` integer
    - `total_tokens` integer
    - `used_amount` number
    - `web_search_count` integer
  - `message` string
  - `success` boolean

## Changes

- **2025-05-23** `544096a3f194` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/labring/apis/ai-proxy-swagger-api/changes/api/model_cost_rank/:group/get.md)

---

[API](https://skmtc.dev/labring/apis/ai-proxy-swagger-api.md) · [All operations](https://skmtc.dev/labring/apis/ai-proxy-swagger-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/labring/ai-proxy-swagger-api/revisions/eb3d08e71881/schema)
