Skip to content

Serverless Inference

Meshive Serverless turns a model into a private, OpenAI-compatible endpoint in a few clicks. You never pick a GPU — set a price cap and a replica range, and the cheapest GPU that fits is assigned (and re-assigned) automatically.

Model (official catalog or your Hugging Face repo)
│ Deploy — price cap + min/max replicas
Serving deployment ──▶ https://<your-deployment>.inference.meshive.ai/v1
│ OpenAI SDK–compatible
Billed per GPU-hour of running replicas
ModalityEndpointsMode
Chat / text/v1/chat/completions, /v1/completionsSync, streaming supported
Embeddings/v1/embeddingsSync
Image/v1/images/generations, /v1/images/editsSync (30s budget) or async
Video/v1/videos, /v1/videos/generationsAlways async

One deployment = one model = one endpoint URL. If it works in the Playground, the same request works through the API.

  • GPU-hour × running replicas. Nothing else — your own deployments carry no per-request or per-token charges. (Only shared models, which you don’t deploy, bill per token.)
  • Every GPU candidate’s hourly price is shown before you confirm a deployment.
  • Your price cap is a hard ceiling per replica-hour — never exceeded.
  • The Serving page shows each deployment’s live $/hr, covering exactly the replicas currently billed (when billing starts).

Everything lives under Serverless in your workspace console:

PageWhat it’s for
ModelsOfficial catalog, registering your own HF models, Playground, API keys
ServingDeploying and operating endpoints — replicas, autoscaling, price cap, metrics
SharedModels other teams host — call them per token with no deployment; or open your own idle capacity and earn
TasksRunning a Python script once, to completion — batch jobs, fine-tuning, preprocessing
RequestsTracking every async request — status, exact failure cause, results
ArtifactsGenerated images & videos — gallery, storage, retention
WebhooksPush notifications when async requests finish
PathCoversNotes
SyncChat, completions, embeddings, images (default)Images have a 30-second budget504 past it
AsyncImages with ?async=true, all videosAccepted instantly with a request id → poll, webhook, or console

Every endpoint authenticates with a workspace API key, created on the Models page → API Keys tab (details). The plaintext is shown once — only a hash is stored.

Authorization: Bearer mk-...