Skip to main content

Model Loading

PolarGrid supports dynamic model loading for managing models on edge nodes.
Operator-only. /v1/models/load, /v1/models/unload, and /v1/models/unload-all require a superadmin-scoped credential, issued only to PolarGrid operators. Standard pg_* API keys receive 403 Forbidden. Models available for inference are pre-deployed across edge regions — you do not need to load models yourself. Use GET /v1/models to see which models are available in your region.
Edge endpoints accept your pg_* API key as a bearer token. See Authentication for details. The cURL examples below pin Toronto (yto-01) for concreteness — substitute another region or discover the fastest one via GET https://autorouter.polargrid.ai/v1/route. See API Overview for both patterns.

Load Model

Load a model into GPU memory.

Request Body

Example

Response

Unload Model

Unload a model from GPU memory.

Request Body

Example

Response

Unload All Models

Unload all models from GPU memory.

Example

Response

Get Model Status

Get the loading status of all models.

Example

Response

Status Values