Dependencies & limits
On this page
Dependencies & limits
Locked packages#
The sandbox includes this scientific-computing stack. A project may also declare public PyPI packages in requirements.in and resolve them to opr.lock.json before freezing:
Dependency resolution accepts ordinary package specifiers only, downloads binary wheels from public PyPI, records exact versions and SHA-256 hashes, and builds a read-only environment without importing wheel code. Source distributions, URLs, VCS and runtime pip are rejected. Backtests and Notebook Jobs remain offline.
scikit-learn>=1.8,<2 seaborn==0.13.2
Resource limits#
| CPU / Memory | 2 cores / 8 GB |
| Wall clock | 2 hours |
| Output size | 512 MB |
| Processes | 256 |
| Network | none (--network=none) |
Administrator research controls#
Administrators configure AI allowances and research-compute admission independently. These settings are limits, not reserved capacity; the selected model, role policy and platform safety limits may further reduce what is available.
AI MODEL QUOTAS
| Field | Value / unit | Meaning |
|---|---|---|
| scope / subject_key | PLATFORM / default ROLE / MEMBER ORGANIZATION / <id> USER / <id> | Quota target: PLATFORM/default is global; ROLE is a per-user fallback for that role, while ORGANIZATION is a shared organization bucket and USER targets one numeric user ID. A USER policy replaces its ROLE fallback; effective limits then take the lowest applicable ceiling. |
| model_key | one built-in model | Policies are model-specific. The key must identify an enabled model deployment. |
| daily_token_limit | tokens / UTC day; blank = unlimited | Built-in-model input + output allowance for this target, model, and UTC day. Leave blank for no daily ceiling; zero blocks the allowance. BYOK usage is excluded, and provider or platform hard limits still apply. |
| max_input_tokens | tokens / request | Positive integer maximum input tokens per request for this target. Effective input is capped again by the selected model and provider connection. |
| max_output_tokens | tokens / request | Positive integer maximum generated tokens per request for this target. Effective output is the lowest applicable quota, deployment, model, and provider limit. |
| max_concurrent | active requests | Positive integer maximum active AI requests for this target and model. It is combined with platform and provider concurrency limits. |
| requests_per_minute | RPM | Positive integer maximum accepted requests in a UTC-aligned fixed minute bucket for this target and model, further bounded by platform and provider limits. |
Default sponsored allowance: 10,000,000 tokens per user, model and UTC day. Kimi K3 also has a 50,000,000-token platform total; DeepSeek and GLM have no platform daily-token ceiling. Administrators may override a user or role policy.
WORKLOAD ADMISSION
JSON override for automatic, maximum and daily work units plus peak-memory, cache, output, trial and fold caps. Values are non-negative integers capped by system ceilings. Daily usage is counted per user, organization, UTC day and workload kind; approval can cross the automatic threshold, never the hard or daily limit.
A workload policy is scoped independently to BACKTEST, STUDY or FACTOR_EVALUATION. Use SYSTEM / default, ROLE / <role>, ORGANIZATION / <id>, or USER / <id>. Resolution proceeds from system to role, organization and user; a more specific record replaces the same JSON key from an earlier scope.
| Policy field | MEMBER base | System ceiling | Admission effect |
|---|---|---|---|
| automatic_work_units | 50,000,000 | 2,000,000,000 | At or below this value, a workload may enter the queue without manual approval when every other limit also passes. |
| maximum_work_units | 250,000,000 | 10,000,000,000 | Above automatic but at or below maximum requires an administrator approval bound to the exact request. Above maximum is denied. |
| daily_work_units | 500,000,000 | 20,000,000,000 | UTC-day budget per user, organization and workload kind. Reserved plus settled actual units count against the remaining allowance. |
| maximum_peak_memory_mb | 6,144 MiB | 8,192 MiB | Estimated peak-memory ceiling for one workload. |
| maximum_cache_bytes | 50,000,000,000 B | 1,000,000,000,000 B | Maximum estimated immutable dataset cache required by the workload. |
| maximum_output_bytes | 536,870,912 B | 536,870,912 B | Maximum estimated result and evidence output for one workload. |
| maximum_trials | 512 | 10,000 | Maximum parameter or scenario trials in one Study. |
| maximum_folds | 64 | 512 | Maximum walk-forward folds in one Study. |
Role defaults can be refined for an organization or user. Leaving a field out keeps the value inherited from the broader scope; review the effective limits in administrator settings before saving.
{
"automatic_work_units": 50000000,
"maximum_work_units": 250000000,
"daily_work_units": 500000000
}A work unit estimates research workload; it is not a duration, token count or currency amount. The estimate reflects the requested dates, instruments and data. Studies also include trials and folds, while Factor Evaluation accounts for its forward horizons. Review the estimate before queueing the workload.