Skip to main content
NVIDIA
Explore
Models
Skills
Blueprints
GPUs
Docs
Help Center
Getting Started
  1. Create and verify your account to unlock full access to NVIDIA NIM APIs.
ResourcesDeveloper ForumsContact Support
FAQs
  • Terms of Use
    Privacy Policy
    Your Privacy Choices
    Contact

    Copyright © 2026 NVIDIA Corporation

    mistralai/mistral-medium-3.5-128b

    API Reference

    Deploy

    Ready to scale? Choose your deployment path.
    Deploying your application in production? Get started with a 90-day evaluation of NVIDIA AI Enterprise

    Follow the steps below to download and run the NVIDIA NIM inference microservice for this model on your infrastructure of choice.

    Step 1
    Generate API Key

    Step 2
    Pull and Run the NIM

    $ docker login nvcr.io
    Username: $oauthtoken
    Password: <PASTE_API_KEY_HERE>
    

    Pull and run the NVIDIA NIM with the command below. This will download the optimized model for your infrastructure.

    export NGC_API_KEY=<PASTE_API_KEY_HERE>
    export LOCAL_NIM_CACHE=~/.cache/nim
    mkdir -p "$LOCAL_NIM_CACHE"
    chmod -R a+w "$LOCAL_NIM_CACHE"
    docker run -it --rm \
        --gpus all \
        --ipc host \
        --shm-size=32GB \
        -e NGC_API_KEY \
        -v "$LOCAL_NIM_CACHE:/opt/nim/.cache" \
        -p 8000:8000 \
        nvcr.io/nim/mistralai/mistral-medium-3.5-128b:latest
    

    Step 3
    Test the NIM

    You can now make a local API call using this curl command:

    curl -X 'POST' \
    'http://0.0.0.0:8000/v1/chat/completions' \
        -H 'Accept: application/json' \
        -H 'Content-Type: application/json' \
        -d '{
            "model": "mistralai/mistral-medium-3.5-128b",
            "messages": [
                {
                    "role": "user",
                    "content": [
                        {
                            "type": "text",
                            "text": "What is in this image?"
                        },
                        {
                            "type": "image_url",
                            "image_url":
                                {
                                    "url": "https://assets.ngc.nvidia.com/products/api-catalog/phi-3-5-vision/example1b.jpg"
                                }
                        }
                    ]
                }
            ],
            "max_tokens": 1024
        }'
    

    For more details on getting started with this NIM, visit the NVIDIA NIM Docs.

    Specifications

    A high performing model for text generation, coding and agentic use cases

    • agentic
    • coding
    • reasoning
    • text
    Provider
    Mistral AI
    Last Modified
    3 months ago
    Context Length
    262K
    Parameters
    128B
    Input Modalities
    Text, Image
    Output Modalities
    Text

    Model Availability

    Free Endpoint
    Deprecated
    Partner Endpoint
    Not available
    Download Available
    Available
    API calls in last 30 days
    5M