← All documentation

Configure AskCodi API

Fast guide to connect Jan desktop AI app with AskCodi API. Configure custom providers and OpenAI-compatible settings.

Connect Jan to AskCodi for advanced cloud AI. Use diverse models through Jan's privacy-focused interface.

Why Connect Jan to AskCodi?

Jan works with local models by default. Connect AskCodi for advanced reasoning and current knowledge. Use local models for privacy. Connect cloud models for complex tasks.

Prerequisites

  • Jan installed from https://jan.ai
  • AskCodi account with API key
  • Internet connection
  • Know which models you want to use

Your API key connects to multiple AskCodi models via OpenAI-compatible endpoint.

Step 1: Install Jan

  1. Download Jan from https://jan.ai
  2. Run installer
  3. Launch Jan

Step 2: Open Settings

  1. In Jan, click Settings in left sidebar
  2. This opens settings panel

Step 3: Go to Model Providers

  1. In settings, find "Model Providers" section
  2. This manages AI service connections

Step 4: Add AskCodi Provider

  1. Click "Add Provider"
  2. Enter provider name: "AskCodi"

Step 5: Configure API Details

  1. Enter AskCodi API URL:
https://api.askcodi.com/v1

Step 6: Add API Key

  1. Find API key field for AskCodi provider
  2. Enter your AskCodi API key
  3. Keep key secure

Step 7: Fetch Models

  1. Click refresh or fetch models button
  2. Jan connects to AskCodi and retrieves available models
  3. Models appear in Jan's model dropdown

Step 8: Test Integration

  1. Close settings
  2. Create new conversation
  3. Check AskCodi models appear in dropdown
  4. Start conversation with AskCodi model

Try simple query to verify connection works.

Model Selection

Switch models based on needs:

  • Quick tasks: Use faster, less expensive models
  • Complex reasoning: Use Claude 3 Opus, GPT-4 variants
  • Coding: Use code-optimized models

Optimization Tips

Provider Management: Switch between local and cloud as needed. Use local for sensitive data. Use AskCodi for knowledge-intensive tasks.

Model Strategy: Test different models. Find best ones for your use cases.

Usage Monitoring: Check AskCodi dashboard for API usage. The familiar interface may increase usage.

Conversation Organization: Use Jan's local history to organize previous interactions with AskCodi models.

Troubleshooting

Provider Missing:

  • Verify API key is correct
  • Click refresh after configuration
  • Confirm internet connection is stable

Authentication Errors:

  • Check API key formatting (no extra spaces)
  • Regenerate key if needed

Connection Failures:

  • Confirm URL: https://api.askcodi.com/v1
  • Check API key
  • Verify firewall settings

Model Fetching Issues:

  • Click refresh multiple times
  • Verify your AskCodi account has model access

Key Steps

  • Install Jan from jan.ai
  • Open Settings from left sidebar
  • Go to Model Providers
  • Add provider: AskCodi
  • Use API URL: https://api.askcodi.com/v1
  • Add AskCodi API key
  • Click refresh to fetch models
  • Test with simple query

Connect Jan to AskCodi for advanced AI with local privacy controls.

Something missing or wrong in this guide? Talk to us