---
title: "Price per request for ChatGPT"
method: GET
path: "/api/v1/services/stats/price/gpt"
tags: ["stats_service"]
---

# Price per request for ChatGPT

`GET /api/v1/services/stats/price/gpt`

## Request

- Base URL: `http://localhost:8888`
- URL: `http://localhost:8888/api/v1/services/stats/price/gpt`
- Auth: none declared

## Query parameters

- `project_id` integer, required

## Response `200`

Price per request for ChatGPT

- object
  - `free_requests` integer, required
  - `used` integer, required
  - `usd_price` number, required

## Other responses

- `400`: Something went wrong on client side
- `403`: Access token is missing or invalid
- `404`: The specified resource was not found
- `500`: Something went wrong on server side

## Changes

- **2025-10-21** `356252841f50`: 1 breaking, 1 info
  - removed the required property `price` from the response with the `200` status
  - added the required property `usd_price` to the response with the `200` status
- **2023-12-06** `94241019acd7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tonkeeper/apis/rest-api-to-ton-console/changes/api/v1/services/stats/price/gpt/get.md)

---

[API](https://skmtc.dev/tonkeeper/apis/rest-api-to-ton-console.md) - [All operations](https://skmtc.dev/tonkeeper/apis/rest-api-to-ton-console/llms.txt) - [OpenAPI document](https://skmtc.dev/tonkeeper/apis/rest-api-to-ton-console/revisions/bffcc11719d3?raw)
