> ## Documentation Index
> Fetch the complete documentation index at: https://docs.simplismart.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy Your First Model

> Step-by-step guide to deploying an AI model on Simplismart

This guide walks you through deploying your first AI model on Simplismart. We'll use Gemma 4 31B Instruct as an example, which is a latest open-weight large language model from Google.

## Prerequisites

* A Simplismart account ([Sign up here](/signup) if you haven't already)
* A Simplismart API key ([Generate one here](/model-suite/settings/api-keys) if needed)

## Deployment Process

<Steps>
  <Step title="Select a Model">
    1. Navigate to the **[Marketplace](https://app.simplismart.ai/model-marketplace)** section in the left sidebar

    2. Search for `Gemma 4 31B` in the search bar

    3. Click on the **[Gemma 4 31B Instruct](https://app.simplismart.ai/model-marketplace/2efc00b2-4a9a-49a9-ba94-d852e0e7637c)** model card to view its details

           <img src="https://mintcdn.com/simplismart-3f10d72e/PFD4pd35bs-vm7NW/images/get-started/deploy/1-maketplace.png?fit=max&auto=format&n=PFD4pd35bs-vm7NW&q=85&s=c26f0fa5025fcd9b9771a418c5475b52" alt="Model Marketplace search results" width="3024" height="1719" data-path="images/get-started/deploy/1-maketplace.png" />

    4. On the model detail page, click **Deploy Model** to begin the deployment process

           <img src="https://mintcdn.com/simplismart-3f10d72e/PFD4pd35bs-vm7NW/images/get-started/deploy/2-model-card.png?fit=max&auto=format&n=PFD4pd35bs-vm7NW&q=85&s=264ec84fa6b9c1fce81bb0a5c47aacf2" alt="Gemma 4 31B Instruct model card" width="3024" height="1722" data-path="images/get-started/deploy/2-model-card.png" />
  </Step>

  <Step title="Configure Deployment Settings">
    In the **[Create Deployment](https://app.simplismart.ai/deployments/create)** screen, fill in the following:

    ### Deployment Details

    * **Deployment Name**: A unique name (e.g. `gemma-4-31b`)
    * **Permalink Identifier**: A custom identifier used to create your model endpoint URL. This value will be added as a prefix to your endpoint URL.
    * **Model**: Confirm "Gemma 4 31B Instruct" is selected
    * **Cloud**: Select **Simplismart Cloud** for managed hosting. Choose **Bring Your Own Cloud** to deploy on your own [cluster](/model-suite/integrations/cloud-account).
    * **Accelerator Type**: Select **H100** (or another available GPU based on your quota)

    ### Scaling Parameters

    Set **Minimum Pods** to `1` and **Maximum Pods** to `1`. The GPU scaling capacity is shown below the inputs so you can verify resource availability before deploying.

    <Tip>
      For production workloads, see [Scaling Parameters](/model-suite/deployments/creating-a-deployment#scaling-parameters) and [Autoscaling Policy](/model-suite/deployments/creating-a-deployment#autoscaling-policy) for stabilization windows and rate-limited scaling.
    </Tip>

    <img src="https://mintcdn.com/simplismart-3f10d72e/PFD4pd35bs-vm7NW/images/get-started/deploy/3-create-deployment.png?fit=max&auto=format&n=PFD4pd35bs-vm7NW&q=85&s=9c75cf7f0b415e3b5ee4b3e6f733093e" alt="Create Deployment form" width="3024" height="1721" data-path="images/get-started/deploy/3-create-deployment.png" />
  </Step>

  <Step title="Add Tags">
    Tags help filter and organize deployments. Add at least one:

    * Key: `env`
    * Value: `quickstart`
  </Step>

  <Step title="Confirm and Deploy">
    Click **Add Deployment** in the top-right corner. A **Deploy Model Confirmation** modal appears summarising your configuration:

    Review the details, then click **Confirm** to start the deployment.

    <img src="https://mintcdn.com/simplismart-3f10d72e/PFD4pd35bs-vm7NW/images/get-started/deploy/4-deploy-model-confirm.png?fit=max&auto=format&n=PFD4pd35bs-vm7NW&q=85&s=7b58d65b7d6be6c57930caafda1f5ffa" alt="Deploy Model Confirmation modal" width="1590" height="1050" data-path="images/get-started/deploy/4-deploy-model-confirm.png" />
  </Step>

  <Step title="Monitor Deployment Progress">
    After confirming, you are taken to the deployment detail page. The **Health Check** panel on the right shows **Progressing** while pods come up and the model loads. Once the model is ready, the status changes to **Healthy**.

    The **Details** tab shows the Deployment ID, processing type (SYNC), model endpoint, and scaling configuration. Use the **Logs** and **Events** tabs to follow startup activity.

    <img src="https://mintcdn.com/simplismart-3f10d72e/PFD4pd35bs-vm7NW/images/get-started/deploy/5-deployment-progressing.png?fit=max&auto=format&n=PFD4pd35bs-vm7NW&q=85&s=88b72bb99714b148defa7c747d148034" alt="Deployment progressing" width="3024" height="1722" data-path="images/get-started/deploy/5-deployment-progressing.png" />

    <Info>
      For the full deployment state machine and monitoring guidance, see [Monitoring and Access](/model-suite/deployments/creating-a-deployment#monitoring-and-access).
    </Info>
  </Step>

  <Step title="Test Your Deployment">
    Once the deployment status shows **Healthy**, open the **API** tab in the deployment detail page to test it:

    1. The **cURL** snippet is pre-filled with your endpoint URL.
    2. Set the `Authorization` header to `Bearer <your API key>`.
    3. Copy and run the snippet.

           <img src="https://mintcdn.com/simplismart-3f10d72e/PFD4pd35bs-vm7NW/images/get-started/deploy/7-api-detail-curl-request.png?fit=max&auto=format&n=PFD4pd35bs-vm7NW&q=85&s=9d6b85004a625fcc9ca8a861defb69e5" alt="API tab with cURL snippet" width="3024" height="1723" data-path="images/get-started/deploy/7-api-detail-curl-request.png" />

    ```bash theme={null}
    curl -X POST 'YOUR-ENDPOINT-HERE/chat/completions' \
    --header 'Authorization: Bearer YOUR_API_KEY' \
    --header 'Content-Type: application/json' \
    --data '{
        "model": "gemma4",
        "messages": [
            {
                "role": "user",
                "content": "What is 2+2?"
            }
        ],
        "max_tokens": 1024,
        "stream": false
    }'
    ```

    <Warning>
      Replace `YOUR-ENDPOINT-HERE` and `YOUR_API_KEY` with your actual values before running the command.
    </Warning>
  </Step>

  <Step title="Clean Up Resources">
    To free up GPU resources and avoid unnecessary charges, delete the deployment when you are done.

    1. Open the **Deployments** tab.
    2. Select your deployment.
    3. Click the kebab menu (`⋮`) in the top-right of the deployment card and select **Delete**. See [Managing Your Deployment](/model-suite/deployments/creating-a-deployment#managing-your-deployment) for the full action set (Pause, Edit, Clone, Delete).
  </Step>
</Steps>

## Understanding Your Deployment

Your deployed model exposes an OpenAI-compatible endpoint, so you can use it with any client library that supports the OpenAI API format. The endpoint supports:

* Text inputs and completions
* Streaming and non-streaming responses
* Standard OpenAI API parameters like `temperature` and `max_tokens`

## Monitoring and Management

After deployment, you can:

<CardGroup cols="2">
  <Card title="Monitor Performance" icon="chart-line">
    Track usage deployment health, request metrics, latency metrics, LLM metrics, and Pod resouce details in the **Monitor** tab
  </Card>

  <Card title="Adjust Resources" icon="sliders">
    Scale your deployment up or down based on actual usage patterns
  </Card>

  <Card title="View Logs" icon="file-lines">
    Access detailed logs and events to troubleshoot any issues
  </Card>

  <Card title="Manage API Keys" icon="key" href="../model-suite/settings/api-keys">
    Create and revoke API keys for secure access
  </Card>
</CardGroup>

## Next Steps

Now that you've successfully deployed your first model, consider these next steps:

<CardGroup cols="2">
  <Card title="Optimize Performance" icon="bolt" href="/guides/optimization-guide">
    Learn techniques to improve latency, throughput, and cost-efficiency using Simplismart Copilot.
  </Card>
</CardGroup>
