Skip to content
Copy this guide for your AI tool. Keep your key local.
PALEPALE / DOCUMENTATION

Codex & Claude Code

Use your Palepale models and balance in Codex or Claude Code.

Use the latest Palepale CLI. Run palepale update before connecting. SHA256SUMS.

Connect

Install Palepale CLI and your preferred client, then run its setup command in your terminal.

Codex:

Example
palepale codex

Claude Code:

Example
palepale claude

Approve the Palepale sign-in if prompted, then restart the client. Setup selects Palepale API mode, backs up changed settings and saves your key privately. Setup sends no billable model request.

Choose a model

Setup uses your current Palepale model if compatible, or the first available option. To choose one, replace MODEL_ID with an available ID from Models:

Example
palepale codex MODEL_IDpalepale claude MODEL_ID

Run the command for your client, restart it and start a new chat. Claude Code 2.1.242+ lists all compatible models in /model. Rerun setup to refresh the list or replace a changed key. Keep Palepale installed so the client can read its key.

Images

Choose a model marked Text + image input in Models. Rerun your setup command and restart the client to refresh capabilities. Attach an image or ask the client to open its local file. Image input means the model can read images; it does not generate them.

Usage and limits

Requests use your Palepale pass, wallet or eligible free usage. Check charges and spending caps in Billing. ChatGPT and Claude subscriptions do not fund this connection. Trial credit stays in Palepale CLI.

Text, streaming and tool calls have passed local tests. Codex web search and Claude Code extended thinking are disabled by setup. Model features vary; check Usage before retrying an interrupted request.

Disconnect

Close the client, then run its command:

Example
palepale codex --logoutpalepale claude --logout

Restart the client afterward. Disconnect works offline and removes its Palepale key. Other providers and your Palepale login stay available. Setup saves previous settings; older connections keep their original settings in the backup.

Codex gateway guide · Claude Code gateway guide. Anthropic does not officially support non-Claude models in Claude Code.

Need a hand?

Open Palepale Discord for account support. Compare model rates or read about wallet billing.