Skip to main content

Mistral

ℹ️Note

캐럿(Caret) 기준 문서입니다. Caret v3.38.1 머지본을 따르며, 캐럿 전용 정책(허용/차단 모델, 지역 제한, 인증/라우팅)이 있을 경우 본문에서 <Note>로 표시합니다.

ℹ️Note

Provider Setup 강화: caret-docs/features/f09-enhanced-provider-setup.md에 따라 캐럿은 프로바이더 설정 검증/UX가 강화될 수 있습니다. 계정/조직 정책 또는 캐럿 라우터 적용 시 허용/차단 모델이 달라질 수 있음을 안내하세요.

Caret supports accessing models through the Mistral AI API, including both standard Mistral models and the code-specialized Codestral model.

Website: https://mistral.ai/

Getting an API Key

  1. Sign Up/Sign In: Go to the Mistral Platform. Create an account or sign in. You may need to go through a verification process.
  2. Create an API Key:

Supported Models

Caret supports the following Mistral models:

  • pixtral-large-2411
  • ministral-3b-2410
  • ministral-8b-2410
  • mistral-small-latest
  • mistral-medium-latest
  • mistral-small-2501
  • pixtral-12b-2409
  • open-mistral-nemo-2407
  • open-codestral-mamba
  • codestral-2501
  • devstral-small-2505

Note: Model availability and specifications may change. Refer to the Mistral AI documentation and Mistral Model Overview for the most current information.

Configuration in Caret

  1. Open Caret Settings: Click the settings icon (⚙️) in the Caret panel.
  2. Select Provider: Choose "Mistral" from the "API Provider" dropdown.
  3. Enter API Key: Paste your Mistral API key into the "Mistral API Key" field if you're using a standard mistral model. If you intend to use codestral-latest, see the "Using Codestral" section below.
  4. Select Model: Choose your desired model from the "Model" dropdown.

Using Codestral

Codestral is a model specifically designed for code generation and interaction. For Codestral, you can use different endpoints (Default: codestral.mistral.ai). If using the La Plateforme API Key for Codestral, change the Codestral Base Url to: https://api.mistral.ai

To use Codestral with Caret:

  1. Select "Mistral" as the API Provider in Caret Settings.
  2. Select a Codestral Model (e.g., codestral-latest) from the "Model" dropdown.
  3. Enter your Codestral API Key (from codestral.mistral.ai) or your La Plateforme API Key (from api.mistral.ai) into the appropriate API key field in Caret.