Using OpenAI With Kilo Code

Kilo Code supports accessing models directly through the official OpenAI API.

Website: https://openai.com/

Getting an API Key

  1. Sign Up/Sign In: Go to the OpenAI Platform. Create an account or sign in.
  2. Navigate to API Keys: Go to the API keys page.
  3. Create a Key: Click "Create new secret key". Give your key a descriptive name (e.g., "Kilo Code").
  4. Copy the Key: Important: Copy the API key immediately. You will not be able to see it again. Store it securely.

Configuration in Kilo Code

  1. Open Kilo Code Settings: Click the gear icon () in the Kilo Code panel.
  2. Select Provider: Choose "OpenAI" from the "API Provider" dropdown.
  3. Enter API Key: Paste your OpenAI API key into the "OpenAI API Key" field.
  4. Select Model: Choose your desired model from the "Model" dropdown.

Tips and Notes

  • Pricing: Refer to the OpenAI Pricing page for details on model costs.
  • Azure OpenAI Service: If you'd like to use the Azure OpenAI service, please see our section on OpenAI-compatible providers.