Prem Is Also OpenAI Compatible
Instead of using the Prem API, you can use the OpenAI SDK to generate chat completions with Prem by just changing the
base URL and adding your API key.See our Client SDKs guide to learn how to use Prem AI with OpenAIβs API/SDK.π End-to-End Walkthroughs
New to Prem? Start here! These comprehensive walkthroughs guide you through complete workflows from data ingestion to fine-tuning, showing you how to use multiple API endpoints together.JSONL Dataset Workflow
Upload a JSONL dataset, create snapshots, and launch fine-tuning jobs with your own data.
PDF Synthetic Workflow
Generate synthetic Q&A pairs from PDF documents and fine-tune models on corporate knowledge.
YouTube Synthetic Workflow
Transform YouTube video content into training data and create specialized models.
API Endpoints
Build your data pipeline
Projects
Provision and inspect project workspaces
Datasets
Ingest JSONL files or trigger synthetic runs
Snapshots
Split datasets into train and validation sets
Recommendations
Request model suggestions for a snapshot
Fine-Tuning
Launch and monitor fine-tuning jobs
Run and observe models
Chat Completions
Send prompts to deployed chat models
Models
List all available models
Traces
Retrieve traces captured during inference
Authentication
All API endpoints are authenticated using Bearer tokens. Youβll need to create an API key first - see our API Key guide for instructions. Once you have your API key, include it in theAuthorization header: