GET /v1/billing/plans returns published plan limits and
GET /v1/billing/quota returns where your account stands against them.
balance_credits is your spendable total, and can_start_session
accounts for that and your concurrency.
Model inference
A generation reservescredit_estimate.maximum_reserved_credits against
your balance up front. A completed run is charged that amount, and a
failed run releases it.
Canceling before the run starts releases the reservation. Canceling after
it starts charges the full reserved amount. A request Protoface rejects
outright reserves nothing.
Concurrency
Concurrency is the maximum number of jobs that can be running simultaneously. Your active Monthly Top Up amount determines your concurrency. Additional jobs queue until a running job finishes.
Without an active Monthly Top Up, a qualifying payment is an unrefunded
credit purchase or paid invoice from the last 30 days, or a paid invoice
covering the current billing period.
Non-enterprise users can have a maximum of 5,000 in-flight requests
(queued and running combined). Enterprise limits are agreed separately.
Reaching the in-flight limit returns
429 with
error.code: "run.concurrency_exceeded".
Run submissions are separately capped at 60 per minute per key, and
exceeding that returns 429 with error.code: "run.rate_limited".
Need higher limits? Contact us.
Realtime sessions
Your plan sets how long each session lasts, and — except on Scale — how many sessions you can run at once. Every session response carries the effective limits for that session.
*Uncapped means no artificial cap on simultaneous sessions. Ramp and
system technical limits still apply, and uncapped does not imply
guaranteed concurrency.
On capped plans, exceeding your concurrency returns
429 with
error.type: "quota_exceeded" and error.code: "concurrent_sessions".
Session starts are ramp rate-limited on all plans to prevent abuse (see
create rate limit below); this affects ramp-up speed only, not your
total concurrency budget. If production frequently hits ramp limits,
contact us to discuss higher ramp
limits.
If you send
max_duration_seconds, Protoface applies the lower of your
request and your plan limit.
For early capacity planning, divide daily active users by 250 to estimate
concurrent sessions.
Realtime credits
Session time rounds up to the nearest minute, at one credit per minute. If your balance is empty, session creation returns402 with
error.code: "insufficient_credit_balance". Free monthly credits do not
roll over. Purchased credits roll over without expiry.
Metadata keys
metadata is customer-owned JSON with two reservations. Session keys
beginning with _avatar. are managed by Protoface and reserved for
support-directed use. Model-run keys beginning with protoface_ are
rejected.
