Skip to main content
The @mariozechner/pi-pods CLI simplifies running large language models on remote GPU pods with automatic vLLM configuration for agentic workloads.

Key Features

Automatic Setup

Sets up vLLM on fresh Ubuntu pods automatically

Tool Calling

Configures tool calling for agentic models

Smart GPU Allocation

Manages multiple models with automatic GPU assignment

OpenAI Compatible

Provides OpenAI-compatible API endpoints

Installation

Quick Start

1

Set Environment Variables

2

Setup Pod

3

Start Model

4

Test with Agent

Supported Providers

  • NFS volumes shareable across pods
  • Models download once, use everywhere
  • Best for teams or multiple experiments

RunPod

  • Network volumes with good persistence
  • Cannot share between running pods
  • Good for single-pod workflows

Also Works With

  • Vast.ai
  • Prime Intellect
  • AWS EC2 with EFS
  • Any Ubuntu machine with NVIDIA GPUs

Pod Management

Setup New Pod

List and Manage Pods

Model Management

Start Models

Manage Running Models

Predefined Models

Qwen Models

GPT-OSS Models

GLM Models

Custom Models

Multi-GPU Support

Automatic Assignment

Specify GPU Count

Tensor Parallelism

Agent Interface

Single Messages

Interactive Mode

Standalone Agent

API Integration

All models expose OpenAI-compatible endpoints:

Memory and Context

GPU Memory Allocation

  • --memory 30% - High concurrency, limited context
  • --memory 50% - Balanced (default)
  • --memory 90% - Maximum context, low concurrency

Context Window

  • --context 4k - 4,096 tokens
  • --context 32k - 32,768 tokens
  • --context 128k - 131,072 tokens

Tool Calling

Automatic configuration for known models:
  • Qwen: hermes parser
  • GLM: glm4_moe parser with reasoning
  • GPT-OSS: Uses /v1/responses endpoint
  • Custom: Specify with --vllm --tool-call-parser <parser>
Disable tool calling:

Troubleshooting

OOM Errors

  • Reduce --memory percentage
  • Use quantized version (FP8)
  • Reduce --context size

Model Won’t Start

Tool Calling Issues

  • Try different parser: --vllm --tool-call-parser mistral
  • Or disable: --vllm --disable-tool-call-parser

Environment Variables

Next Steps

DataCrunch Setup

Detailed DataCrunch configuration

RunPod Setup

RunPod configuration guide

GitHub Repository

View source code and examples