---
title: "Get an agent model price by model prefix"
method: GET
path: "/agent-management/agent-model-prices/{modelPrefix}"
tags: ["Agent Model Pricing"]
---

# Get an agent model price by model prefix

`GET /agent-management/agent-model-prices/{modelPrefix}`

## Request

- Base URL: `http://localhost:8090/agent-api`
- URL: `http://localhost:8090/agent-api/agent-management/agent-model-prices/{modelPrefix}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/flowable/apis/flowable-agent-engine-rest-api/docs/agent-management/agent-model-prices/:modelPrefix/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `modelPrefix` string, required

## Query parameters

- `tenantId` string

## Response `200`

Indicates that the request was successful

- AgentModelPriceResponse
  - `modelPrefix` string
  - `inputPrice` number
  - `outputPrice` number
  - `cachedPrice` number

## Other responses

- `404`: Indicates that no price exists for the given model prefix

---

[API](https://skmtc.dev/flowable/apis/flowable-agent-engine-rest-api.md) - [All operations](https://skmtc.dev/flowable/apis/flowable-agent-engine-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flowable/apis/flowable-agent-engine-rest-api/revisions/54fc1189496f?raw)
