Dedicated Deployments (api.cyan.kiwi/serverless)

A Dedicated Deployment is a model the cyankiwi agent deploys for the user from the workspace, served as a private, OpenAI-compatible endpoint. The first request with curl or the OpenAI SDKs is covered in the API Usage guide.

Base URL:  https://api.cyan.kiwi/serverless

Private to one account. Each deployment runs on its own workers, which serve that deployment only. They are not shared with other customers. Only requests made with the account’s own API key reach the deployment: another account sending the same model name gets the same model_not_found as a typo, so it cannot even tell the deployment exists.

Zero data retention. A deployment’s workers do not log prompts or completions, and cyankiwi does not store them; they are never used for training. Only usage metadata for each request (timing and status) is kept, for billing. See the Privacy Policy for details.


Model eligibility

Choose a public, ungated Hugging Face model licensed for commercial use, with standard safetensors weights, a complete config and a chat template. Remote custom code is not supported; the model must use a supported architecture and quantization. Architecture membership alone does not guarantee deployment: file validation, memory fit and capacity checks still apply.

Checkpoint size

The checkpoint must be 72 GB or smaller (weights are measured in decimal GB). This is a checkpoint weights limit, not a request size or total GPU memory budget. Choose a smaller or supported quantized variant if necessary. Large-checkpoint architectures are unsupported even when smaller checkpoints of those architectures exist.

Supported architectures

These 95 architecture classes are supported. Match the model config’s architectures and root model_type, not its marketing name. Wrapper architectures may also require a supported inner text config.

All deployments support text. Image input is available only when enabled by the model config; inclusion in the image-capable group is not a guarantee for every checkpoint. Native audio/video capabilities of an engine architecture do not enable audio/video inputs on cyankiwi.

For questions about an unsupported model, email human@cyan.kiwi.

Text architectures

Architecture class Root model_type(s) Deployment inputs
AfmoeForCausalLM afmoe Text
ApertusForCausalLM apertus Text
Cohere2ForCausalLM cohere2 Text
CohereForCausalLM cohere Text
Ernie4_5ForCausalLM ernie4_5 Text
Ernie4_5_MoeForCausalLM ernie4_5_moe Text
Exaone4ForCausalLM exaone4 Text
FalconH1ForCausalLM falcon_h1 Text
Gemma2ForCausalLM gemma2 Text
Gemma3ForCausalLM gemma3_text Text
Gemma3nForCausalLM gemma3n_text Text
Gemma4ForCausalLM gemma4_text Text
GemmaForCausalLM gemma Text
Glm4ForCausalLM glm4 Text
Glm4MoeForCausalLM glm4_moe Text
Glm4MoeLiteForCausalLM glm4_moe_lite Text
GptOssForCausalLM gpt_oss Text
GraniteForCausalLM granite Text
GraniteMoeForCausalLM granitemoe Text
GraniteMoeHybridForCausalLM granitemoehybrid Text
GraniteMoeSharedForCausalLM granitemoeshared Text
HYV3ForCausalLM hy_v3 Text
JambaForCausalLM jamba Text
LagunaForCausalLM laguna Text
Lfm2ForCausalLM lfm2 Text
Lfm2MoeForCausalLM lfm2_moe Text
LlamaForCausalLM code_llama, llama Text
MellumForCausalLM mellum Text
Ministral3ForCausalLM ministral3 Text
MistralForCausalLM mistral, transformer Text
MistralLarge3ForCausalLM deepseek_v3 Text
MixtralForCausalLM mixtral, transformer Text
NemotronForCausalLM nemotron Text
NemotronHForCausalLM nemotron_h Text
NemotronHPuzzleForCausalLM nemotron_h Text
OPTForCausalLM opt Text
Olmo3ForCausalLM olmo3 Text
OlmoHybridForCausalLM olmo_hybrid Text
OlmoeForCausalLM olmoe Text
Phi3ForCausalLM phi3 Text
PhiMoEForCausalLM phimoe Text
Qwen2ForCausalLM qwen2 Text
Qwen2MoeForCausalLM qwen2_moe Text
Qwen3ForCausalLM qwen3 Text
Qwen3MoeForCausalLM qwen3_moe Text
Qwen3NextForCausalLM qwen3_next Text
Qwen3_5ForCausalLM qwen3_5, qwen3_5_text Text
Qwen3_5MoeForCausalLM qwen3_5_moe, qwen3_5_moe_text Text
Rnj1ForCausalLM gemma3_text Text
SeedOssForCausalLM seed_oss Text
StableLmForCausalLM stablelm Text
Zamba2ForCausalLM zamba2 Text

Image-capable architectures

Architecture class Root model_type(s) Deployment inputs
AriaForConditionalGeneration aria Text; image when enabled by the model config
Cohere2VisionForConditionalGeneration cohere2_vision Text; image when enabled by the model config
CohereCompassForConditionalGeneration cohere_compass Text; image when enabled by the model config
Cosmos3EdgeForConditionalGeneration cosmos3_edge Text; image when enabled by the model config
Cosmos3ForConditionalGeneration cosmos3_omni Text; image when enabled by the model config
Ernie4_5_VLMoeForConditionalGeneration ernie4_5_vl_moe Text; image when enabled by the model config
Exaone4_5_ForConditionalGeneration exaone4_5 Text; image when enabled by the model config
Gemma3ForConditionalGeneration gemma3, shieldgemma2 Text; image when enabled by the model config
Gemma3nForConditionalGeneration gemma3n Text; image when enabled by the model config
Gemma4ForConditionalGeneration gemma4 Text; image when enabled by the model config
Glm4vForConditionalGeneration glm4v Text; image when enabled by the model config
Glm4vMoeForConditionalGeneration glm4v_moe Text; image when enabled by the model config
GlmOcrForConditionalGeneration glm_ocr Text; image when enabled by the model config
Granite4VisionForConditionalGeneration granite4_vision Text; image when enabled by the model config
Idefics3ForConditionalGeneration idefics3 Text; image when enabled by the model config
InternVLForConditionalGeneration internvl Text; image when enabled by the model config
Lfm2VlForConditionalGeneration lfm2_vl Text; image when enabled by the model config
LightOnOCRForConditionalGeneration lighton_ocr Text; image when enabled by the model config
Llama4ForConditionalGeneration llama4 Text; image when enabled by the model config
LlavaForConditionalGeneration llava Text; image when enabled by the model config
LlavaNextForConditionalGeneration llava_next Text; image when enabled by the model config
MiniCPMV4_6ForConditionalGeneration minicpmv4_6 Text; image when enabled by the model config
MiniCPMV4_7ForConditionalGeneration minicpmv4_7 Text; image when enabled by the model config
Mistral3ForConditionalGeneration mistral3 Text; image when enabled by the model config
MuseGlimmerForCausalLM muse_glimmer, muse_glimmer_text Text; image when enabled by the model config
MuseGlimmerForConditionalGeneration muse_glimmer, muse_glimmer_text Text; image when enabled by the model config
PaddleOCRVLForConditionalGeneration paddleocr_vl Text; image when enabled by the model config
PixtralForConditionalGeneration pixtral Text; image when enabled by the model config
Qwen2VLForConditionalGeneration qwen2_vl Text; image when enabled by the model config
Qwen2_5OmniForConditionalGeneration qwen2_5_omni Text; image when enabled by the model config
Qwen2_5OmniModel qwen2_5_omni Text; image when enabled by the model config
Qwen2_5_VLForConditionalGeneration qwen2_5_vl Text; image when enabled by the model config
Qwen3OmniMoeForConditionalGeneration qwen3_omni_moe Text; image when enabled by the model config
Qwen3VLForConditionalGeneration qwen3_vl Text; image when enabled by the model config
Qwen3VLMoeForConditionalGeneration qwen3_vl_moe Text; image when enabled by the model config
Qwen3_5ForConditionalGeneration qwen3_5 Text; image when enabled by the model config
Qwen3_5MoeForConditionalGeneration qwen3_5_moe Text; image when enabled by the model config
SmolVLMForConditionalGeneration smolvlm Text; image when enabled by the model config

Other native modalities (text only here)

Architecture class Root model_type(s) Deployment inputs
AudioFlamingo3ForConditionalGeneration audioflamingo3 Text
FunAudioChatForConditionalGeneration funaudiochat Text
GlmAsrForConditionalGeneration glmasr Text
GraniteSpeechForConditionalGeneration granite_speech Text
VoxtralForConditionalGeneration voxtral Text

Routes

Only these two routes exist: POST /serverless/chat/completions and GET /serverless/models. Text completions and embeddings are not served on deployments. Any OpenAI SDK or tool works with these two routes.

GET /serverless/models lists the account’s deployments that are Active (serving), exactly the ones that accept requests. Each id is the value to pass as model, the name shown on the Deployment tab. The extra state field is the deployment’s current state; it does not guarantee that a worker is already running. A new deployment does not accept requests until it is ready (Active on the Deployment tab): until then it is not listed, and every request answers 404 model_not_found at once, is not sent to the deployment and is not recorded or billed. Once Active, a deployment at zero workers starts a worker on its next request, so that request waits for the model to load or answers 503 cold_start with Retry-After.

A response has a time limit, shorter for a stream than for a non-streamed response, and the time a cold deployment spends starting counts toward it. There is also an overall limit on one request. For longer outputs, lower max_tokens or split the request.

If the client disconnects, the request still runs to its end on the worker and that time is billed.

Deployment settings

The agent plans each deployment and quotes its card, its rate per running worker per hour and its settings before anything starts. Settings come in two groups, and every input is optional:

Setting Meaning
execution.workers_min Fewest workers kept running. Only 0 (scale to zero) is accepted today.
execution.workers_max Most workers at once: 1 only, default 1.
execution.idle_timeout_s How long a worker stays warm after the last request.
execution.start_timeout_s Initial start deadline, which is final: the longest a start can take, made of up to 615 seconds waiting for a GPU and then a startup limit counted from when the start-up request is sent (read-only).
parameters.max_model_len Context length served; at most parameters.model_max_len.
parameters.model_max_len The model’s own context limit (read-only).
parameters.max_num_seqs Sequences each worker serves at once.
parameters.max_num_batched_tokens Optional batching override.
parameters.kv_cache_dtype Optional; fp8 halves the context cache memory and may cost a little accuracy.

A revised plan replaces all of its settings. A refused setting is reported as invalid_spec with the setting’s dotted name, for example parameters.max_num_seqs.

Concurrency and bursts

The configured per-deployment concurrency ceiling is execution.workers_max times parameters.max_num_seqs (maximum workers times sequences per worker; workers = 1 today), not a guarantee that all those requests can start or finish at once. Requests should stay under the ceiling and, after a 429, retry after the pause in the Retry-After header; on a cold deployment the first requests wait for workers to start. If streams are interrupted under load, sending fewer requests at once helps.

Request limits

A refused request never reaches the deployment and never starts a worker. When a parameter is refused, the param field of the error names it. The error message is only the code, so this table gives each limit and its fix.

Limit code (status 400 unless noted) Fix
Request body at most 2 MiB request_too_large (413) Send a smaller body: shorten the prompt or split the request
logprobs, top_logprobs, prompt_logprobs are not accepted logprobs_not_supported Remove the field named in param
chat_template, or chat_template / tokenize inside chat_template_kwargs, are not accepted template_override_not_permitted Remove the field; the deployment applies the model’s own chat template
chat_template_kwargs and structured_outputs must be objects invalid_parameter Send the field named in param as a JSON object
Engine-specific control fields (guided_json, guided_regex, guided_grammar, guided_choice, structural_tag, prompt_embeds, prompt_token_ids, structured_outputs.backend and similar) are not accepted unsupported_parameter Remove the field named in param
n and best_of must be positive integers, at most 8 invalid_parameter, too_many_completions Send a whole number from 1 to 8
max_tokens / max_completion_tokens, when set, must be positive integers, no larger than the deployment’s context length invalid_parameter, output_limit_exceeds_context Send a positive whole number no larger than the context length; the agent can tell the deployment’s context length
An output limit sent to a deployment with no recorded context length output_limit_unverifiable Omit the output limit, or deploy the model again
The prompt (estimated at about 4 bytes of message text per token) plus max_tokens is above the deployment’s context length context_length_exceeded (param is messages) Shorten the prompt or lower max_tokens

Cold starts and billing

A deployment scales to zero workers when it is idle. The first request after a quiet period starts a worker, so it can take noticeably longer, or answer 503 with Retry-After while the worker starts. Clients should honor Retry-After and retry.

A deployment is billed only while at least one worker is running. That covers a running worker loading the model and a running worker staying warm for the idle timeout (execution.idle_timeout_s) after the last request. Nothing is billed for planning, at zero workers, while waiting for GPU capacity, or for workers that are initializing, idle, unhealthy, waiting for capacity, not started or exited. The agent states the idle timeout when it plans the deployment, and a different value within the range it gives can be requested then.

A deployment keeps serving until the user asks the agent to stop it, or until it has gone a day without requests, when it is stopped automatically. Spend is shown on the Account tab.

Errors

Errors use the standard OpenAI envelope ({"error": {"message", "type", "param", "code"}}), so SDK exception handling works unchanged. The message is always exactly the code, for example {"error": {"message": "model_not_found", "type": "invalid_request_error", "param": null, "code": "model_not_found"}}. It names no model, number, limit or next step, so handle errors by code; this table and the request limits above explain each one. The status, type, param and the Retry-After and x-should-retry headers keep their meaning.

code Status Cause Fix
invalid_api_key 401 The API key is missing, malformed, unknown, revoked or suspended Send a current key from the Account tab as a bearer token
model_required 400 No model in the request, or the body is not a JSON object Send a JSON object whose model is an id from GET /serverless/models
model_not_found 404 No deployment of this account with that model name is Active (none exists, or it is planned, starting, stopping, failing, stopped or failed); the request was not sent, recorded or billed Check the name and the Deployment tab; wait until a starting deployment shows Active, and deploy a stopped or failed one again in chat
insufficient_credits 429, with no Retry-After and x-should-retry: false The credit balance ran out Top up on the Account tab; a deployment stopped for low credit must be deployed again after topping up
cold_start 503, with Retry-After An Active deployment’s worker was starting; start-up time counts toward the time limit Retry after the Retry-After delay, when the worker should be warm
gpu_unavailable 503, with Retry-After No GPU of the deployment’s class was free to start a worker Retry in a few minutes; if it keeps happening, the agent can stop the deployment and plan it again
deployment_busy 503, with Retry-After A stream could not start within the streaming time limit: the workers were busy or still starting Retry shortly, or send fewer requests at once
deployment_at_capacity 429, with Retry-After, or an in-stream error event The deployment is at capacity Send fewer requests at once and retry after the Retry-After delay (follow its value)
response_time_limit 504 (before any output) or an in-stream error event A non-streamed request ran past the non-stream time limit, a stream reached the streaming time limit, or a request ran past the overall time limit; start-up time counts toward each Use stream: true for long answers, lower max_tokens, or split the request; retry once the deployment is warm
stream_interrupted in-stream error event A stream was interrupted before it finished Retry; if many requests are running at once, send fewer at a time; if it repeats, the agent can check the deployment
context_length_exceeded 400, or the deployment’s own status The prompt (estimated) plus max_tokens is above the deployment’s context length Shorten the prompt or lower max_tokens; the agent can tell the deployment’s context length
invalid_parameter 400, or the deployment’s own 4xx status A parameter has a wrong type or value Fix the parameter named in param (see the request limits)
request_rejected the deployment’s own 4xx status The deployment rejected the request Check the request parameters, then retry
empty_response 502 The deployment returned no output Retry; if it repeats, the agent can inspect the deployment
model_error 502 with Retry-After: 1, the deployment’s own other 5xx status, or an in-stream error event The deployment request failed, or its response could not be read Retry shortly; if it repeats, the agent can check the deployment status
service_unavailable 503, with Retry-After Authentication, the deployment list or the deployment was temporarily unreachable Retry after the Retry-After delay
user_worker_offline 503, with Retry-After The deployment runs on a user worker (the user’s own GPU computer), and that user worker is not connected right now; the request was not sent Check that the user worker is on and its cyankiwi service is running, then retry after the Retry-After delay

A streamed response that ends early finishes with an error event instead of [DONE], for example data: {"error": {"message": "response_time_limit", "type": "api_error", "param": null, "code": "response_time_limit"}}. The context-length check on the prompt is an estimate; the deployment makes the exact check.

model_not_found: Requests go only to this account’s deployment of that model that is Active. A deployment that is planned, still starting, stopping, failing, stopped or failed is not used, and an earlier, removed deployment of the same model never answers: the request was not sent, recorded or billed. A deployment that is Active but at zero workers never answers this: its requests start a worker.

gpu_unavailable: The deployment reported no available worker capacity. If a deployment fails to start because no GPU became available within 615 seconds (status capacity_timeout), no start-up request was sent and it can be planned again later.

For model_error or empty_response, checking the prompt plus max_tokens against the context length is one possible diagnostic, not a confirmed cause.

A 429 with code insufficient_credits means the balance ran out: a top-up on the Account tab resumes serving only while the deployment is still running. A deployment stopped for low credit must be deployed again after topping up; retrying alone will not help. It is told apart from deployment_at_capacity (also 429) by the code.

Deployment states, statuses, errors and fixes

Every deployment has a state and one status that refines it. The agent reports both and can explain each one. Any fix that plans or starts a deployment needs the user’s agreement to a fresh quote first. “Billed” follows the billing rule above: “no” means nothing ran, “while running” means billed only while a worker was running, and “final” means the deployment has ended and its total is final. While a deployment is Starting (provisioning or starting), its requests answer 404 model_not_found.

Tab label state / status What happened Billed Fix
Planned planned / planned A plan exists; nothing was created no Agree to the plan and start it
Planned planned / create_rejected, capacity_timeout The last start of this plan failed safely no See failures below
Starting provisioning / creating Being created, no workers yet no Check again later; if it stays here, cancel it or contact support
Starting, waiting for capacity starting / waiting_capacity Waiting for a GPU, up to 615 seconds after creation; no start-up request has been sent yet no Wait; with no GPU by then it ends as capacity_timeout
Starting starting / initializing Start in progress, possibly before any worker exists while running Wait for the initial execution.start_timeout_s deadline, which is final
Starting starting / warming_up A test request was sent; the model usually loads now while running Wait
Active serving / active Ready, a worker is running while running None
Active serving / initializing Ready, a worker is cold-starting; requests may get 503 cold_start while running Retry after Retry-After
Active serving / idle Ready, no worker is running (zero workers or a warm idle worker); the next request may start cold no None; stops itself at stops_at after a day without requests
Stopping stopping / stopping Removal in progress while running Check again later
Stopped stopped / cancelled Stopped on request final A new plan to deploy again
Stopped stopped / idle_stopped Stopped after a day without requests final A new plan to deploy again
Stopped stopped / credit_depleted Credits ran out. final Add credits, then plan a new deployment.
Stopped stopped / removed_externally Removed unexpectedly; billing stopped when this was noticed final Contact support, then a new plan
Stopped stopped / plan_expired The plan was not started within 24 hours; nothing ran no A new plan to deploy again
Failed, stopping failing / a failure status Failed, removal in progress while running Check again later
Failed failed / a failure status Failed and ended final See failures below; only a new plan

Failures. A planned deployment whose last start failed safely ran nothing and keeps its plan: the same plan can be started again once the user confirms the failure, and revising the plan clears it.

status What happened Billed Fix
create_rejected Creation was refused planned: no; failed: final Planned: retry the same plan once; if it repeats, or when failed, contact support
capacity_timeout No GPU became available within 615 seconds; no start-up request was sent planned: no; failed: final Planned: retry later or revise the plan (it may quote a pricier card); failed: a new plan later
start_context_too_long The context did not fit at start final A new plan with a lower parameters.max_model_len, at most parameters.model_max_len, or unset
start_out_of_memory Out of GPU memory at start final A new plan with a lower parameters.max_model_len or parameters.max_num_seqs, fp8 KV cache, or no batching override; the card may change
start_model_download_failed The model files could not be fetched final Check the model id and its access, or choose another model
start_failed The start failed; the cause is unknown final Contact support
start_timeout Not ready by the startup limit counted from the start-up request (within the initial start deadline, which is final) final Contact support; a smaller or quantized model loads faster
start_crash_loop While serving, new workers failed to start three times final A new plan with a lower context or fewer sequences, or a smaller model; contact support if it repeats
workers_unhealthy Workers became unhealthy final Contact support
start_unconfirmed Readiness could not be confirmed final Contact support before a new plan
platform_conflict Conflicting records final, usually zero Contact support
name_reservation_lag The deployment name was not free yet no A new plan a little later
leftover_capacity An earlier attempt was in the way and has been cleaned up final A new plan later
deployment_failed Unclassified failure final Contact support

login_required requires sign-in. plan_revalidation_required requires a new account plan. run_confirmation_required requires a new confirmation message after that plan. Nothing is billed for these refusals.

Plan and action errors. These refuse a plan, start, revise or stop before anything runs, so nothing is billed. The deployment keeps its own state and status.

status What happened Fix
invalid_spec The setting named in field is invalid Correct that setting
model_not_accessible The model cannot be read: misspelled, missing, private, gated or not licensed for commercial use Check the id, or choose a public, ungated, commercially usable variant
model_config_incomplete Required config fields are absent (missing_fields) Supply the listed fields from the model author; do not invent geometry
model_no_config Config is missing or invalid (invalid_fields when available) Use a valid standard config with consistent field values
model_no_safetensors, model_size_unknown Safetensors weights or their size are unavailable A variant with standard safetensors weights and known size
model_architecture_unsupported, model_remote_code, model_quantization_unsupported Unsupported architecture, custom code or quantization A supported architecture and supported quantization, or BF16/FP16 weights
model_no_chat_template The model has no chat template An instruct or chat variant
model_diffusion Not a text chat model An autoregressive chat model
model_too_large Too large to serve A smaller or supported quantized variant within the checkpoint size limit
model_check_unavailable The model check could not run Try again later
context_above_model parameters.max_model_len is above parameters.model_max_len Plan at most parameters.model_max_len, or leave it unset
no_compatible_capacity No card fits these settings Lower parameters.max_model_len or parameters.max_num_seqs, use fp8 KV cache, or a smaller model
override_unsupported parameters.max_num_batched_tokens or parameters.kv_cache_dtype cannot apply Plan without it, or keep batched tokens at least parameters.max_num_seqs
no_capacity_now No card with high or medium availability overall and in at least one data center is free now; nothing is created Try later, or replan with a smaller max_model_len; the error includes the GPU count, memory class and funded contexts sought
capacity_unknown Availability could not be read (at start, the deployment stays planned) Try later
capacity_changed At start, GPU availability dropped since the quote: none of the agreed cards has high or medium availability overall and in at least one data center now; the deployment stays planned and nothing is created or billed Plan again and agree to the new quote (it may choose another, possibly pricier GPU group)
plan_stale The agreed facts changed (model revision, card or price); the deployment stays planned and nothing is created Plan again and agree to the new quote
plan_expired The plan was not started within 24 hours and has been stopped Plan again and agree to the new quote
insufficient_funds The balance cannot fund execution.workers_max workers at the quoted rate Choose cheaper settings or add credits
balance_in_arrears The balance is below zero Settle it on the Account tab
model_already_live Another live deployment already serves this model Use that deployment, stop it, or wait if it is stopping or failing
confirm_failed_start The last start of this plan failed Review the failure and its cost, then confirm the retry
job_state_conflict The deployment changed state meanwhile Check its current state, then act on it
job_not_found No such deployment on this account Check the deployment reference
action_unconfirmed The outcome of the action is uncertain Check the deployment once before acting again
capacity_service_unavailable, jobs_unavailable A temporary service failure Try later
plan_revalidation_required Plan needs revalidation after sign-in Review the plan again
run_confirmation_required Fresh execution confirmation required Confirm the current plan
login_required Sign-in required Sign in to continue
invalid_filter, request_key_required, chat_context_required, internal_auth An integration fault Contact support

Recent requests. The agent can summarize the last hour of requests to a deployment by code: ok and in_progress, the error codes in the table above, client_disconnected (the client left; the request may still have been billed) and other_error (unrecorded; contact support). deployment_busy and deployment_at_capacity mean the concurrency ceiling was reached: send fewer requests at once; deployments run one worker (maximum and default 1).

Managing a deployment

The Deployment tab lists all of the account’s deployments with their current state. The agent reports the status of any deployment, with worker details on request.

Planning, starting and stopping deployments happen in the workspace chat. To stop a deployment, the user names it and confirms in chat.

When the right-sized GPU group is out of stock, planning may move to a more expensive group, possibly several steps up. The quoted price is shown for approval; starting never silently switches to a pricier group. no_capacity is returned only when every eligible GPU at the applicable GPU count across all applicable pools is known LOW/NONE or lacks a qualifying data center. LOW stock is never used; unknown availability remains availability_unknown.