Tiers
These are the standard tiers, and the credit you buy to reach each:
Each tier also sets how many of your fine-tuned models can answer calls and stay warm at once, and the largest dataset form you can upload:
Score many texts shows what these limits mean for a long run.
Move up a tier
Your tier comes from all the credit your organisation has bought, before tax. Spending credit, or letting it expire, never lowers it. Starter and promotional credit don’t count towards it, and a refund or a dispute takes its amount off the total. Each organisation’s tier comes from its own purchases.- Buy credit in Billing in the console (buy credit).
- The new tier applies once the payment is verified, from your next request.
next_tier on GET /v1/account says how much more credit reaches the next tier
(tier and limits). To evaluate OneHot at a higher tier before you buy,
for a one-off large run, or for limits above the top tier, write to help@sqwish.ai.
Account limits
Read your tier and its limits onGET /v1/account:
tier is the tier your organisation is on, and effective_limits holds its limits. An inference key
can’t read this route (Access levels).
The tiers tables give the limits that grow with your tier. The others are the same at every tier. The console’s Account page explains them all.
These are the standard values of the limits that are the same at every tier:
Rate limits
/v1/account reports your tier’s limits on requests and input tokens a minute, and on operations running at once. An image counts the tokens the model reads for it. Reads and estimate tokens have separate budgets.
Authenticated reads use the read budget. So do replay attempts of existing operations, pending or conflicting ones included. Per-address limits also apply across dynamic routes, before expensive processing.
- Over a limit, a request gets
429withRetry-After. Its message names the limit and when it resets. It names the limit aseffective_limitsdoes:rpm,tpmorconcurrency. - A request with more input tokens than your account allows in a minute gets
422 too_many_tokens. No wait would admit it. - When the rate limiter’s storage is unavailable, a request gets
503.
Input tokens
Every model, fine-tunes included, takes up to 65,536 input tokens a request. Tokens are counted as they are billed, inusage.input_tokens, images included. /v1/models gives this limit as each model’s max_input_tokens.
A longer request is refused with 422 context_too_long before any model reads it. Nothing is charged.
Rarely, a shorter request gets the same error too. Split it.
Request size
A body over its limit gets
413. Send less. A dataset form over upload_bytes gets 413 request_too_large, and its message names the tier that takes it. You can also buy credit to reach that tier.
A compressed body must fit these limits both as sent and decompressed (Compression).
Rows and decisions
The row ranges are the
limits in /v1/onehot. Each *_rows value is the most, and each *_min_rows value is the fewest.
Places and storage
places says how much of answering and kept_warm the account uses. Each model counts once, however many switches make it answer or keep it warm.
storage says how many datasets, labelling sources, fine-tunes and labelling jobs the account keeps, and the bytes they take. Archived ones count, and deleted ones don’t. A new one past either allowance is refused with 409 storage_allowance.
A fine-tune stops counting once you delete its model, or once a rollback discards that model (Delete a model).