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
- Download Jan from
https://jan.ai - Run installer
- Launch Jan
Step 2: Open Settings
- In Jan, click Settings in left sidebar
- This opens settings panel
Step 3: Go to Model Providers
- In settings, find "Model Providers" section
- This manages AI service connections
Step 4: Add AskCodi Provider
- Click "Add Provider"
- Enter provider name: "AskCodi"
Step 5: Configure API Details
- Enter AskCodi API URL:
https://api.askcodi.com/v1
Step 6: Add API Key
- Find API key field for AskCodi provider
- Enter your AskCodi API key
- Keep key secure
Step 7: Fetch Models
- Click refresh or fetch models button
- Jan connects to AskCodi and retrieves available models
- Models appear in Jan's model dropdown
Step 8: Test Integration
- Close settings
- Create new conversation
- Check AskCodi models appear in dropdown
- 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.
Falta algo ou está errado neste guia? Fale connosco