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.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: