Get Current Plan
GET /api/v1/billing/plan
The plan currently in effect for your organization (model scope, rate limits, pricing).
Auth: this endpoint belongs to the console backend API (base URL
https://portal.aiin1.ai— note, notapi.portal.aiin1.ai). It requires anaccess_tokenobtained by logging in with a console account (valid 15 minutes); thesk-nex-API token does not work here. See Billing Reconciliation & Automated Usage Sync for the login flow.
Example
curl https://portal.aiin1.ai/api/v1/billing/plan \
-H "Authorization: Bearer $ACCESS_TOKEN"Response
| Field | Type | Required | Description |
|---|---|---|---|
id |
string(uuid) | yes | Plan ID |
code |
string | yes | Plan code |
name |
string | yes | Plan name |
models |
array<string> | yes | Allowed model list (empty array = unrestricted) |
rpm_limits |
object | yes | Requests-per-minute limits |
tpm_limits |
object | yes | Tokens-per-minute limits |
price_per_1m_tokens |
object | yes | Price per million tokens (USD) |
monthly_fee |
string(decimal) | yes | Monthly fee (USD) |
price_multiplier |
string(decimal) | no | Discount factor (e.g. 0.9 = 10% off) |
sandbox_included |
boolean | yes | Whether a sandbox environment is included |
sla_tier |
string | yes | SLA tier |
status |
string | yes | Plan status |
created_at |
string(datetime) | yes | Created at |