DocsOptions

AI Options

Codex Fast mode, Gemini API keys, and other AI-side configuration.

Choosing a Provider

KingCoding lets you pick the AI provider per task. The two primary options are Claude Code and Codex.

  • Claude Code — strong on long-context implementation
  • Codex — quick responses, comfortable on the command line
  • Install both and switch case by case

Codex Fast Mode

Codex's fast execution mode. Toggling it on writes to ~/.codex/config.toml and enables Fast mode globally — quicker responses, slightly shallower reasoning.

  • Open Settings → General
  • Flip the Codex Fast mode switch on
  • Tasks running on Codex pick it up automatically

Gemini API Key (Fast Title / Commit Generation)

Speeds up automatic task titles and commit messages via Gemini Flash Lite. Set the key once and it kicks in automatically.

  • Generate an API key in Google AI Studio
  • Paste it into Settings → General → Fast title / commit generation
  • Title and commit message generation switch to Gemini going forward
  • Falls back to the Claude-based default if unset
  • Model: gemini-3.1-flash-lite-preview
  • The key is masked in the UI after saving

King Mode Models

King Mode model picks live on its own page, but you'll find the controls under Settings → King Mode for the orchestrator, complex tasks, and simple tasks. Reasoning effort is on the same screen.