← All applications · Connect apps section on /docs
OpenAIManual setup
Codex App
Also known as: Codex GUI · OpenAI Codex app
Codex App: hướng dẫn cấu hình nhà cung cấp cho ứng dụng máy tính; tính năng tùy phiên bản.
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
- Codex App hoặc CLI đã tạo ~/.codex
- API_KEY trong môi trường
- Đã cấu hình provider API Stack trong config.toml
Recommended model: gpt-5.6-sol
Quick way — command / config
# 1) Settings như Codex CLI (khuyến nghị API CLI):
api-cli configure codex -m gpt-5.6-sol
export API_KEY='sk-stk-...'
# 2) Mở Codex App — chọn provider/model API Stack / gpt-5.6-sol trong Settings nếu UI có
# 3) File quan trọng:
# ~/.codex/config.toml
# base_url = "https://apistack.vn/v1"Where to place file / fill Settings
Filemacos
~/.codex/config.toml
Giống hướng dẫn codex-cli. Mở lại Codex App sau khi sửa.
Filelinux
~/.codex/config.toml
Giống macOS.
Filewindows
%USERPROFILE%\.codex\config.toml
Sửa TOML rồi khởi động lại app.
Interfaceany
Codex App → Settings → Models / Providers
Chọn custom provider API Stack nếu UI liệt kê; khớp model gpt-5.6-sol.
Verify connection
- Chat trong Codex App một câu.
- Đối chiếu Dashboard Sử dụng.
Troubleshooting
| Symptom | Reason | How to handle |
|---|---|---|
| App vẫn gọi OpenAI tài khoản ChatGPT | Đang login OAuth thay vì API provider custom. | Trong Settings chuyển sang API / custom provider; đảm bảo config.toml model_provider = API Stack. |