Skip to main content

copilotModels

Requires permission catalog:copilot:chat.

The account-enabled, priced OpenRouter models — cheapest first. The default picker choice is isCheapest.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query CopilotModels {
copilotModels {
displayName
inputCostPerM
isCheapest
modelKey
outputCostPerM
}
}

Response:

{
"data": {
"copilotModels": [
{
"displayName": "string",
"inputCostPerM": 0,
"isCheapest": true,
"modelKey": "string",
"outputCostPerM": 0
}
]
}
}
copilotModels: [CopilotModelInfo!]!

Type​

CopilotModelInfo object​

A model the copilot can use.