# Prime Intellect Docs - [Introduction](https://docs.primeintellect.ai/introduction.md): Welcome to the Prime Intellect Documentation - [Getting Started](https://docs.primeintellect.ai/hosted-training/getting-started.md): Launch your first Hosted Training run in minutes - [What is Lab?](https://docs.primeintellect.ai/hosted-training/what-is-lab.md): An overview of Lab, Prime Intellect's open research platform for post-training - [The Environment Model](https://docs.primeintellect.ai/hosted-training/environment-model.md): Understand environment types, rubrics, and the RL training loop - [End-to-End Training Run](https://docs.primeintellect.ai/hosted-training/end-to-end-run.md): Walk through a complete Hosted Training run from environment setup to results - [Advanced Configurations](https://docs.primeintellect.ai/hosted-training/advanced-configs.md): Full configuration reference for Hosted Training runs - [Models & Pricing](https://docs.primeintellect.ai/hosted-training/models-and-pricing.md): Supported models and pricing for Hosted Training - [Troubleshooting](https://docs.primeintellect.ai/hosted-training/troubleshooting.md): Common issues and solutions for Hosted Training and Lab - [Overview](https://docs.primeintellect.ai/tutorials-environments/environments.md): Create, manage and share environments for reinforcement learning and evaluation - [Getting Started](https://docs.primeintellect.ai/tutorials-environments/getting-started.md): Create, manage and share environments for reinforcement learning and evaluation - [Create & Upload Environment](https://docs.primeintellect.ai/tutorials-environments/create.md): Learn how to create and upload environments to Prime Intellect's Environments Hub - [Install & Use Environment](https://docs.primeintellect.ai/tutorials-environments/install.md): Learn how to install and use environments from the Prime Intellect Environments Hub - [Secrets](https://docs.primeintellect.ai/tutorials-environments/secrets.md): Create and link secrets across your environments - [Environment Variables](https://docs.primeintellect.ai/tutorials-environments/environment-variables.md): Configure plain-text key-value pairs injected into your environment at runtime - [Manage Collaborators](https://docs.primeintellect.ai/tutorials-environments/manage-collaborators.md): Add collaborators to private environments on the Environments Hub. - [Evaluating Environments](https://docs.primeintellect.ai/tutorials-environments/evaluating.md): Guide to running evaluations with Prime CLI using Prime Inference or custom model endpoints - [Hosted Evaluations](https://docs.primeintellect.ai/tutorials-environments/hosted-evaluations.md): Run evaluations on the platform from the dashboard or the Prime CLI - [Sandboxes Overview](https://docs.primeintellect.ai/sandboxes/overview.md): Why sandboxes exist, how to launch one, and what it costs - [Sandbox CLI Guide](https://docs.primeintellect.ai/sandboxes/cli.md): Command-line workflows for managing sandboxes - [Sandbox SDK Guide](https://docs.primeintellect.ai/sandboxes/sdk.md): Automate sandbox lifecycles with the Python SDK - [Prime Images](https://docs.primeintellect.ai/sandboxes/images.md): Build and manage custom Docker images for sandboxes - [Prime Tunnels](https://docs.primeintellect.ai/sandboxes/tunnel.md): Expose local services to the internet through secure reverse proxy - [Traces Overview](https://docs.primeintellect.ai/traces/overview.md): Store and explore evaluation, training, and agent traces - [Uploading traces](https://docs.primeintellect.ai/traces/uploading.md): Upload supported traces with the Python SDK or Prime CLI - [Pricing and settings](https://docs.primeintellect.ai/traces/pricing-and-settings.md): Understand trace charges, workspace limits, and automatic upload controls - [Viewing and deleting traces](https://docs.primeintellect.ai/traces/managing-traces.md): Inspect, download, search, and delete stored traces - [Legacy storage retirement](https://docs.primeintellect.ai/traces/legacy-storage.md): Export existing evaluation and training samples before November 6, 2026 - [Prime Inference](https://docs.primeintellect.ai/inference/overview.md): Run models through an OpenAI-compatible API - [Deploying LoRA Adapters for Inference](https://docs.primeintellect.ai/inference/adapter-deployments.md): Deploy trained LoRA adapters from Hosted Training runs and query them via an OpenAI-compatible API - [Troubleshooting](https://docs.primeintellect.ai/inference/troubleshooting.md): Resolve common Prime Inference errors - [Full Fine-Tuning (Beta)](https://docs.primeintellect.ai/hosted-training/full-finetuning.md): Dedicated full-parameter RL training on Hosted Training - [Hosted SFT (Beta)](https://docs.primeintellect.ai/hosted-training/hosted-sft.md): Supervised fine-tuning on Hosted Training: volumes, dataset uploads over SSH, and prime train dispatch - [Volumes (Beta)](https://docs.primeintellect.ai/hosted-training/volumes.md): Keep full fine-tuning outputs across runs with named volumes - [Volume-hosted models](https://docs.primeintellect.ai/hosted-training/volume-models.md): Boot a run from weights already on a volume instead of the cluster model cache - [Overview](https://docs.primeintellect.ai/verifiers/overview.md) - [Overview](https://docs.primeintellect.ai/verifiers/v1/overview.md) - [Getting Started](https://docs.primeintellect.ai/verifiers/v1/getting_started.md) - [Architecture](https://docs.primeintellect.ai/verifiers/v1/architecture.md) - [Tasksets](https://docs.primeintellect.ai/verifiers/v1/tasksets.md) - [Evaluation](https://docs.primeintellect.ai/verifiers/v1/evaluation.md) - [Harnesses](https://docs.primeintellect.ai/verifiers/v1/harnesses.md) - [Env](https://docs.primeintellect.ai/verifiers/v1/env.md) - [Harbor](https://docs.primeintellect.ai/verifiers/v1/harbor.md) - [Gepa](https://docs.primeintellect.ai/verifiers/v1/gepa.md) - [Overview](https://docs.primeintellect.ai/verifiers/legacy/overview.md) - [Environments](https://docs.primeintellect.ai/verifiers/legacy/environments.md) - [Evaluation](https://docs.primeintellect.ai/verifiers/legacy/evaluation.md) - [Training](https://docs.primeintellect.ai/verifiers/legacy/training.md) - [Development](https://docs.primeintellect.ai/verifiers/legacy/development.md) - [Reference](https://docs.primeintellect.ai/verifiers/legacy/reference.md) - [Faqs](https://docs.primeintellect.ai/verifiers/legacy/faqs.md) - [Overview](https://docs.primeintellect.ai/prime-rl/overview.md) - [Configuration](https://docs.primeintellect.ai/prime-rl/configuration.md) - [Training](https://docs.primeintellect.ai/prime-rl/training.md) - [Inference](https://docs.primeintellect.ai/prime-rl/inference.md) - [Scaling](https://docs.primeintellect.ai/prime-rl/scaling.md) - [Algorithms](https://docs.primeintellect.ai/prime-rl/algorithms.md) - [Advanced](https://docs.primeintellect.ai/prime-rl/advanced.md) - [Development](https://docs.primeintellect.ai/prime-rl/development.md) - [Slurm Orchestration](https://docs.primeintellect.ai/tutorials-multi-node-cluster/slurm-orchestration.md): Manage an existing multi-node cluster with Slurm workload orchestration on Prime Intellect Platform. - [Create persistent storage](https://docs.primeintellect.ai/tutorials-storage/create-persistent-storage.md): Create storage that can be shared between instances - [Use persistent storage with instances](https://docs.primeintellect.ai/tutorials-storage/use-persistent-storage-with-instances.md): How to attach and use persistent storage with instances - [Cluster Monitoring](https://docs.primeintellect.ai/tutorials-reserved-clusters/monitoring.md): Detect issues early and minimize downtime with production-ready monitoring - [FAQ](https://docs.primeintellect.ai/faq.md): Frequently Asked Questions - [Overview](https://docs.primeintellect.ai/guides/index.md): Step-by-step Lab guides for training runs, environments, and agent workflows. - [Your First Model Training](https://docs.primeintellect.ai/guides/rl-training.md): Go from idea to training run to deployed agent using Lab. No programming or RL experience required. - [Training Recipes](https://docs.primeintellect.ai/guides/recipes.md): Practical RL training recipes for math reasoning, code generation, tool use, and more on Lab. - [Training Search Agents](https://docs.primeintellect.ai/guides/search-agents.md): Build three progressive RL environments for document search and run Hosted Training on Lab. - [Browser Environments](https://docs.primeintellect.ai/guides/browser-environments.md): Guide to building and training browser-based environments with Prime Intellect and Browserbase. - [API Overview](https://docs.primeintellect.ai/api-reference/introduction.md) - [API keys](https://docs.primeintellect.ai/api-reference/api-keys.md): How to generate and use authentication keys with our API - [Get Availability Information](https://docs.primeintellect.ai/api-reference/check-gpu-availability.md): How to check GPU, cluster, and disk availability and pricing - [Provision Instance](https://docs.primeintellect.ai/api-reference/provision-gpu.md): How to provision an instance using availability data - [Managing Pods](https://docs.primeintellect.ai/api-reference/managing-pods.md): How to get pods, statuses and delete instances - [Managing Disks](https://docs.primeintellect.ai/api-reference/managing-disks.md): How to create and manage network-attached storage disks - [Teams](https://docs.primeintellect.ai/api-reference/teams.md): How to list teams and team members using the API - [Models API](https://docs.primeintellect.ai/api-reference/inference-models.md): List available inference models and inspect their metadata - [Chat Completions API](https://docs.primeintellect.ai/api-reference/inference-chat-completions.md): Generate responses with Prime Inference models - [List traces](https://docs.primeintellect.ai/api-reference/traces/traces/list-traces.md): Trace summaries for the authenticated owner, newest first by default. - [Delete a run's traces](https://docs.primeintellect.ai/api-reference/traces/traces/delete-a-runs-traces.md): Delete every trace in a run. `run_id` is required. - [Get a trace](https://docs.primeintellect.ai/api-reference/traces/traces/get-a-trace.md): A trace's summary, or with `raw=true` the stored trace document exactly as uploaded. - [Delete a trace](https://docs.primeintellect.ai/api-reference/traces/traces/delete-a-trace.md): Delete every stored copy of a trace. - [List trace nodes](https://docs.primeintellect.ai/api-reference/traces/traces/list-trace-nodes.md): A trace's message nodes in step order, without downloading the whole trace. Use this to render a trace page by page. - [List trace model calls](https://docs.primeintellect.ai/api-reference/traces/traces/list-trace-model-calls.md): A trace's model calls in order, for timelines: spans, models and finish reasons. - [Upload traces](https://docs.primeintellect.ai/api-reference/traces/ingestion/upload-traces.md): Upload traces as a `multipart/form-data` request with two parts: - [List episodes](https://docs.primeintellect.ai/api-reference/traces/episodes/list-episodes.md): Episode summaries for the authenticated owner, newest first. Cursor-paginated like the trace list. `upload_id` is the ID in an upload receipt, so it returns the episodes one upload stored. - [Get an episode](https://docs.primeintellect.ai/api-reference/traces/episodes/get-an-episode.md): An episode's own fields plus totals computed from its traces: tokens, agent time, participating agents and whether any trace failed. - [List episode traces](https://docs.primeintellect.ai/api-reference/traces/episodes/list-episode-traces.md): Summaries of the traces in an episode, cursor-paginated. - [List runs](https://docs.primeintellect.ai/api-reference/traces/runs/list-runs.md): Runs for the authenticated owner, with totals over their traces: trace and episode counts, average reward, step range, and the environments and models used. Cursor-paginated. - [Get a run](https://docs.primeintellect.ai/api-reference/traces/runs/get-a-run.md): One run's totals over its traces. A run with no traces returns `404`. - [List run steps](https://docs.primeintellect.ai/api-reference/traces/runs/list-run-steps.md): The distinct `run_step` values recorded in a run, with each step's trace count, episode count and average reward. - [Search a run](https://docs.primeintellect.ai/api-reference/traces/runs/search-a-run.md): Case-sensitive literal search over the content of a run's traces. The query needs at least three characters. - [Get Legacygpu Availability](https://docs.primeintellect.ai/api-reference/availability/get-legacygpu-availability.md) - [Get Legacy Cluster Availability](https://docs.primeintellect.ai/api-reference/availability/get-legacy-cluster-availability.md) - [Get Disks Availability](https://docs.primeintellect.ai/api-reference/availability/get-disks-availability.md) - [Get Gpu Summary](https://docs.primeintellect.ai/api-reference/availability/get-gpu-summary.md): Get GPU pricing summary data grouped by GPU type and instance count. - [Get Gpu Availability](https://docs.primeintellect.ai/api-reference/availability/get-gpu-availability.md) - [Get Multinode Availability](https://docs.primeintellect.ai/api-reference/availability/get-multinode-availability.md) - [Get Multinode Summary](https://docs.primeintellect.ai/api-reference/availability/get-multinode-summary.md): Get multi-node (cluster) pricing summary data grouped by GPU type and instance count. - [Token usage and cost for a single RFT run](https://docs.primeintellect.ai/api-reference/billing/token-usage-and-cost-for-a-single-rft-run.md): Return the running token + cost totals for one RFT run. - [Wallet balance + most recent billing rows](https://docs.primeintellect.ai/api-reference/billing/wallet-balance-+-most-recent-billing-rows.md): Return the wallet's current balance and most recent billing rows. - [List Disks](https://docs.primeintellect.ai/api-reference/disks/list-disks.md) - [Create Disk](https://docs.primeintellect.ai/api-reference/disks/create-disk.md) - [Get Disk](https://docs.primeintellect.ai/api-reference/disks/get-disk.md) - [Delete Disk](https://docs.primeintellect.ai/api-reference/disks/delete-disk.md) - [Update Disk](https://docs.primeintellect.ai/api-reference/disks/update-disk.md) - [List Evaluations](https://docs.primeintellect.ai/api-reference/evals/list-evaluations.md): Get a list of evaluations owned by the authenticated user or a team. - [Create Evaluation](https://docs.primeintellect.ai/api-reference/evals/create-evaluation.md): Create a new evaluation - [Bulk Delete Evaluations](https://docs.primeintellect.ai/api-reference/evals/bulk-delete-evaluations.md) - [Get Evaluation](https://docs.primeintellect.ai/api-reference/evals/get-evaluation.md): Get detailed information about a specific evaluation. - [Update Evaluation](https://docs.primeintellect.ai/api-reference/evals/update-evaluation.md): Update an existing evaluation - [Delete Evaluation](https://docs.primeintellect.ai/api-reference/evals/delete-evaluation.md) - [Finalize Evaluation](https://docs.primeintellect.ai/api-reference/evals/finalize-evaluation.md): Mark an evaluation as complete and compute final statistics. - [Get Samples](https://docs.primeintellect.ai/api-reference/evals/get-samples.md): Get samples for a specific evaluation - [Push Samples](https://docs.primeintellect.ai/api-reference/evals/push-samples.md): Push evaluation samples - [Submit Feedback](https://docs.primeintellect.ai/api-reference/feedback/submit-feedback.md) - [Create Hosted Evaluation](https://docs.primeintellect.ai/api-reference/hosted-evaluations/create-hosted-evaluation.md): Create and start a hosted evaluation. - [Get Inference Models](https://docs.primeintellect.ai/api-reference/hosted-evaluations/get-inference-models.md): Get available models from Prime Inference API for hosted evaluations - [Cancel Hosted Evaluation Route](https://docs.primeintellect.ai/api-reference/hosted-evaluations/cancel-hosted-evaluation-route.md): Cancel a running hosted evaluation. - [Get Hosted Evaluation Logs Route](https://docs.primeintellect.ai/api-reference/hosted-evaluations/get-hosted-evaluation-logs-route.md): Get real-time logs from the sandbox running a hosted evaluation. - [Upload Hosted Evaluation Logs Route](https://docs.primeintellect.ai/api-reference/hosted-evaluations/upload-hosted-evaluation-logs-route.md): Store the runner's final log. Called by the hosted-eval sandbox itself as it exits, with the run's own key; a VM sandbox is gone before the exit webhook. - [List User Images](https://docs.primeintellect.ai/api-reference/images/list-user-images.md): List images and builds for the current user, scoped by team context. Returns personal images by default, or team images if teamId is provided. - [Update Images](https://docs.primeintellect.ai/api-reference/images/update-images.md): Update one or many logical images: visibility, name/tag, and owner. - [Initiate Image Build](https://docs.primeintellect.ai/api-reference/images/initiate-image-build.md): Build a VM image from a public source or an uploaded Dockerfile context. - [Get Build Status](https://docs.primeintellect.ai/api-reference/images/get-build-status.md): Get the status of an image build. - [Start Image Build](https://docs.primeintellect.ai/api-reference/images/start-image-build.md): Start the image build process after uploading the build context. - [List Image Builds](https://docs.primeintellect.ai/api-reference/images/list-image-builds.md): List all image builds for the current user. - [Delete User Image](https://docs.primeintellect.ai/api-reference/images/delete-user-image.md): Delete a user image from the database and Google Artifact Registry. - [Get Pods](https://docs.primeintellect.ai/api-reference/pods/get-pods.md) - [Create Pod](https://docs.primeintellect.ai/api-reference/pods/create-pod.md) - [Get Pods History](https://docs.primeintellect.ai/api-reference/pods/get-pods-history.md) - [Get Pods Status](https://docs.primeintellect.ai/api-reference/pods/get-pods-status.md) - [Get Pod](https://docs.primeintellect.ai/api-reference/pods/get-pod.md) - [Delete Pod](https://docs.primeintellect.ai/api-reference/pods/delete-pod.md) - [Get Pod Logs Api](https://docs.primeintellect.ai/api-reference/pods/get-pod-logs-api.md): Get logs for a pod. - [List Secrets](https://docs.primeintellect.ai/api-reference/secrets/list-secrets.md): List global secrets for the authenticated user or a team. - [Create Secret](https://docs.primeintellect.ai/api-reference/secrets/create-secret.md): Create a new global secret. - [Get Secret](https://docs.primeintellect.ai/api-reference/secrets/get-secret.md): Get a specific secret by ID. - [Delete Secret](https://docs.primeintellect.ai/api-reference/secrets/delete-secret.md): Delete a secret. - [Update Secret](https://docs.primeintellect.ai/api-reference/secrets/update-secret.md): Update an existing secret. - [Get Ssh Keys](https://docs.primeintellect.ai/api-reference/ssh-keys/get-ssh-keys.md) - [Upload Ssh Key](https://docs.primeintellect.ai/api-reference/ssh-keys/upload-ssh-key.md) - [Delete Ssh Key](https://docs.primeintellect.ai/api-reference/ssh-keys/delete-ssh-key.md) - [Set Primary Key](https://docs.primeintellect.ai/api-reference/ssh-keys/set-primary-key.md) - [List Team Members](https://docs.primeintellect.ai/api-reference/teams/list-team-members.md) - [Get Available Fft Models](https://docs.primeintellect.ai/api-reference/training/get-available-fft-models.md): Models pre-cached on the caller's eligible PrimeClusters for FFT dispatch. - [Get Available Gpu Types](https://docs.primeintellect.ai/api-reference/training/get-available-gpu-types.md): Distinct GPU types the caller could dispatch a dedicated FFT run on. - [Create Dedicated Run](https://docs.primeintellect.ai/api-reference/training/create-dedicated-run.md): Dispatch a dedicated full-FT prime-rl run on a registered PrimeCluster. - [Delete Dedicated Run](https://docs.primeintellect.ai/api-reference/training/delete-dedicated-run.md): Delete a dedicated run: helm uninstall + namespace delete + DB cleanup. - [List Volumes](https://docs.primeintellect.ai/api-reference/training/list-volumes.md) - [Create Volume](https://docs.primeintellect.ai/api-reference/training/create-volume.md) - [Delete Volume](https://docs.primeintellect.ai/api-reference/training/delete-volume.md) - [Resize Volume](https://docs.primeintellect.ai/api-reference/training/resize-volume.md): Grow a volume. Online on CephFS; volumes can't shrink. - [Attach Volume](https://docs.primeintellect.ai/api-reference/training/attach-volume.md): Mount a JuiceFS volume on another cluster, so runs can use it there. - [Detach Volume](https://docs.primeintellect.ai/api-reference/training/detach-volume.md): Unmount a JuiceFS volume from a cluster; its data stays. - [List Volume Sessions](https://docs.primeintellect.ai/api-reference/training/list-volume-sessions.md): The caller's sessions that still block deleting the volume. - [Create Volume Session](https://docs.primeintellect.ai/api-reference/training/create-volume-session.md) - [Get Volume Session](https://docs.primeintellect.ai/api-reference/training/get-volume-session.md) - [Stop Volume Session](https://docs.primeintellect.ai/api-reference/training/stop-volume-session.md) - [List Tunnels Endpoint](https://docs.primeintellect.ai/api-reference/tunnel/list-tunnels-endpoint.md): List all active tunnels for the current user. - [Create Tunnel Endpoint](https://docs.primeintellect.ai/api-reference/tunnel/create-tunnel-endpoint.md): Create a new tunnel for exposing a local service. - [Bulk Delete Tunnels Endpoint](https://docs.primeintellect.ai/api-reference/tunnel/bulk-delete-tunnels-endpoint.md): Bulk soft-delete multiple tunnels by IDs or labels. - [Get Tunnel Status Endpoint](https://docs.primeintellect.ai/api-reference/tunnel/get-tunnel-status-endpoint.md): Get status of a specific tunnel. - [Delete Tunnel Endpoint](https://docs.primeintellect.ai/api-reference/tunnel/delete-tunnel-endpoint.md): Delete a tunnel and disconnect any active clients. - [Set Username Slug](https://docs.primeintellect.ai/api-reference/user/set-username-slug.md) - [List My Teams](https://docs.primeintellect.ai/api-reference/user/list-my-teams.md) - [Get Whoami](https://docs.primeintellect.ai/api-reference/user/get-whoami.md) - [Overview](https://docs.primeintellect.ai/cli-reference/introduction.md): Command line interface for managing Prime Intellect compute, RL environments and code sandboxes. - [Configuration](https://docs.primeintellect.ai/cli-reference/config-cli.md): Configure your Prime CLI settings - [Teams](https://docs.primeintellect.ai/cli-reference/teams.md): Manage and view your teams and team members - [Environments Hub](https://docs.primeintellect.ai/cli-reference/environments.md): Create, install and manage environments from the Environments Hub - [Get Availability Information](https://docs.primeintellect.ai/cli-reference/check-gpu-availability.md): How to check GPU and disk availability and pricing - [Provision Instance](https://docs.primeintellect.ai/cli-reference/provision-gpu.md): How to provision an instance using availability data - [Managing Disks](https://docs.primeintellect.ai/cli-reference/managing-disks.md): How to create and manage network-attached storage using the CLI ## OpenAPI Specs - [openapi](https://api.primeintellect.ai/openapi.json) - [openapi](https://prime-traces.pintel.dev/openapi.json) ## Optional - [Join Discord](https://discord.gg/ZTFydGWPKj) - [Twitter](https://twitter.com/PrimeIntellect) - [Blog](https://www.primeintellect.ai/blog) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.