curl "http://localhost:4700/api/v1/agent-monitoring/portability/models" \
-H "x-api-key: agtx_local_0f3c9a17d2b84e6a5c01b9f4e7d8a2c6431b5f97a0e2d4c8"
{
"models": [
{
"id": "gpt-5.6-luna",
"provider": "openai",
"label": "GPT-5.6 Luna",
"pricePerMInputTokens": 1.25,
"pricePerMOutputTokens": 10.0,
"pricePerMCacheReadTokens": null,
"pricePerMCacheWriteTokens": null,
"isDefault": true,
"baseUrl": null,
"apiKeyMasked": null
},
{
"id": "claude-opus-4-7",
"provider": "anthropic",
"label": "Claude Opus 4.7",
"pricePerMInputTokens": 15.0,
"pricePerMOutputTokens": 75.0,
"pricePerMCacheReadTokens": 1.5,
"pricePerMCacheWriteTokens": 18.75,
"isDefault": false,
"baseUrl": null,
"apiKeyMasked": null
}
]
}
Custom Evaluations
List Models
List the project’s model catalog used for judge selection and cost estimation
GET
/
api
/
v1
/
agent-monitoring
/
portability
/
models
curl "http://localhost:4700/api/v1/agent-monitoring/portability/models" \
-H "x-api-key: agtx_local_0f3c9a17d2b84e6a5c01b9f4e7d8a2c6431b5f97a0e2d4c8"
{
"models": [
{
"id": "gpt-5.6-luna",
"provider": "openai",
"label": "GPT-5.6 Luna",
"pricePerMInputTokens": 1.25,
"pricePerMOutputTokens": 10.0,
"pricePerMCacheReadTokens": null,
"pricePerMCacheWriteTokens": null,
"isDefault": true,
"baseUrl": null,
"apiKeyMasked": null
},
{
"id": "claude-opus-4-7",
"provider": "anthropic",
"label": "Claude Opus 4.7",
"pricePerMInputTokens": 15.0,
"pricePerMOutputTokens": 75.0,
"pricePerMCacheReadTokens": 1.5,
"pricePerMCacheWriteTokens": 18.75,
"isDefault": false,
"baseUrl": null,
"apiKeyMasked": null
}
]
}
Returns the model catalog: the models selectable as judge models (for grading configs, AI
analysis, and online evaluators) and the pricing rows used for cost estimation on traces and
model-portability replays. The catalog is seeded with a small default set on first boot and is
editable from the dashboard’s Settings pricing panel (or via
POST/PUT/DELETE on this same
path).
Use a model’s id (the exact model string sent to the provider’s API) wherever a judgeModel
is accepted. The default judge model is the catalog’s isDefault row.
The hosted platform’s
GET /custom-agent-evaluations/models route is not available on
the self-host engine and returns 404 - this catalog endpoint is the replacement. The
Python SDK’s client.evaluations.list_models() targets the hosted route; on self-host,
read the catalog from this endpoint directly.Authentication
string
required
Project API key.
Response
array
The default row first, alphabetical after that. Each model object has:
| Field | Type | Description |
|---|---|---|
id | string | Exact model string sent to the provider’s API - use this as judgeModel |
provider | string | "openai", "anthropic", "gemini", or "custom" |
label | string | Human-readable name |
pricePerMInputTokens | number | USD per 1M input tokens |
pricePerMOutputTokens | number | USD per 1M output tokens |
pricePerMCacheReadTokens | number | null | USD per 1M cache-read tokens; null falls back to the input rate |
pricePerMCacheWriteTokens | number | null | USD per 1M cache-write tokens; null falls back to the input rate |
isDefault | boolean | Whether this is the default judge model |
baseUrl | string | null | Custom OpenAI-compatible endpoint, for "custom" models |
apiKeyMasked | string | null | Masked per-model API key, if one is configured (the raw key is never returned) |
Related
GET /api/v1/agent-monitoring/portability/models/unpriced- models seen on token-bearing traces in the last 30 days that have no catalog pricing (so unpriced spend is visible instead of a silent $0).
curl "http://localhost:4700/api/v1/agent-monitoring/portability/models" \
-H "x-api-key: agtx_local_0f3c9a17d2b84e6a5c01b9f4e7d8a2c6431b5f97a0e2d4c8"
{
"models": [
{
"id": "gpt-5.6-luna",
"provider": "openai",
"label": "GPT-5.6 Luna",
"pricePerMInputTokens": 1.25,
"pricePerMOutputTokens": 10.0,
"pricePerMCacheReadTokens": null,
"pricePerMCacheWriteTokens": null,
"isDefault": true,
"baseUrl": null,
"apiKeyMasked": null
},
{
"id": "claude-opus-4-7",
"provider": "anthropic",
"label": "Claude Opus 4.7",
"pricePerMInputTokens": 15.0,
"pricePerMOutputTokens": 75.0,
"pricePerMCacheReadTokens": 1.5,
"pricePerMCacheWriteTokens": 18.75,
"isDefault": false,
"baseUrl": null,
"apiKeyMasked": null
}
]
}

