---
title: "POST /api/agent/meter/tokens"
method: POST
path: "/api/agent/meter/tokens"
tags: ["agent"]
---

# POST /api/agent/meter/tokens

`POST /api/agent/meter/tokens`

## Request

- Base URL: `https://api.blackforge.so` (the document declares no server; this is the origin it was published from)
- URL: `https://api.blackforge.so/api/agent/meter/tokens`
- Auth: none declared

## Request body

- MeterTokensDto
  - `inputTokens` number: Prompt tokens this turn consumed.
  - `outputTokens` number: Completion tokens this turn produced.
  - `model` string: Bedrock model id. An id with no published rate is priced at the most expensive rate we know, never free.

## Response `200`

Tokens recorded for one agent turn, priced at the model’s published rate, with the tokens left in this month’s allowance. 402 when the allowance is exhausted.

---

[API](https://skmtc.dev/blackforge/apis/blackforge-data-api.md) · [All operations](https://skmtc.dev/blackforge/apis/blackforge-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/blackforge/apis/blackforge-data-api/revisions/04eadd230b1b?raw)
