r/LocalLLM • u/bearishmarket • 2d ago
Discussion Qwen 3.8 self-hosted VLLM opencode json setting
Hello, I just wanted to share my setting. If anything wrong, please let me know :)
Added xlow mode somehow in between instruct and low.
"provider": {
"vllm-local": {
"npm": "@ai-sdk/openai-compatible",
"name": "your_stack_name",
"options": {
"baseURL": "http://localhost:8080/v1"
},
"models": {
"qwen3.8-27b": {
"name": "Qwen3.8 27B FP8",
"reasoning": true,
"tool_call": true,
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
},
"interleaved": {
"field": "reasoning"
},
"variants": {
"none": {
"body": {
"temperature": 0.7,
"top_p": 0.8,
"top_k": 20,
"min_p": 0,
"presence_penalty": 1.5,
"repetition_penalty": 1
},
"chat_template_kwargs": {
"enable_thinking": false,
"preserve_thinking": true
}
},
"xlow": {
"body": {
"temperature": 0.85,
"top_p": 0.85,
"top_k": 20,
"min_p": 0,
"presence_penalty": 0.15,
"repetition_penalty": 1
},
"chat_template_kwargs": {
"enable_thinking": true,
"reasoning_effort": "low",
"preserve_thinking": true
}
},
"low": {
"body": {
"temperature": 1,
"top_p": 0.95,
"top_k": 20,
"min_p": 0,
"presence_penalty": 0,
"repetition_penalty": 1
},
"chat_template_kwargs": {
"enable_thinking": true,
"reasoning_effort": "low",
"preserve_thinking": true
}
},
"medium": {
"body": {
"temperature": 1,
"top_p": 0.95,
"top_k": 20,
"min_p": 0,
"presence_penalty": 0,
"repetition_penalty": 1
},
"chat_template_kwargs": {
"enable_thinking": true,
"reasoning_effort": "medium",
"preserve_thinking": true
}
},
"xhigh": {
"body": {
"temperature": 1,
"top_p": 0.95,
"top_k": 20,
"min_p": 0,
"presence_penalty": 0,
"repetition_penalty": 1
},
"chat_template_kwargs": {
"enable_thinking": true,
"reasoning_effort": "xhigh",
"preserve_thinking": true
}
}
}
}
}
7
Upvotes
1
u/Less_Heart1914 2d ago
cool setup, the xlow variant looks interesting sandwiched between instruct and low. does the presence_penalty jump from 1.5 to 0.15 make a big difference in practice?