OpenAI-compatible pattern
Many tools only need base URL + API key + model. Prefer flash / pro.
HTTP
POST https://api.ai24x.com/v1/chat/run
Header: X-API-Key: YOUR_API_KEY
Header: Content-Type: application/json
{
"prompt": "Hello",
"model": "flash",
"max_tokens": 200
}
Python (requests)
import os, requests
r = requests.post(
"https://api.ai24x.com/v1/chat/run",
headers={"X-API-Key": os.environ["AI24X_API_KEY"], "Content-Type": "application/json"},
json={"prompt": "Hello", "model": "flash", "max_tokens": 200},
timeout=60,
)
print(r.status_code, r.text[:500])
VIP named model
After VIP is active, set model to a named id (see VIP list).
{
"prompt": "Hello",
"model": "vip-kimi",
"max_tokens": 200
}
This is the simple path that works today. More SDK-style examples will be added over time.
OpenClaw · VIP named models · Docs · Pricing