Martian
Jan supports Martian (opens in a new tab) API integration, allowing you to use Martian's models through Jan's interface.
Integrate Martian with Jan
Step 1: Get Your API Key
- Visit Martian API Keys (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 Martian key 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 Martian
- Once you are directed to Martian settings, insert your API Key
Through Settings:
- Navigate to Settings ()
- Under Remote Engines, select Martian
- Insert your API Key
Step 3: Start Using Martian Models
- In any existing Threads or create a new one
- Select a Martian model from model selector
- Start chatting
Available Models
Jan includes the Martian Model Router which automatically selects the best model for your use case. You can start using it right away after configuring your API key. See list of available models in Martian Documentation (opens in a new tab).
Troubleshooting
Common issues and solutions:
1. API Key Issues
- Verify your API key is correct and not expired
- Check if you have billing set up on your Martian account
- Ensure you have access to the model you're trying to use
2. Connection Problems
- Check your internet connection
- Verify Martian's system status
- Look for error messages in Jan's logs
3. Model Unavailable
- Confirm your API key has access to the model
- Check if you're using the correct model ID
- Verify your Martian account has the necessary permissions
Need more help? Join our Discord community (opens in a new tab) or check the Martian documentation (opens in a new tab).