Paranine Compute

Documentation & Guides

Deploying Models to Paranine

Step-by-step guides for deploying and managing dedicated GPU inference endpoints via the Terminal CLI or the Web Console.

1

Install the Paranine Compute CLI & Python SDK

The package ships with both the `paranine` terminal command and the `paranine_compute` Python library.

pip install paranine-compute
2

Authenticate your terminal

Run `login` to store your API key securely in `~/.paranine/config.json` (with 0600 permissions), or export the `PARANINE_API_KEY` environment variable.

paranine login
3

Deploy an open-weights model

Pass any model ID from the catalog and specify the target GPU accelerator.

paranine deploy meta-llama/Llama-3.1-8B-Instruct --gpu rtx4090
4

Stream real-time logs and manage autoscaling

Monitor container build logs, weight download progress, and vLLM startup:

paranine logs dep_456 -f
paranine deployments scale dep_456 --min 0 --max 4
5

Python SDK Integration Example

from paranine_compute import ParanineClient

# Automatically reads PARANINE_API_KEY from environment or ~/.paranine/config.json
with ParanineClient() as client:
    # 1. Deploy dedicated Llama-3.1 model on an RTX 4090
    deployment = client.deployments.create(
        model_id="meta-llama/Llama-3.1-8B-Instruct",
        gpu_type="rtx4090",
        gpu_count=1,
    )
    print(f"Deployment created: {deployment.id}")
    print(f"Invoke endpoint: {deployment.invoke_url}")

    # 2. Stream real-time container launch logs
    for line in client.deployments.logs(deployment.id, follow=True):
        print(line)