Ghost Help

Using Ghost in Claude Code and Codex

You can use Ghost models inside developer tools like Claude Code and Codex, not just the web chat. The Connect page generates the whole setup for you.

Which model to use for long coding sessions

Ghost X1 and Ghost X2 have their own usage allowance, separate from the hosted models. For long sessions, X1 or X2 is the better fit, because the largest hosted models use a shared session allowance fastest.

Claude Code

  • To switch models inside Claude Code, type /model ghost-x1 (or /model ghost-x2).
  • To set it up from scratch, open the Connect page, choose Claude Code, pick Ghost X1, and reconnect. Claude Code will use it from then on.

Codex

  1. Open the Connect page and choose Codex.
  2. Pick Ghost X1 or Ghost X2.
  3. Press Connect and copy the command it shows you.
  4. Paste the command into a terminal and run it.

The command writes a Codex profile (~/.codex/ghost.config.toml) with your key and starts Codex with codex --profile ghost. On Windows, the Connect page gives you the PowerShell version of the same command.

Tip

Start a fresh chat when a thread gets long. Every message in a long conversation resends the whole thread, so long chats use your allowance faster.

More help

Ghost is a product of The Sapient Directive Inc.