Configuring OpenAI Models 
This page explains how to retrieve or generate API credentials for OpenAI models. Once you have the configuration details, you can follow the guide here to set up the model in the Flexpilot IDE.
🔗 Quick Links
- OpenAI Platform - Manage your OpenAI account
- API Documentation - Official API reference
- API Keys - Generate API credentials
- Available Models - Compare OpenAI model variants
Setup Guide 
🔒 Security Warning
Never commit API keys to version control or share them publicly. Keep them secure!
- Login to OpenAI Platform or sign up for a new account if you don't have one.
- Navigate to OpenAI Platform API Keys section to create a new API key.
- Click Create new secret keyand give it a descriptive name (recommended).
- Once you create the API key, copy it immediately as it won't be visible again.
- Visit the OpenAI Models documentation to select the appropriate model for your needs.
Configuration Reference 
Use these settings when configuring OpenAI in Flexpilot IDE:
Configuration Fields
| Field | Description | Default/Recommended | 
|---|---|---|
| API URL | Base endpoint URL | https://api.openai.com/v1 | 
| API Key | Your secret key | From API Keys | 
| Model ID | Model identifier | gpt-4-turbo-preview | 
| Temperature | Response creativity (0-1) | 0.2for code generation | 
| Organization ID | OpenAI org identifier (optional) | From organization settings | 
| Project ID | Project identifier (optional) | From project settings | 
| Tool Calling | Function calling support | true | 
💡 Pro Tips
- Use lower temperatures (0.1-0.3) for more deterministic code generation
- The default API URL works for most users - only change if using a proxy
Next Steps 
Set up the API credentials obtained from this page's instructions in the Flexpilot IDE to enable the Chat Model. For detailed guidance, refer to the Setup Guide.