Skip to content

Import and export

Use the header actions on Manage Models to move pricing between environments or feed the Shield360 SDK a file.

Click the download icon in the header (tooltip: Export Pricing) to open GET /api/openground/models/export and download all models as SDK-compatible pricing JSON (download name custom-pricing.json), grouped by model type (chat, embeddings, images, audio).

This requires a signed-in Shield360 session. For a public URL your apps can call without login, use the SDK Pricing URL instead.

Open the dialog

Click the upload icon in the header (tooltip: Import Pricing JSON).

Paste JSON

Paste either a structured providers + models payload, a models-only array, or an SDK-style pricing_json object. The dialog description: existing models with the same provider + model ID are skipped.

Import

Click Import Pricing JSON. The toast reports model imported / skipped counts (provider import counts are returned by the API but not shown in that toast).

Example structured payload (also shown as the dialog placeholder):

{
"providers": [
{
"providerId": "my-provider",
"displayName": "My Provider",
"description": "Custom LLM provider"
}
],
"models": [
{
"provider": "my-provider",
"model_id": "my-model-v1",
"displayName": "My Model v1",
"inputPricePerMToken": 2.5,
"outputPricePerMToken": 10
}
]
}

SDK-format imports without a provider default to provider unknown - edit those models afterward if needed.