Skip to main content
Warp is a modern terminal with built-in AI features including command suggestions, natural language to commands, and Warp AI chat.
Setup time: ~10 minutes

Prerequisites

Configuration

Warp’s AI features use sub-agents that can be configured individually.

Step 1: Open Warp Settings

  1. Open Warp
  2. Press Cmd+, (macOS) or go to WarpSettings
  3. Navigate to AI section

Step 2: Configure Custom Model

  1. Look for Custom Model or BYOK options
  2. Select OpenAI Compatible as the provider
  3. Enter the configuration:
    • API Base URL: https://api.infercom.ai/v1
    • API Key: Your Infercom API key
    • Model: MiniMax-M2.5

Step 3: Configure Sub-Agents

Warp may have multiple AI features that need individual configuration:
  • Warp AI Chat - Main AI assistant
  • Command Suggestions - Inline command completion
  • Natural Language to Command - Convert descriptions to commands
Configure each to use your Infercom model.

Model

Use MiniMax-M2.5 - optimized for agentic coding with 160K context (163,840 tokens) and 75.8% SWE-bench.

Usage

Once configured:

AI Chat

Press Ctrl+Shift+Space or click the AI button to open Warp AI chat.

Natural Language Commands

Type # followed by a description:
# list all docker containers sorted by size
Warp converts this to the actual command.

Command Suggestions

As you type, Warp suggests completions based on context.

Alternative: Environment Variables

Some Warp AI features may respect OpenAI environment variables:
export OPENAI_API_KEY="your-infercom-api-key"
export OPENAI_API_BASE="https://api.infercom.ai/v1"
Add to your shell profile for persistence.

Troubleshooting

Custom Model Not Available

Warp’s BYOK features may require:
  • Warp Pro subscription
  • Latest version of Warp
Check Warp’s documentation for current custom model support.

AI Features Not Using Custom Model

Ensure each sub-agent is configured:
  1. Check all AI-related settings sections
  2. Some features may have separate model configurations
  3. Restart Warp after changes

Connection Errors

Verify the API endpoint:
curl -s https://api.infercom.ai/v1/models \
  -H "Authorization: Bearer your-infercom-api-key"

Limitations

Warp’s custom model support may vary by subscription tier and feature. If BYOK is not available for all features, consider using terminal-based tools like Aider or Goose alongside Warp.

Next Steps