get-prompt-enhancer-cost
Calculate the token cost of enhancing a prompt for a specified model, and flag models that cannot be enhanced so you can avoid failed requests.
Instructions
Return the token cost of enhancing a prompt for a given model. Wraps syntx.promptEnhancer.getCost. Hits GET /api/v1/prompt-enhancer/cost?model_type=…. 422/model_not_enhanceable when the model is not enhanceable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_type | Yes | Model identifier (required). |