{
  "title": "OpenAI",
  "content": "OpenAI provides developer APIs for GPT models. Codex supports **ChatGPT sign-in** for subscription\naccess or **API key** sign-in for usage-based access. Codex cloud requires ChatGPT sign-in.\n\n## Option A: OpenAI API key (OpenAI Platform)\n\n**Best for:** direct API access and usage-based billing.\nGet your API key from the OpenAI dashboard.\n\n```bash theme={null}\nopenclaw onboard --auth-choice openai-api-key",
  "code_samples": [],
  "headings": [
    {
      "level": "h2",
      "text": "Option A: OpenAI API key (OpenAI Platform)",
      "id": "option-a:-openai-api-key-(openai-platform)"
    },
    {
      "level": "h3",
      "text": "CLI setup",
      "id": "cli-setup"
    }
  ],
  "url": "llms-txt#openai",
  "links": []
}