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'Example Response200
{ "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, route by route, including contract pricing. Prices come from the same implementation that charges requests. A request is charged at the price of the route that serves it.