SETUP
OpenClaw version: 2026.5.12
Provider: Alibaba Cloud Model Studio Token Plan (Singapore region)
Endpoint: https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode
API key format: sk-sp-... (Token Plan specific)
Model trying to use: qwen3.6-plus
WHAT WORKS
Direct curl to POST /v1/chat/completions with my key returns HTTP 200. The endpoint and key are valid.
WHAT DOES NOT WORK
OpenClaw gets a 404 error before sending any chat request. I tested both api: openai-completions and api: openai-responses adapters, same result.
THEORY
OpenClaw appears to call GET /v1/models (or similar model validation endpoint) before sending chat requests. Alibaba Cloud Model Studio only supports /v1/chat/completions and does not expose a model list endpoint. This causes OpenClaw to fail with 404 before ever reaching the actual chat endpoint.
QUESTION
Is there a way to bypass or disable the model validation step for custom OpenAI-compatible providers? Can I declare models statically so OpenClaw does not probe the provider, or is there another workaround?