Supported Providers
Jan integrates with the following remote model providers:OpenAI
GPT-4o, o3, and other OpenAI models
Anthropic
Claude Opus, Sonnet, and Haiku models
Gemini 1.5 and 2.0 series models
Groq
High-performance LLM inference
OpenRouter
Unified access to multiple providers
Others
Cohere, Mistral AI, HuggingFace, and more
General Setup Process
The setup process is similar across all providers:Get Your API Key
Visit your chosen provider’s website and create an API key:
Ensure your API key has sufficient credits and access to the models you want to use.
Configure Jan
- Navigate to the Settings page in Jan
- Under Model Providers, select your provider
- Insert your API Key
- Click Save or Apply
OpenAI Integration
Jan supports all OpenAI models, including GPT-4o, o3, and custom fine-tuned models.Configuration Example
Available Models
Jan automatically includes popular OpenAI models. To use a specific model:- See the list of available models in OpenAI Platform
- The model ID must match exactly (e.g.,
gpt-4o,gpt-4-turbo)
Anthropic Integration
Access Claude’s Opus, Sonnet, and Haiku models through Jan.Available Models
- Claude Opus 4:
claude-opus-4@20250514 - Claude Sonnet 4:
claude-sonnet-4@20250514 - Claude 3.5 Haiku:
claude-3-5-haiku@20241022
Google (Gemini) Integration
Use Google’s Gemini models for multimodal AI capabilities.Available Models
- Gemini 1.5 Pro:
gemini-1.5-pro - Gemini 2.0 Flash:
gemini-2.0-flash-lite-preview
Groq Integration
Groq provides high-performance inference for open-source models.Available Models
- Llama 3.3 70B:
llama-3.3-70b-versatile - Mixtral: Various Mixtral models
- Llama 2: LLaMA 2 series models
OpenRouter Integration
OpenRouter provides unified access to multiple AI model providers through a single API.Why Use OpenRouter?
- Access models from Anthropic, Google, Meta, and more with one API key
- Competitive pricing across providers
- Several free models available
- Simplified billing and management
Model Format
OpenRouter uses the format:organization/model-name
Examples:
- Claude 4 Opus:
anthropic/claude-opus-4 - Google Gemini 2.5 Pro:
google/gemini-2.5-pro-preview - DeepSeek R1:
deepseek/deepseek-r1-0528
Adding Custom Models
If you want to use a specific remote model that isn’t listed in Jan:Add the Model
Follow the instructions in Jan’s Add Cloud Models guide
Architecture Overview
Jan’s remote model integration is built on a clean architecture:- Consistent authentication across providers
- Easy integration of new providers
- Unified interface for local and remote models
Troubleshooting
API Key Issues
- Verify your API key is correct and not expired
- Check if you have billing set up on your provider account
- Ensure you have access to the model you’re trying to use
Connection Problems
- Check your internet connection
- Verify the provider’s system status
- 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 account has the necessary permissions
- Some models may have regional restrictions
Rate Limits
- Most providers implement rate limits
- Check your provider’s dashboard for current usage
- Consider upgrading your plan for higher limits
Best Practices
-
API Key Security
- Never share your API keys
- Store keys securely in Jan’s settings
- Rotate keys periodically
-
Cost Management
- Monitor your usage through provider dashboards
- Set up billing alerts
- Use local models for development and testing
-
Privacy Considerations
- Be aware that remote models process data in the cloud
- Use local models for sensitive information
- Review each provider’s data retention policies
-
Performance Optimization
- Use streaming for better user experience
- Select appropriate models for your use case
- Consider latency when choosing providers