Mistral
Learn how to configure and use Mistral AI models, including Codestral, with Sypha. Covers API key setup and model selection.
Sypha provides compatibility for accessing models via the Mistral AI API, encompassing both conventional Mistral models and the programming-specialized Codestral model.
Website: https://mistral.ai/
Obtaining Your API Key
- Account Access: Navigate to the Mistral Platform. Register for an account or log into your existing one. A verification procedure may be required.
- Generate an API Key:
Available Models
The following Mistral models are compatible with Sypha:
- 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 technical specifications are subject to modification. Consult the Mistral AI documentation and Mistral Model Overview for the latest information.
Setting Up Sypha
- Access Settings: Select the settings icon (⚙️) within the Sypha panel.
- Choose Provider: Pick "Mistral" from the available options in the "API Provider" menu.
- Add API Key: Insert your Mistral API key into the designated "Mistral API Key" input field when utilizing a standard
mistralmodel. Forcodestral-latestusage, refer to the "Configuring Codestral" section below. - Choose Model: Pick your preferred model from the available options in the "Model" menu.
Configuring Codestral
Codestral is a model exclusively engineered for code generation and programming interaction.
With Codestral, you have the option to utilize different endpoints (Default: codestral.mistral.ai).
When employing the La Plateforme API Key for Codestral, modify the Codestral Base Url to: https://api.mistral.ai
To utilize Codestral with Sypha:
- Choose "Mistral" as the API Provider within Sypha Settings.
- Pick a Codestral Model (such as
codestral-latest) from the available options in the "Model" menu. - Input your Codestral API Key (from
codestral.mistral.ai) or your La Plateforme API Key (fromapi.mistral.ai) into the corresponding API key field within Sypha.