text classificationGated
Prompt-Guard-86M
by meta-llama
A powerful AI model available via API.
653,895 downloads437 likes
Get API KeyAPI Usage
Endpoint
POST https://api.gpu.fm/v1/inferenceRequest
curl -X POST https://api.gpu.fm/v1/inference \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "meta-llama/Prompt-Guard-86M",
"inputs": "Your input here",
"parameters": {
"max_new_tokens": 256
}
}'Response
{
"result": "Model output",
"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": "meta-llama/Prompt-Guard-86M",
"inputs": "Your input here",
"parameters": {"max_new_tokens": 256}
}
)
result = response.json()
print(result["result"])Pricing
Per Request$0.00015
Billed from your prepaid credits. No minimum commitment.
Details
- Model ID
- meta-llama/Prompt-Guard-86M
- Library
- transformers
- Pipeline
- text classification
- Updated
- 11/12/2025
Tags
transformerssafetensorsdeberta-v2text-classificationfacebookmetapytorchllamallama-3en