CodeWork
Get StartedModels & Pricing

OpenAI Codex

Use GPT-6, GPT-5.6, and Codex models through your ChatGPT plan.

Sign in with your ChatGPT account. Usage counts against your ChatGPT plan’s limits.

Sign in

codework auth login --openai-codex

CodeWork opens the sign-in page in your browser and waits for the browser to return to localhost:1455. If that port is taken, paste the redirect URL from your browser when CodeWork asks for it.

No browser on this machine, such as over SSH? Use a device code instead. It needs no local port:

codework auth login --openai-codex --device

To store the login on a running codework serve instead of this machine, add --server ws://127.0.0.1:7433/rpc/v1.

Run

codework run --provider openai-codex --model gpt-5.6-luna "Explain this repository"

Models

ModelIDContext
GPT-6.1 Solgpt-6.1-sol500K
GPT-6 Astragpt-6-astra272K
GPT-6 Solgpt-6-sol272K
GPT-6 Lunagpt-6-luna272K
GPT-5.6 Solgpt-5.6-sol272K
GPT-5.6 Terragpt-5.6-terra272K
GPT-5.6 Lunagpt-5.6-luna272K
GPT-5.3 Codex Sparkgpt-5.3-codex-spark128K

Every model reasons and accepts images. See Catalog & prices for prices and thinking levels.

Check or remove the login

codework auth status --openai-codex
codework auth logout --openai-codex

The login renews itself when it expires. codework auth refresh --openai-codex renews it now.

Pricing

Usage counts against your ChatGPT plan’s limits. The cost in CodeWork’s usage summary is what the same tokens would cost at API rates. Use it to compare models. It isn’t what you’re billed.