GET /v1/decision-models
Changed onList decision models, with pricing, decision_input and supported_endpoints. Same as GET /v1/models?output_modalities=decisions, except entries are detailed by default; pass detailed=false for IDs only.
Request
- Base URLhttps://api.nano-gpt.com/api
- URLhttps://api.nano-gpt.com/api/v1/decision-models
- Auth
- HTTP bearer
- or API key in header x-api-key
Query parameters
detailedboolean
Set to false for IDs only.
Response
List of available decision models
Example response
{
"data": [
{
"id": "openai/gpt-6.1-sol",
"object": "model",
"created": 1790640000,
"owned_by": "openai",
"name": "GPT 6.1 Sol",
"description": "GPT-6.1 Sol supports complex coding and professional work with text and image input.",
"context_length": 1050000,
"max_output_tokens": 128000,
"pricing": {
"prompt": 2,
"completion": 10,
"currency": "USD",
"unit": "per_million_tokens"
}
}
]
}Changes
- info
endpoint added
- info