latestOpenAPI 3.1.02026-08-10466368560.6 KB

2b2bab8b9017

credits

Get Model Cost

Get the credit cost for a specific chat model.

This is the single source of truth — frontend should call this instead of duplicating the pricing logic.

get/credits/model-cost

Query parameters

modelstring required

Model name

Model name

Response

Successful Response

{"stackTrail":"paths:/credits/model-cost:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}