The new model Qwen Agent World seems to work very nice for local coding, with a very decent speed
I made one based on a quantized version uploaded by sakamakismile (kudos to him for uploading the nvfp4 quantized version), at lgmc/Qwen-AgentWorld-35B-A3B-NVFP4-MTP · Hugging Face .
The decode speed after some coding tests with a single request is ~60 tokens/s
Docker compose configuration:
qwen-agentworld:
image: vllm/vllm-openai:nightly
container_name: qwen-agentworld
restart: "no"
ports:
- "8011:8000"
volumes:
- ./vllm/models:/root/.cache/huggingface
- ./vllm/torch_compile_cache_qwen_agentworld:/root/.cache/vllm/torch_compile_cache
environment:
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=compute,utility,display
- HUGGING_FACE_HUB_TOKEN=${HUGGING_FACE_HUB_TOKEN:-}
- HF_HOME=/root/.cache/huggingface
- VLLM_ALLOW_LONG_MAX_MODEL_LEN=1
- PYTHONUNBUFFERED=1
command: >
--model lgmc/Qwen-AgentWorld-35B-A3B-NVFP4-MTP
--host 0.0.0.0
--port 8000
--tensor-parallel-size 1
--gpu-memory-utilization 0.78
--max-model-len 131072
--max-num-seqs 64
--max-num-batched-tokens 32768
--quantization compressed-tensors
--kv-cache-dtype fp8
--moe-backend flashinfer_cutlass
--attention-backend FLASHINFER
--enable-chunked-prefill
--enable-prefix-caching
--speculative-config '{"method":"mtp","num_speculative_tokens":3}'
--trust-remote-code
--reasoning-parser qwen3
--tool-call-parser qwen3_coder
--enable-auto-tool-choice
ipc: host
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
Bonus:
For local coding tasks i am using GitHub - anomalyco/opencode: The open source coding agent. · GitHub with this config:
{
"$schema": "https://opencode.ai/config.json",
"model": "local/lgmc/Qwen-AgentWorld-35B-A3B-NVFP4-MTP",
"provider": {
"local": {
"npm": "@ai-sdk/openai-compatible",
"name": "Local vLLM",
"options": {
"baseURL": "http://localhost:8011/v1",
"apiKey": "dummy"
},
"models": {
"lgmc/Qwen-AgentWorld-35B-A3B-NVFP4-MTP": {
"name": "Qwen AgentWorld 35B"
}
}
}
}
}
Even if it does not seem to be the original intended use, for me is the best local agentic-code model, maybe the dense model of qwen could be better, but personally i am having a good experience with my local testing