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"}

Changes