Codex

Point Codex at Hyper's OpenAI-compatible Responses API.

Codex is OpenAI's CLI coding agent. Point it at Hyper's Responses API endpoints and use the same models with your Hypercredits.

Prerequisites#

  • A Hyper account with an API key

  • Codex installed

Configuration#

Add this to ~/.codex/config.toml:

model = "deepseek-v4-pro"model_provider = "hyper"model_context_window = 131072 [model_providers.hyper]name = "Hyper"base_url = "https://hyper.charm.land/v1"env_key = "HYPER_API_KEY"wire_api = "responses"

Running Codex#

Codex CLI#

export HYPER_API_KEY="sk-hyper-xxxxxxxxxxxxxxxxxxxxxxxx"codex

Codex Desktop#

export HYPER_API_KEY="sk-hyper-xxxxxxxxxxxxxxxxxxxxxxxx"open /Applications/Codex.app