← All applications · Connect apps section on /docs
OpenAIManual setup
Qwen Code
Qwen Code: hướng dẫn cấu hình khóa API, model và nhà cung cấp trong terminal.
Published instructions · App version: unverified
Chat, ping, invoke and content-generation examples may send real billable requests. Check the model, balance, rate and minimum before running them. GET /v1/models checks authentication and the catalogue only. Set up environment variables safely
Base URL to paste
OpenAI SDKs generally use a URL ending in /v1; Anthropic SDKs use the root URL. Avoid adding /v1 twice. Protocol compatibility does not guarantee every provider feature.
https://apistack.vn/v1Prerequisites
- Cài qwen CLI
- API key
Recommended model: gpt-5.6-sol
Quick way — command / config
export API_KEY="sk-stk-..."Where to place file / fill Settings
Filemacos
~/.qwen/settings.json
Sao lưu file; ghép modelProviders, security.auth và model như mẫu. Giữ các provider đang dùng; đặt API_KEY trong môi trường trước khi mở qwen.
Filelinux
~/.qwen/settings.json
Giống macOS.
Filewindows
%USERPROFILE%\.qwen\settings.json
Tạo thư mục .qwen nếu thiếu.
Verify connection
- Mở qwen; kiểm tra /auth là OpenAI và /model chọn gpt-5.6-sol. Chỉ gửi tin nhắn khi chấp nhận phí sử dụng.
Troubleshooting
| Symptom | Reason | How to handle |
|---|---|---|
| 404 | baseUrl trong modelProviders.openai thiếu /v1. | https://apistack.vn/v1 |
Notes
- Đã đối chiếu tài liệu chính thức ngày 23/10/2026; chưa chạy toàn bộ ứng dụng với dịch vụ thật.