Create an inference deployment
Create and start an inference deployment for a model, and return its endpoint.
Authorizations
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Headers
Optional external end-user identifier forwarded by the API gateway.
Body
Spin up an inference server.
"llama-3-8b-chat"
"meta-llama/Llama-3.1-8B-Instruct"
A hardware accelerator request — GPU, NPU, TPU, or similar.
Request an accelerator by type and count, with optional fallback types.
Inference engine that backs a deployment.
vllm, sglang Autoscaling configuration for a deployment.
Name/ID of a built image; defaults to the engine's stock image
Volume mounted for cached weights
["hf-token"]
Extra flags passed to the engine launch command
["--max-model-len", "8192"]
Require an endpoint key (separate from the model's own API key)
How a config change or rollback is rolled out.
rolling, recreate Response
Successful Response
A deployed inference server.
provisioning, ready, scaling, updating, error, stopped Inference engine that backs a deployment.
vllm, sglang A hardware accelerator request — GPU, NPU, TPU, or similar.
Request an accelerator by type and count, with optional fallback types.
Autoscaling configuration for a deployment.
Current config revision
Public endpoint once ready