Get AI model catalog
curl --request GET \
--url https://api.gleap.io/v3/ai/models{
"models": [
{
"id": "<string>",
"displayName": "<string>",
"costPerMillionTokens": {
"input": 123,
"output": 123,
"cachedInput": 123,
"cacheWriteInput": 123,
"longContextThreshold": 123,
"longInputMultiplier": 123,
"longOutputMultiplier": 123
},
"shortLabel": "<string>",
"contextWindow": 123,
"capabilities": {
"chat": true,
"vision": true,
"tools": true,
"streaming": true,
"transcription": true,
"reasoning": true,
"minimalReasoning": true,
"temperatureUnsupported": true
},
"pickers": {
"kaiAgent": true,
"kaiCodeCloud": true,
"kaiCodeOpenCode": true
},
"supportedEfforts": [],
"subagentModelId": "<string>",
"aliases": [
"<string>"
],
"opencodeId": "<string>",
"variant1M": true,
"averageCostPerAnswerUsd": "<string>"
}
],
"pickers": {
"transcription": [
{
"value": "<string>",
"label": "<string>"
}
],
"kaiCodeOpenCode": [
{
"value": "<string>",
"label": "<string>"
}
],
"kaiCodeCloud": [
{
"value": "<string>",
"label": "<string>"
}
],
"kaiAgent": [
{
"value": "<string>",
"label": "<string>"
}
]
},
"runtimeDefaults": {
"cloud": "<string>",
"opencode": "<string>",
"claudeCode": "<string>",
"codex": "<string>"
}
}AiModels
Get AI model catalog
Returns the model catalog (selectable + non-selectable), category defaults, per-runtime defaults, and per-usage-type cost markups.
GET
/
ai
/
models
Get AI model catalog
curl --request GET \
--url https://api.gleap.io/v3/ai/models{
"models": [
{
"id": "<string>",
"displayName": "<string>",
"costPerMillionTokens": {
"input": 123,
"output": 123,
"cachedInput": 123,
"cacheWriteInput": 123,
"longContextThreshold": 123,
"longInputMultiplier": 123,
"longOutputMultiplier": 123
},
"shortLabel": "<string>",
"contextWindow": 123,
"capabilities": {
"chat": true,
"vision": true,
"tools": true,
"streaming": true,
"transcription": true,
"reasoning": true,
"minimalReasoning": true,
"temperatureUnsupported": true
},
"pickers": {
"kaiAgent": true,
"kaiCodeCloud": true,
"kaiCodeOpenCode": true
},
"supportedEfforts": [],
"subagentModelId": "<string>",
"aliases": [
"<string>"
],
"opencodeId": "<string>",
"variant1M": true,
"averageCostPerAnswerUsd": "<string>"
}
],
"pickers": {
"transcription": [
{
"value": "<string>",
"label": "<string>"
}
],
"kaiCodeOpenCode": [
{
"value": "<string>",
"label": "<string>"
}
],
"kaiCodeCloud": [
{
"value": "<string>",
"label": "<string>"
}
],
"kaiAgent": [
{
"value": "<string>",
"label": "<string>"
}
]
},
"runtimeDefaults": {
"cloud": "<string>",
"opencode": "<string>",
"claudeCode": "<string>",
"codex": "<string>"
}
}⌘I