Skip to main content
idapt
HomeAI ModelsExploreResourcesPricing
Sign inUse for Free
HomeDevelopersAI Gateway quickstartsCodex CLI

Codex CLI with idapt

A TOML provider block with command-based auth points Codex at idapt and pulls the live model catalog.

  1. 1

    Install

    bash
    npm i -g @openai/codex
  2. 2

    Point it at idapt

    toml
    # ~/.codex/config.toml
    model_provider = "idapt"
    model = "openai/gpt-5.6-luna"
    model_reasoning_effort = "high"
    
    [model_providers.idapt]
    name = "idapt"
    base_url = "https://idapt.app/api/openai/v1"
    wire_api = "chat"
    
    [model_providers.idapt.auth]
    command = "sh"
    args = ["-c", "echo $IDAPT_API_KEY"]

    Command-based auth also triggers the model-catalog refresh, so non-OpenAI ids get real metadata instead of the Unknown model fallback. Windows: use command = "powershell" with Write-Output $env:IDAPT_API_KEY. model_reasoning_effort takes low, medium, high, xhigh, or max.

GOOD TO KNOW

API keys and scopesOpenAI-compatible API referenceOpenRouter-compatible API referenceRate limits and errors

MORE QUICKSTARTS

Claude Code

OpenCode

Crush

  • Home
  • Pricing
  • AI Models
  • Skills
  • Image models
  • Voice models
  • Video models
  • Rankings
  • Multi-Model Chat
  • Agents
  • Computers
  • Drive
  • Automations
  • AI Gateway
  • All features →
  • Blog
  • About
  • Comparisons
  • Benchmarks
  • Model Match
  • Demos
  • Help center
  • FAQ
  • Privacy
  • Support
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Migrate
  • Downloads
  • Desktop
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)Discord