Documentation
Remote Engines
Martian

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

  1. Visit Martian API Keys (opens in a new tab) and sign in
  2. 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:

  1. In Threads, click Model tab in the right sidebar or model selector in input field
  2. Once the selector is poped up, choose the Cloud tab
  3. Click Add () icon next to Martian
  4. Once you are directed to Martian settings, insert your API Key

Through Settings:

  1. Navigate to Settings ()
  2. Under Remote Engines, select Martian
  3. Insert your API Key

Martian


Step 3: Start Using Martian Models

  1. In any existing Threads or create a new one
  2. Select a Martian model from model selector
  3. 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).