Inference

Upload an ONNX model and GridPup serves it on a GPU at an https address. You get a key, the model's inputs in plain words, and calls that work as they are in Python, curl and JavaScript. Language models (Llama, Phi, Qwen, Mistral and others exported for onnxruntime-genai) answer with OpenAI's chat API, so OpenAI's libraries work by changing the address. You pay for the machine by the hour while the endpoint runs, from your GridPup balance; stop it when you do not need it.

Loading…

How it works

  1. Check. GridPup reads the model, works out what each input is (token IDs, an image, a mask) and runs a sample on CPU. A model that cannot be served is refused with the reason.
  2. Start. GridPup rents the cheapest machine that fits the model (Auto), or one with the GPU you chose, always with enough GPU memory, memory and disk, and installs onnxruntime with CUDA.
  3. Ready. Once the endpoint answers a sample correctly through its address, it is Ready. Call POST /v1/infer (NumPy .npz) or /v1/infer.json with your key; a language model: POST /v1/chat/completions, streaming or not.
  4. Stop. Stop terminates the machine; the model, keys and examples stay for the next Start.

A .onnx file up to 2 GB (vision, embeddings, classifiers, detectors: one answer per call), or a language model's folder up to 30 GB, uploaded as it is.