corehu

OPEN MODELS / Language models (LLM)

Run SmolLM2-135M-ONNX on a cloud GPU

SmolLM2-135M-ONNX is an open model by onnx-community (category: Language models (LLM)). See how much GPU memory it needs, which GPUs it fits on today and what it costs to run it yourself, billed per second.

Parameters
≈ 140M
GPU memory needed
≈ 2 GB
License
—
Downloads
2,026
Updated Sep 29, 2025
Library
Transformers.js

GPUs it fits on today

Our estimate is about 2 GB for inference with BF16 weights, including working memory. Real use depends on resolution, batch size and context length. With 4-bit quantization it needs about 2 GB.

GPUMemoryPer hour10 hoursSpeed (est.)
Quadro P20005 GB$0.07$0.70≈ 292 tok/s · $0.07/1MRent
GTX 10708 GB$0.13$1.30≈ 482 tok/s · $0.07/1MRent
GTX 1660 S6 GB$0.13$1.30≈ 697 tok/s · $0.05/1MRent
GTX 16606 GB$0.14$1.40≈ 395 tok/s · $0.10/1MRent
RTX 206012 GB$0.14$1.40≈ 667 tok/s · $0.06/1MRent

Live starting prices from our catalog. You pay per second while the machine runs. Speed is an estimate for one request at a time from the GPU's memory bandwidth; serving many requests at once raises total throughput and lowers the cost per token.

How to run SmolLM2-135M-ONNX

  1. 01

    Rent a GPU

    Pick one of the GPUs above. Billing is per second; stop the machine and you stop paying.

  2. 02

    Open a terminal or Jupyter

    Connect over SSH or open Jupyter in your browser. PyTorch and CUDA are ready to use.

  3. 03

    Download and run the model

    Run the commands below. The weights download straight from Hugging Face to your machine.

pip install -U vllm
vllm serve onnx-community/SmolLM2-135M-ONNX --host 0.0.0.0 --port 8000

Why run it yourself?

Your own LLM server has no per-token bill and no rate limit, and your data stays private. Pick a GPU by memory and serve the model with vLLM.

Questions

What is SmolLM2-135M-ONNX?
SmolLM2-135M-ONNX is an open model by onnx-community (category: Language models (LLM)). Quantized version of HuggingFaceTB/SmolLM2-135M
How much GPU memory does SmolLM2-135M-ONNX need?
By our estimate about 2 GB for inference (140M parameters). Higher resolution, longer context or bigger batches need more.
How much does it cost to run SmolLM2-135M-ONNX?
From $0.07 per hour on Quadro P2000, billed per second. Ten hours cost about $0.70.
How fast does SmolLM2-135M-ONNX run?
About 292 tokens per second for one request on Quadro P2000, which works out to about $0.07 per million generated tokens at today's price. Serving many requests at once raises total throughput and lowers the cost per token.
Do I need a subscription?
No. You pay only for the time your machine runs, from your USD balance. Stop it whenever you are done.

Try it on your own GPU in minutes

Pick a GPU, open Jupyter or SSH and run any open model. You pay per second and can stop anytime; no subscription, no setup fee.

  • Per-second billing in USD
  • PyTorch and CUDA ready in minutes
  • Rent from ChatGPT or Claude too

Model family

Quantized version of HuggingFaceTB/SmolLM2-135M

Similar Language models (LLM) models

More from onnx-community