Up to 7.2× the speed of standard llama.cpp Runs 100% on your PC
Free for personal use
Download free

List models

GET/v1/models
Free: not countedBase URL http://localhost:1234/v1
Local API Guide contents

Overview

Lists the models installed on this PC: the two chat models (when their files are present) and the knowledge (embedding) model. loaded: true marks the chat model on the GPU, the one that answers your requests.

Request

ParameterDescription
Authorization headerAuthorization: Bearer <key>, only when Require API key is on in the app.

Response

An object with object: "list" and data, an array of models:

FieldDescription
idstringThe model id: qwen3.8-27b, qwen3.6-35b-a3b or qwen3-embedding-4b.
objectstringAlways model.
createdintegerA fixed Unix timestamp.
owned_bystringAlways 5090Ai.
display_namestringThe model's name, e.g. Qwen3.6-35B-A3B.
context_lengthintegerChat models: the context of the loaded model, or the context configured in the app for the others.
loadedbooleantrue for the model on the GPU right now.
type, dimensionsstring, integerOnly on the knowledge model: embedding and 2560.

Example

curl http://localhost:1234/v1/models
Response
{
  "object": "list",
  "data": [
    { "id": "qwen3.8-27b", "object": "model", "created": 1760000000, "owned_by": "5090Ai",
      "display_name": "Qwen3.8-27B", "context_length": 131072, "loaded": false },
    { "id": "qwen3.6-35b-a3b", "object": "model", "created": 1760000000, "owned_by": "5090Ai",
      "display_name": "Qwen3.6-35B-A3B", "context_length": 262144, "loaded": true },
    { "id": "qwen3-embedding-4b", "object": "model", "created": 1760000000, "owned_by": "5090Ai",
      "display_name": "Qwen3-Embedding-4B", "type": "embedding", "dimensions": 2560, "loaded": true }
  ]
}

Errors

StatusCodeWhen
401invalid_api_keyRequire API key is on and the key is missing or wrong.