---
title: "Bedrock count tokens (Cursor mount)"
method: POST
path: "/cursor/model/{modelId}/count-tokens"
tags: ["Cursor Integration"]
---

# Bedrock count tokens (Cursor mount)

`POST /cursor/model/{modelId}/count-tokens`

## Path parameters

- `modelId` string, required

## Request body

- object
  - `input` object
    - `converse` object

## Response `200`

Successful response

- object
  - `inputTokens` integer

---

[API](https://skmtc.net/getbifrost/apis/bifrost-api.md) · [All operations](https://skmtc.net/getbifrost/apis/bifrost-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbifrost/bifrost-api/versions/f8cab88f64ea/schema)
