Bring your own key
Bring your own key
Add an OpenAI API key to Kilo
OpenAI BYOK uses Platform API billing. It is separate from the ChatGPT Plus/Pro OAuth option.
- Models
- OpenAI API models available to your project
- Billing
- Provider pay-as-you-go billing
- Connect with
- OpenAI project API key
How to connect OpenAI to Kilo
- 1
Create a OpenAI openai project api key
Sign in to OpenAI, enable API billing if required, and create a credential for Kilo. Copy it when it is shown and keep it private.
- 2
Open Kilo BYOK settings
Open the Kilo BYOK page and choose OpenAI from the provider list.
- 3
Add the openai project api key
Paste the OpenAI credential, complete any provider-specific fields, and save it. Kilo validates the configuration before using it.
- 4
Select a model and verify usage
Choose a model supplied by OpenAI, send a test request, and confirm the request appears in your provider usage dashboard.
Before you connect
- ChatGPT and OpenAI API billing are separate.
- Use the ChatGPT subscription guide instead when you want Codex usage covered by Plus or Pro.
Compare this with every inference option
Compare subscriptions, provider keys, Kilo Gateway, and local models before choosing how to power Kilo.
View the inference comparison