name: Mistral
client_type: openai-completions
icon: mistral-color
base_url: https://api.mistral.ai/v1

models:
  - model_id: devstral-2512
    name: Devstral 2
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 262144

  - model_id: labs-devstral-small-2512
    name: Devstral Small 2
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 262144

  - model_id: mistral-medium-latest
    name: Mistral Medium 3.1
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 131072

  - model_id: magistral-medium-latest
    name: Magistral Medium 1.2
    type: chat
    config:
      compatibilities: [vision, reasoning]
      context_window: 131072

  - model_id: magistral-small-2509
    name: Magistral Small 1.2
    type: chat
    config:
      compatibilities: [vision, reasoning]
      context_window: 131072

  - model_id: open-mistral-nemo
    name: Mistral Nemo
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 131072

  - model_id: mistral-small-latest
    name: Mistral Small 3.2
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 131072

  - model_id: mistral-large-latest
    name: Mistral Large 2.1
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 131072

  - model_id: codestral-latest
    name: Codestral 2508
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 256000

  - model_id: pixtral-large-latest
    name: Pixtral Large
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 131072

  - model_id: pixtral-12b-2409
    name: Pixtral 12B
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 131072

  - model_id: ministral-3b-latest
    name: Ministral 3B
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 131072

  - model_id: ministral-8b-latest
    name: Ministral 8B
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 131072

  - model_id: open-codestral-mamba
    name: Codestral Mamba
    type: chat
    config:
      context_window: 256000
