Seems that is not working with LMStudio 0.4.2 (last version)
The expected endpoint contains /v1 before /chat
2026-02-16 11:52:14 [INFO]
[LM STUDIO SERVER] Supported endpoints:
2026-02-16 11:52:14 [INFO]
[LM STUDIO SERVER] LM Studio API
2026-02-16 11:52:14 [INFO]
[LM STUDIO SERVER] -> GET http://localhost:1234/api/v1/models
2026-02-16 11:52:14 [INFO]
[LM STUDIO SERVER] -> POST http://localhost:1234/api/v1/chat
2026-02-16 11:52:14 [INFO]
[LM STUDIO SERVER] -> POST http://localhost:1234/api/v1/models/load
2026-02-16 11:52:14 [INFO]
[LM STUDIO SERVER] -> POST http://localhost:1234/api/v1/models/download
2026-02-16 11:52:14 [INFO]
[LM STUDIO SERVER] -> GET http://localhost:1234/api/v1/models/download/status:job_id
2026-02-16 11:52:14 [INFO]
[LM STUDIO SERVER] OpenAI-compatible
2026-02-16 11:52:14 [INFO]
[LM STUDIO SERVER] -> GET http://localhost:1234/v1/models
2026-02-16 11:52:14 [INFO]
[LM STUDIO SERVER] -> POST http://localhost:1234/v1/responses
2026-02-16 11:52:14 [INFO]
[LM STUDIO SERVER] -> POST http://localhost:1234/v1/chat/completions
2026-02-16 11:52:14 [INFO]
[LM STUDIO SERVER] -> POST http://localhost:1234/v1/completions
2026-02-16 11:52:14 [INFO]
[LM STUDIO SERVER] -> POST http://localhost:1234/v1/embeddings
2026-02-16 11:52:14 [INFO]
2026-02-16 11:52:14 [INFO]
[LM STUDIO SERVER] Logs are saved into C:\Users\sharg\.lmstudio\server-logs
2026-02-16 11:52:14 [INFO]
Server started.
2026-02-16 11:52:14 [INFO]
Just-in-time model loading active.
2026-02-16 11:53:04 [ERROR]
Unexpected endpoint or method. (POST /api/chat). Returning 200 anyway
2026-02-16 11:53:06 [ERROR]
Unexpected endpoint or method. (POST /api/chat). Returning 200 anyway
Seems that is not working with LMStudio 0.4.2 (last version)
The expected endpoint contains /v1 before /chat