본문으로 건너뛰기

Codex CLI

Responses API를 통해 Webway에서 Codex를 실행하세요.

1. 설치

bash
npm install -g @openai/codex

2. 키 추가

bash
export WEBWAY_API_KEY="sk-ww-…"

3. Codex 설정

~/.codex/config.toml에 다음을 추가하세요:

toml
model = "openai/gpt-5.6-terra"
model_provider = "webway"

[model_providers.webway]
name = "Webway"
base_url = "https://api.webway.sh/v1"
env_key = "WEBWAY_API_KEY"
wire_api = "responses"
requires_openai_auth = false

4. 실행

bash
codex

Codex는 WEBWAY_API_KEY에서 키를 읽어 POST /v1/responses로 요청을 보냅니다. 모델 표에 있는 호환 가능한 제공자 한정 ID로 model을 바꾸면 됩니다.