Billing
Get fixed currency-to-coins rates
GET
Successful response
application/json- response
data*success*booleancurl -X GET 'https://api.ohmygpt.com/v1/currency-rates'示例响应200
{ "data": { "micros_precision": 0, "rates": { "property1": 0, "property2": 0 } }, "success": true}Get credits GET
Returns the authenticated account's purchased credit total and lifetime request usage as USD amounts.
Get effective prices for a model string GET
Returns what the authenticated caller pays when requesting this model string, provider by provider, at the prices your account pays. Prices come from the same implementation that charges requests. A request is charged at the price of the provider that serves it.