Lưu ý quan trọng: Vui lòng thay thế sk-xxx
dưới đây bằng API key thực tế mà bạn tạo trên key4u.shop!
Lưu ý quan trọng: Vui lòng thay thếsk-xxx
dưới đây bằng API key thực tế mà bạn tạo trên key4u.shop!
Lưu ý quan trọng: Vui lòng thay thếsk-xxx
dưới đây bằng API key thực tế mà bạn tạo trên key4u.shop!
.codex
trong thư mục người dùng hiện tại, ví dụ: C:\Users\testuser\.codex
..codex
, vui lòng tạo thư mục này thủ công, sau đó tạo hai file config.toml
và auth.json
bên trong.sk-xxx
bằng SK thật mà bạn tạo).auth.json
:{"OPENAI_API_KEY": "sk-xxx"}
config.toml
(sao chép trực tiếp nội dung dưới đây):model_reasoning_effort
có thể chọn high
, medium
, low
, tương ứng mức độ nỗ lực suy nghĩ của model (cao, trung bình, thấp).model_provider = "api111"
model = "gpt-5-codex"
model_reasoning_effort = "high"
disable_response_storage = true
preferred_auth_method = "apikey"
[model_providers.api111]
name = "api111"
base_url = "https://api.key4u.shop/v1"
wire_api = "responses"
codex
trong VSCode Extension Store.
sudo
):
Lưu ý quan trọng: Vui lòng thay thế sk-xxx
dưới đây bằng API key thực tế mà bạn tạo trên key4u.shop!
Lưu ý quan trọng: Vui lòng thay thếsk-xxx
dưới đây bằng API key thực tế mà bạn tạo trên key4u.shop!
Lưu ý quan trọng: Vui lòng thay thếsk-xxx
dưới đây bằng API key thực tế mà bạn tạo trên key4u.shop!
auth.json
:
i
để vào chế độ chèn, dán nội dung sau (thay thế sk-xxx
bằng key của bạn), sau đó nhấn phím ESC
, gõ :wq
và Enter để lưu và thoát.{"OPENAI_API_KEY": "sk-xxx"}
config.toml
:
i
để vào chế độ chèn, dán nội dung sau, sau đó nhấn phím ESC
, gõ :wq
và Enter để lưu và thoát.model_provider = "key4u"
model = "gpt-5-codex"
model_reasoning_effort = "high"
disable_response_storage = true
preferred_auth_method = "apikey"
[model_providers.key4u]
name = "key4u"
base_url = "https://api.key4u.shop/v1"
wire_api = "responses"
codex
trong VSCode Extension Store.
Lưu ý quan trọng: Vui lòng thay thế sk-xxx
dưới đây bằng API key thực tế mà bạn tạo trên key4u.shop!
Lưu ý quan trọng: Vui lòng thay thếsk-xxx
dưới đây bằng API key thực tế mà bạn tạo trên key4u.shop!
Lưu ý quan trọng: Vui lòng thay thếsk-xxx
dưới đây bằng API key thực tế mà bạn tạo trên key4u.shop!
auth.json
:
i
để vào chế độ chèn, dán nội dung sau (thay thế sk-xxx
bằng key của bạn), sau đó nhấn phím ESC
, gõ :wq
và Enter để lưu và thoát.{"OPENAI_API_KEY": "sk-xxx"}
config.toml
:
i
để vào chế độ chèn, dán nội dung sau, sau đó nhấn phím ESC
, gõ :wq
và Enter để lưu và thoát.model_provider = "api111"
model = "gpt-5-codex"
model_reasoning_effort = "high"
disable_response_storage = true
preferred_auth_method = "apikey"
[model_providers.api111]
name = "api111"
base_url = "https://api.key4u.shop/v1"
wire_api = "responses"
codex
trong VSCode Extension Store.