Skip to content

Expose thinking capability in Models API #1659

Description

@milindmore22

Which version of LM Studio?
Example: LM Studio Version 0.4.6+1 (0.4.6+1)

Which operating system?
Mac OS Tahoe 26.3.1

What is the bug?
Expose reasoning/thinking capabilities for the models that provides it, it can be helpful in determining to turn it off for specific models

eg:
GET http://127.0.0.1:1234/api/v1/models

Current Response

"capabilities": {
        "vision": true,
        "trained_for_tool_use": true
      },

Updated response - This will help in determining where we can turn off reasoning

"capabilities": {
        "vision": true,
        "trained_for_tool_use": true,
       "thinking": true
      },

Screenshots
Not Applicable

Logs
No Logs adding my current models

{
  "models": [
    {
      "type": "llm",
      "publisher": "google",
      "key": "google/gemma-3-4b",
      "display_name": "Gemma 3 4B",
      "architecture": "gemma3",
      "quantization": {
        "name": "4bit",
        "bits_per_weight": 4
      },
      "size_bytes": 3034755901,
      "params_string": "4B",
      "loaded_instances": [],
      "max_context_length": 131072,
      "format": "mlx",
      "capabilities": {
        "vision": true,
        "trained_for_tool_use": false
      },
      "description": null,
      "variants": [
        "google/gemma-3-4b@4bit"
      ],
      "selected_variant": "google/gemma-3-4b@4bit"
    },
    {
      "type": "llm",
      "publisher": "qwen",
      "key": "qwen/qwen3.5-9b",
      "display_name": "Qwen3.5 9B",
      "architecture": "qwen35",
      "quantization": {
        "name": "Q4_K_M",
        "bits_per_weight": 4
      },
      "size_bytes": 6548927017,
      "params_string": "9B",
      "loaded_instances": [
        {
          "id": "qwen/qwen3.5-9b",
          "config": {
            "context_length": 4096,
            "eval_batch_size": 512,
            "flash_attention": true,
            "offload_kv_cache_to_gpu": true
          }
        }
      ],
      "max_context_length": 262144,
      "format": "gguf",
      "capabilities": {
        "vision": true,
        "trained_for_tool_use": true
      },
      "description": null,
      "variants": [
        "qwen/qwen3.5-9b@q4_k_m"
      ],
      "selected_variant": "qwen/qwen3.5-9b@q4_k_m"
    },
    {
      "type": "embedding",
      "publisher": "nomic-ai",
      "key": "text-embedding-nomic-embed-text-v1.5",
      "display_name": "Nomic Embed Text v1.5",
      "quantization": {
        "name": "Q4_K_M",
        "bits_per_weight": 4
      },
      "size_bytes": 84106624,
      "params_string": null,
      "loaded_instances": [],
      "max_context_length": 2048,
      "format": "gguf"
    }
  ]
}

To Reproduce
Steps to reproduce the behavior:

  1. Start LM Studio
  2. Install models such as qwen3.5 9b
  3. Start Local API server
  4. Visit http://127.0.0.1:1234/api/v1/models

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions