Get current user
Returns the authenticated user's account ID, current requests-per-minute limit, and the recharge tier that raises it.
ApiKeyAuthAuthorization<token>Current user information.
application/json- response
next_recharge_band?stringnext_recharge_rpm?integernext_recharge_threshold_cny?integerint64recharge_band?stringrecharge_tiers?array<>All recharge tiers, lowest threshold first. A tier applies once recharge_total_cny reaches its threshold_cny.
recharge_total_cny?integerThe caller's successful cumulative recharge in CNY, rounded down.
int64rpm*integerrpm_overridden?booleanTrue when the RPM is set individually for this account, so recharging does not change it.
user_id*integerint64curl -X GET 'https://api.ohmygpt.com/v1/me'{ "next_recharge_band": "string", "next_recharge_rpm": 0, "next_recharge_threshold_cny": 0, "recharge_band": "string", "recharge_tiers": [ { "band": "string", "rpm": 0, "threshold_cny": 0 } ], "recharge_total_cny": 0, "rpm": 0, "rpm_overridden": true, "user_id": 0}Decisions
Typed answers to classification questions with OpenAI Decisions, and TypeSafe System One.
Estimate request cost POST
Estimates the upper-bound request cost without sending a provider request or charging the account. The model string is resolved the same way a request is, and the estimate uses the most expensive of the routes that could serve it at the caller's effective price (including contract pricing), because the serving route depends on availability at request time. Time-window pricing (peak/off-peak) is resolved at the current UTC time, so the estimate uses the tier that a request would be billed at right now.