Skip to main content

Mistral-7B-Instruct-v0.3

by mistralai

library_name: vllm

1,991,739 downloads3,803 likes
Get API Key

API Usage

Endpoint

POST https://api.gpu.fm/v1/inference

Request

curl -X POST https://api.gpu.fm/v1/inference \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mistralai/Mistral-7B-Instruct-v0.3",
    "inputs": "Explain the theory of relativity in simple terms",
    "parameters": {
      "max_new_tokens": 256
    }
  }'

Response

{
  "result": "Albert Einstein's theory of relativity...",
  "usage": {
    "inputTokens": 12,
    "outputTokens": 128
  },
  "pricing": {
    "total": "0.000018"
  }
}

Python SDK

import requests

response = requests.post(
    "https://api.gpu.fm/v1/inference",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "model": "mistralai/Mistral-7B-Instruct-v0.3",
        "inputs": "Explain the theory of relativity in simple terms",
        "parameters": {"max_new_tokens": 256}
    }
)

result = response.json()
print(result["result"])

Model Documentation

Full documentation available on HuggingFace →

Pricing

Input$0.13/1M tokens
Output$0.39/1M tokens

Billed from your prepaid credits. No minimum commitment.

Details

Model ID
mistralai/Mistral-7B-Instruct-v0.3
Library
vllm
Pipeline
Updated
12/3/2025

Tags

vllmsafetensorsmistralmistral-commonbase_model:mistralai/Mistral-7B-v0.3base_model:finetune:mistralai/Mistral-7B-v0.3license:apache-2.0deploy:sagemakerregion:us