OpenAI
Jan supports OpenAI (opens in a new tab) and OpenAI-compatible APIs, allowing you to use all models from OpenAI (GPT-4, GPT o1 and more) through Jan's interface.
Integrate OpenAI API with Jan
Step 1: Get Your API Key
- Visit OpenAI Platform (opens in a new tab) and sign in
- Create & copy a new API key or copy your existing one
Ensure your API key has sufficient credits
Step 2: Configure Jan
There are two ways to add your OpenAI API keys in Jan:
Through Threads:
- In Threads, click Model tab in the right sidebar or model selector in input field
- Once the selector is poped up, choose the Cloud tab
- Click Add () icon next to OpenAI
- Once you are directed to OpenAI settings, insert your API Key
Through Settings:
- Navigate to Settings ()
- Under Remote Engines, select OpenAI
- Insert your API Key
Step 3: Start Using OpenAI's Models
In any existing Threads or create a new one Select an OpenAI model from model selector Start chatting
Available OpenAI Models
Jan automatically includes popular OpenAI models. In case you want to use a specific OpenAI model that you cannot find in Jan, follow instructions in Manual Setup to add custom models:
- See list of available models in OpenAI Platform (opens in a new tab).
- The id property must match the model name in the list. For example, if you want to use the GPT-4 Turbo (opens in a new tab), you must set the id property to gpt-4-1106-preview.
Troubleshooting
Common issues and solutions:
- API Key Issues
- Verify your API key is correct and not expired
- Check if you have billing set up on your OpenAI account
- Ensure you have access to the model you're trying to use
- Connection Problems
- Check your internet connection
- Verify OpenAI's system status (opens in a new tab)
- Look for error messages in Jan's logs
- Model Unavailable
- Confirm your API key has access to the model
- Check if you're using the correct model ID
- Verify your OpenAI account has the necessary permissions
Need more help? Join our Discord community (opens in a new tab) or check the OpenAI documentation (opens in a new tab).