Quay lại tài liệu
Hướng dẫn cấu hình IDE

Claude Cowork / Desktop

Kết nối Claude Cowork hoặc Claude Desktop qua Third-Party Inference Gateway.

Claude Cowork/Desktop bản mới, Developer Mode, API key Premium Shop và model tương thích.

Thông tin dùng chung

Secret đầy đủ có dạng sk_shop_....<secret> và chỉ hiện một lần.

Base URL

https://api.premiumshop.tech/v1

API key

sk_shop_....<secret>

Model

gpt-5.6-luna
1

Bật Developer Mode

Mở Claude Settings, bật Developer Mode, sau đó khởi động lại app.

2

Mở Gateway

Vào Settings → Developer → Third-Party Inference Gateway.

3

Nhập endpoint

Nếu app tự thêm /v1, dùng https://api.premiumshop.tech. Nếu trường yêu cầu OpenAI-compatible endpoint đầy đủ, dùng URL dưới. Không tạo /v1/v1.

Base URL: https://api.premiumshop.tech/v1
API Key: sk_shop_....<secret>
Model: gpt-5.6-luna
4

Chọn gateway

Apply locally rồi chọn Continue with Gateway, không chọn Sign in with Anthropic nếu muốn dùng Premium Shop.

5

Test nhanh

Có thể kiểm tra API trước bằng curl.

curl https://api.premiumshop.tech/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk_shop_....<secret>" \
  -d '{"model":"gpt-5.6-luna","reasoning_effort":"max","messages":[{"role":"user","content":"hello"}]}'

Kiểm tra sau khi cấu hình

Gửi một yêu cầu ngắn, kiểm tra lượt gọi mới trong trang quản lý và xác nhận mã model phù hợp với gói của bạn.

Xử lý lỗi thường gặp

  • Gateway failed: kiểm tra URL có bị /v1/v1 không.
  • App vẫn gọi Anthropic trực tiếp: đăng xuất rồi chọn Continue with Gateway.
  • 403 hoặc hết hạn mức: kiểm tra gói còn hạn và model được bật.