DistilBERT SST-2 INT8
DistilBERT SST-2 INT8 is a text classification model by Hugging Face (DistilBERT, 66M (INT8 quantized)). INT8-quantized DistilBERT sequence classifier fine-tuned on the Stanford Sentiment Treebank (SST-2) for fast binary POSITIVE and NEGATIVE sentiment scoring.
Selected Model
DistilBERT SST-2 INT8
distilbert-sst-2-int8
Connect Your API Key for the Selected Provider to Run Live
Cloudflare Workers AI
Transport: Stateless proxy · Key setup guide
API Call Cost Estimator
Published RatePre-Run Char EstimateInput (25 tok)
$0.000001
$0.026 / 1M
Approx. Call Cost
$0.000001
Est. ~4 chars/tok
Total Tokens
25
Estimated count
About DistilBERT SST-2 INT8
Model specifications sourced from the official model card, separated cleanly from provider-specific availability and pricing.
| Attribute | Verified Value |
|---|---|
| Model Name | DistilBERT SST-2 INT8 |
| Canonical ID | distilbert-sst-2-int8 |
| Maker | Hugging Face |
| Family | DistilBERT |
| Task | Text Classification |
| Parameters | 66M (INT8 quantized) |
| Architecture | Distilled BERT Encoder |
| Context Window | 512 tokens |
| Capabilities | Text Classification |
| License | Apache 2.0 |
| Release | 2020 |
Where to Run DistilBERT SST-2 INT8
Only providers whose official model lists confirm this model are listed below, each with verified per-million token pricing, account requirements, key status, and a direct launch action.
@cf/huggingface/distilbert-sst-2-int8$0.026 per 1M input tokensIncluded in Cloudflare Workers AI 10,000 free daily Neurons (resets 00:00 UTC).
Measured Results
Dated outputs, latency, and token metrics produced by scripts/run-benchmarks.ts with the provider used and measurement date.
No Measured Benchmark Results Yet for DistilBERT SST-2 INT8
Benchmark measurements are never fabricated. Run scripts/run-benchmarks.ts with a supported provider API key and commit data/results/{model-id}.json to publish dated outputs, latency, and token metrics.
API Code Snippets
Copy ready-to-run curl, JavaScript, and Python code snippets for any confirmed provider offering this model.
curl -X POST "https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run/@cf/huggingface/distilbert-sst-2-int8" \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"text": "Explain the core capabilities and ideal use cases of DistilBERT SST-2 INT8 in two crisp sentences."
}'Model Comparisons
Explore enabled comparison pages or launch an interactive side-by-side test in the Compare tool.
No Pre-Built Comparison Pages Enabled for DistilBERT SST-2 INT8
Launch the interactive Compare tool to test this model side by side against any other model or provider right now.
Frequently Asked Questions
What Is DistilBERT SST-2 INT8 Best Suited For?
DistilBERT SST-2 INT8 is designed for text classification workloads by Hugging Face. INT8-quantized DistilBERT sequence classifier fine-tuned on the Stanford Sentiment Treebank (SST-2) for fast binary POSITIVE and NEGATIVE sentiment scoring.
How Can I Run DistilBERT SST-2 INT8 Live in the Browser?
Select one of the 1 confirmed provider listed in the Where to Run section, add your browser-stored API key for that provider, and run prompts directly in the live playground above.
Related Models and Tools
Text Classification Tool
Open the dedicated text classification tool.
Compare Side by Side
Benchmark DistilBERT SST-2 INT8 against other models with your own prompt.
AI Model Cost Calculator
Forecast daily and monthly token spend for DistilBERT SST-2 INT8.
AI Models Finder
Return to the searchable directory of 33 AI models.