PricingService

POST /v1/pricing/calculate

CalculateCost 计算费用(根据 tokens / images / audio / video / request 等维度)。

Request

Request body

audioSecondsstring
cachedTokensstring
imageCountstring
inputTokensstring

计费维度(未设置的维度为 0,不计费)

modelIdstring
outputTokensstring
planIdstring
requestCountstring
videoSecondsstring

Response

OK

costMicrosstring
currencystring
grossMicrosstring
totalMicrosstring
usedFallbackboolean

Changes

No recorded changes to this operation across all 11 revisions of this API.