Compile bounded user intent into an editable reviewed configuration
POST
/
api
/
v1
/
planning
/
intents
Compile bounded user intent into an editable reviewed configuration
curl --request POST \
--url http://127.0.0.1:18000/api/v1/planning/intents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"intent": "<string>",
"concurrency": 512,
"context_tokens": 524416,
"current_closed_model": "<string>",
"gpu": "<string>",
"model": "<string>",
"model_revision": "<string>",
"model_secret_reference_id": "<string>",
"monthly_budget_usd": 123,
"provider": "<string>",
"region": "<string>"
}
'import requests
url = "http://127.0.0.1:18000/api/v1/planning/intents"
payload = {
"intent": "<string>",
"concurrency": 512,
"context_tokens": 524416,
"current_closed_model": "<string>",
"gpu": "<string>",
"model": "<string>",
"model_revision": "<string>",
"model_secret_reference_id": "<string>",
"monthly_budget_usd": 123,
"provider": "<string>",
"region": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
intent: '<string>',
concurrency: 512,
context_tokens: 524416,
current_closed_model: '<string>',
gpu: '<string>',
model: '<string>',
model_revision: '<string>',
model_secret_reference_id: '<string>',
monthly_budget_usd: 123,
provider: '<string>',
region: '<string>'
})
};
fetch('http://127.0.0.1:18000/api/v1/planning/intents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://127.0.0.1:18000/api/v1/planning/intents"
payload := strings.NewReader("{\n \"intent\": \"<string>\",\n \"concurrency\": 512,\n \"context_tokens\": 524416,\n \"current_closed_model\": \"<string>\",\n \"gpu\": \"<string>\",\n \"model\": \"<string>\",\n \"model_revision\": \"<string>\",\n \"model_secret_reference_id\": \"<string>\",\n \"monthly_budget_usd\": 123,\n \"provider\": \"<string>\",\n \"region\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"capacity_reserved": false,
"performance_claims": false,
"plan": {
"architecture": {
"edges": [
{
"from": "<string>",
"label": "<string>",
"to": "<string>"
}
],
"nodes": [
{
"id": "<string>",
"kind": "<string>",
"label": "<string>",
"state": "<string>"
}
]
},
"choices": [
{
"editable": true,
"field": "<string>",
"label": "<string>",
"required": true,
"options": [
{
"label": "<string>",
"value": "<string>",
"reason": "<string>",
"state": "<string>"
}
],
"value": "<string>"
}
],
"evidence": {
"capacity": "<string>",
"configuration": "<string>",
"performance": "<string>",
"price": {
"deployment_comparable": true,
"reason": "<string>",
"state": "current",
"cost_scope": "<string>",
"currency": "<string>",
"hourly_usd_per_replica": 1,
"observed_at": "2023-11-07T05:31:56Z",
"price_authority": "<string>",
"source": "<string>",
"valid_until": "2023-11-07T05:31:56Z"
}
},
"interpretation": {
"action": "deploy",
"objective": "interactive",
"compute_mode": "elastic"
},
"missing_choices": [
{
"field": "<string>",
"prompt": "<string>",
"reason": "<string>",
"remediation": "<string>",
"options": [
{
"label": "<string>",
"value": "<string>",
"reason": "<string>",
"state": "<string>"
}
]
}
],
"mutation": "none",
"schema_version": "infercrane.intent-plan/v1",
"status": "ready",
"warnings": [
"<string>"
],
"configuration": {
"compute_mode": "elastic",
"gpu": "<string>",
"gpu_count": 512,
"max_replicas": 1,
"min_replicas": 1,
"model": "<string>",
"model_revision": "<string>",
"profile": "<string>",
"routing": "<string>",
"runtime": "<string>",
"runtime_args": [
"<string>"
],
"provider": "<string>",
"provider_adapter": "<string>",
"region": "<string>",
"runtime_env": {},
"runtime_version": "<string>"
},
"model": {
"display_name": "<string>",
"evidence_class": "<string>",
"evidence_summary": "<string>",
"gated": true,
"name": "<string>",
"repository": "<string>",
"review": "reviewed",
"revision": "<string>",
"runtime": "<string>",
"tasks": [
"<string>"
]
},
"model_check": {
"access": {
"gated": true,
"gated_mode": "<string>",
"private": true,
"state": "public",
"token_used": true
},
"architecture": {
"custom_code": true,
"model_type": "<string>",
"name": "<string>",
"reason": "<string>",
"runtime": "<string>",
"runtime_version": "<string>",
"sources": [
{
"commit": "<string>",
"runtime": "<string>",
"source_url": "<string>",
"version": "<string>"
}
],
"state": "supported"
},
"checked_at": "2023-11-07T05:31:56Z",
"checks": [
{
"detail": "<string>",
"label": "<string>",
"name": "architecture",
"state": "pass"
}
],
"config": {
"attention_heads": 123,
"context_length": 123,
"digest": "<string>",
"dtype": "<string>",
"head_dim": 123,
"hidden_size": 123,
"kv_cache_bytes_per_token": 123,
"kv_heads": 123,
"layers": 123,
"state": "read"
},
"license": "<string>",
"memory": {
"assumptions": [
"<string>"
],
"concurrency": 123,
"considered_gpus": [
"<string>"
],
"context_tokens": 123,
"gpu": "<string>",
"gpu_count": 123,
"gpu_memory_gib": 123,
"kv_cache_bytes": 123,
"layouts": [
{
"gpu": "<string>",
"gpu_count": 123,
"gpu_memory_gib": 123,
"per_gpu_required_bytes": 123
}
],
"reason": "<string>",
"required_bytes": 123,
"state": "fits",
"weights_bytes": 123
},
"performance_claims": false,
"pipeline_tag": "<string>",
"reason": "<string>",
"repository": "<string>",
"requested_revision": "<string>",
"reviewed": false,
"revision": "<string>",
"schema_version": "infercrane.model-check/v1",
"source": "hugging-face",
"source_url": "<string>",
"task": "chat",
"verdict": "supported",
"weights": {
"dtypes": {},
"format": "safetensors",
"parameters": 123,
"quantization": "<string>",
"reason": "<string>",
"state": "read",
"stored_bytes": 123
}
},
"start": {
"alternatives": [
{
"cost": {
"per_million_output_tokens": {
"reason": "<string>",
"state": "not_shown",
"reference": {
"measured_at": {
"cell": "<string>",
"concurrency": 123,
"input_tokens": 123,
"output_tokens": 123
},
"measurement": "<string>",
"ran_on": "<string>",
"source": "<string>",
"statement": "<string>",
"inside_target": true,
"inter_token_p95_ms": 123,
"output_tokens_per_second": 123,
"ttft_p95_ms": 123
}
},
"per_month": {
"hours": 730,
"reason": "<string>",
"replicas": 123,
"state": "current",
"hourly_usd": 123,
"observed_at": "2023-11-07T05:31:56Z",
"provider": "<string>",
"region": "<string>",
"source": "<string>",
"usd": 123,
"valid_until": "2023-11-07T05:31:56Z"
}
},
"deployment_draft": {
"cloud": "<string>",
"gpu": "<string>",
"model": "<string>",
"name": "<string>",
"billing_mode": "provider_account",
"compute_connection_id": "<string>",
"compute_mode": "elastic",
"endpoint_name": "<string>",
"gpu_count": 1,
"kernel_configs": {
"device": "<string>",
"digest": "<string>",
"files": [
{
"content": "<string>",
"name": "<string>",
"sha256": "<string>"
}
],
"operator": "fused-moe",
"runtime": "vllm",
"runtime_version": "<string>",
"tuner": "<string>"
},
"managed_runtime_seconds": 43650,
"max_replicas": 1,
"min_replicas": 1,
"model_adapters": [
{
"name": "<string>",
"repository": "<string>",
"revision": "<string>",
"rank": 256
}
],
"model_revision": "<string>",
"model_secret_reference_id": "<string>",
"port": 32768,
"provider_adapter": "<string>",
"region": "<string>",
"runtime": "vllm",
"runtime_args": [
"<string>"
],
"runtime_env": {},
"runtime_version": "<string>",
"serving": {
"autoscaling": {
"max": 5000,
"min": 5000,
"owner": "disabled"
},
"backend": "dynamo",
"cache": {
"backend": "none",
"configuration_ref": "<string>",
"disk_gib": 1,
"host_gib": 1,
"memory_gib": 1,
"metrics": true,
"storage_claim": "<string>"
},
"decode": {
"replicas": 5000,
"tensor_parallelism": 512
},
"mode": "aggregated",
"prefill": {
"replicas": 5000,
"tensor_parallelism": 512
},
"profile": "baseline",
"routing": "direct",
"schema_version": "infercrane.serving/v1",
"worker": {
"replicas": 5000,
"tensor_parallelism": 512
}
},
"workload": {
"cancellation": "http-disconnect",
"command": [
"<string>"
],
"drain": "connection",
"image": "<string>",
"metrics_path": "/metrics",
"models_path": "/v1/models",
"port": 32768,
"protocol": "openai",
"readiness_path": "/health",
"shutdown_grace_seconds": 1800
}
},
"engine": {
"args": [
"<string>"
],
"env": {},
"image": "<string>",
"runtime": "<string>",
"version": "<string>"
},
"fit": {
"budget": {
"reason": "<string>",
"state": "fits"
},
"latency": {
"reason": "<string>",
"state": "unknown",
"reference": {
"measured_at": {
"cell": "<string>",
"concurrency": 123,
"input_tokens": 123,
"output_tokens": 123
},
"measurement": "<string>",
"ran_on": "<string>",
"source": "<string>",
"statement": "<string>",
"inside_target": true,
"inter_token_p95_ms": 123,
"output_tokens_per_second": 123,
"ttft_p95_ms": 123
}
},
"memory": {
"concurrency": 123,
"context_tokens": 123,
"reason": "<string>",
"source": "<string>",
"state": "fits",
"gpu_memory_gib": 123,
"required_gib": 123
}
},
"gpu": "<string>",
"gpu_count": 123,
"id": "<string>",
"limitations": [
"<string>"
],
"missing": [
{
"field": "<string>",
"reason": "<string>"
}
],
"model": {
"display_name": "<string>",
"license": "<string>",
"license_note": "<string>",
"license_url": "<string>",
"name": "<string>",
"publisher": "<string>",
"repository": "<string>",
"revision": "<string>"
},
"provider": "<string>",
"region": "<string>",
"replicas": 2,
"replicas_reason": "<string>",
"source": {
"date": "2023-12-25",
"differences": [
"<string>"
],
"kind": "publisher_documented",
"label": "<string>",
"publisher_command_url": "<string>",
"evidence_url": "<string>",
"measured_image": "<string>",
"measured_image_note": "<string>",
"receipt_url": "<string>"
}
}
],
"boundary": "<string>",
"closed_model": {
"docs_path": "<string>",
"named": "<string>",
"next_step": "migration_proof",
"open_equivalent": "unknown",
"reason": "<string>"
},
"not_suggested": [
{
"id": "<string>",
"reason": "<string>"
}
],
"schema_version": "infercrane.start/v1",
"suggested": {
"cost": {
"per_million_output_tokens": {
"reason": "<string>",
"state": "not_shown",
"reference": {
"measured_at": {
"cell": "<string>",
"concurrency": 123,
"input_tokens": 123,
"output_tokens": 123
},
"measurement": "<string>",
"ran_on": "<string>",
"source": "<string>",
"statement": "<string>",
"inside_target": true,
"inter_token_p95_ms": 123,
"output_tokens_per_second": 123,
"ttft_p95_ms": 123
}
},
"per_month": {
"hours": 730,
"reason": "<string>",
"replicas": 123,
"state": "current",
"hourly_usd": 123,
"observed_at": "2023-11-07T05:31:56Z",
"provider": "<string>",
"region": "<string>",
"source": "<string>",
"usd": 123,
"valid_until": "2023-11-07T05:31:56Z"
}
},
"deployment_draft": {
"cloud": "<string>",
"gpu": "<string>",
"model": "<string>",
"name": "<string>",
"billing_mode": "provider_account",
"compute_connection_id": "<string>",
"compute_mode": "elastic",
"endpoint_name": "<string>",
"gpu_count": 1,
"kernel_configs": {
"device": "<string>",
"digest": "<string>",
"files": [
{
"content": "<string>",
"name": "<string>",
"sha256": "<string>"
}
],
"operator": "fused-moe",
"runtime": "vllm",
"runtime_version": "<string>",
"tuner": "<string>"
},
"managed_runtime_seconds": 43650,
"max_replicas": 1,
"min_replicas": 1,
"model_adapters": [
{
"name": "<string>",
"repository": "<string>",
"revision": "<string>",
"rank": 256
}
],
"model_revision": "<string>",
"model_secret_reference_id": "<string>",
"port": 32768,
"provider_adapter": "<string>",
"region": "<string>",
"runtime": "vllm",
"runtime_args": [
"<string>"
],
"runtime_env": {},
"runtime_version": "<string>",
"serving": {
"autoscaling": {
"max": 5000,
"min": 5000,
"owner": "disabled"
},
"backend": "dynamo",
"cache": {
"backend": "none",
"configuration_ref": "<string>",
"disk_gib": 1,
"host_gib": 1,
"memory_gib": 1,
"metrics": true,
"storage_claim": "<string>"
},
"decode": {
"replicas": 5000,
"tensor_parallelism": 512
},
"mode": "aggregated",
"prefill": {
"replicas": 5000,
"tensor_parallelism": 512
},
"profile": "baseline",
"routing": "direct",
"schema_version": "infercrane.serving/v1",
"worker": {
"replicas": 5000,
"tensor_parallelism": 512
}
},
"workload": {
"cancellation": "http-disconnect",
"command": [
"<string>"
],
"drain": "connection",
"image": "<string>",
"metrics_path": "/metrics",
"models_path": "/v1/models",
"port": 32768,
"protocol": "openai",
"readiness_path": "/health",
"shutdown_grace_seconds": 1800
}
},
"engine": {
"args": [
"<string>"
],
"env": {},
"image": "<string>",
"runtime": "<string>",
"version": "<string>"
},
"fit": {
"budget": {
"reason": "<string>",
"state": "fits"
},
"latency": {
"reason": "<string>",
"state": "unknown",
"reference": {
"measured_at": {
"cell": "<string>",
"concurrency": 123,
"input_tokens": 123,
"output_tokens": 123
},
"measurement": "<string>",
"ran_on": "<string>",
"source": "<string>",
"statement": "<string>",
"inside_target": true,
"inter_token_p95_ms": 123,
"output_tokens_per_second": 123,
"ttft_p95_ms": 123
}
},
"memory": {
"concurrency": 123,
"context_tokens": 123,
"reason": "<string>",
"source": "<string>",
"state": "fits",
"gpu_memory_gib": 123,
"required_gib": 123
}
},
"gpu": "<string>",
"gpu_count": 123,
"id": "<string>",
"limitations": [
"<string>"
],
"missing": [
{
"field": "<string>",
"reason": "<string>"
}
],
"model": {
"display_name": "<string>",
"license": "<string>",
"license_note": "<string>",
"license_url": "<string>",
"name": "<string>",
"publisher": "<string>",
"repository": "<string>",
"revision": "<string>"
},
"provider": "<string>",
"region": "<string>",
"replicas": 2,
"replicas_reason": "<string>",
"source": {
"date": "2023-12-25",
"differences": [
"<string>"
],
"kind": "publisher_documented",
"label": "<string>",
"publisher_command_url": "<string>",
"evidence_url": "<string>",
"measured_image": "<string>",
"measured_image_note": "<string>",
"receipt_url": "<string>"
}
},
"workload": {
"defaults_applied": [
"<string>"
],
"input_tokens": 123,
"kind": "chat",
"output_tokens": 123,
"peak_concurrent_requests": 123,
"latency_target": {
"tpot_p95_ms": 30000,
"ttft_p95_ms": 300000
},
"monthly_budget_usd": 123
},
"reason": "<string>"
}
},
"provider_mutation": false,
"selection_boundary": "<string>",
"deployment_draft": {
"cloud": "<string>",
"gpu": "<string>",
"model": "<string>",
"name": "<string>",
"billing_mode": "provider_account",
"compute_connection_id": "<string>",
"compute_mode": "elastic",
"endpoint_name": "<string>",
"gpu_count": 1,
"kernel_configs": {
"device": "<string>",
"digest": "<string>",
"files": [
{
"content": "<string>",
"name": "<string>",
"sha256": "<string>"
}
],
"operator": "fused-moe",
"runtime": "vllm",
"runtime_version": "<string>",
"tuner": "<string>"
},
"managed_runtime_seconds": 43650,
"max_replicas": 1,
"min_replicas": 1,
"model_adapters": [
{
"name": "<string>",
"repository": "<string>",
"revision": "<string>",
"rank": 256
}
],
"model_revision": "<string>",
"model_secret_reference_id": "<string>",
"port": 32768,
"provider_adapter": "<string>",
"region": "<string>",
"runtime": "vllm",
"runtime_args": [
"<string>"
],
"runtime_env": {},
"runtime_version": "<string>",
"serving": {
"autoscaling": {
"max": 5000,
"min": 5000,
"owner": "disabled"
},
"backend": "dynamo",
"cache": {
"backend": "none",
"configuration_ref": "<string>",
"disk_gib": 1,
"host_gib": 1,
"memory_gib": 1,
"metrics": true,
"storage_claim": "<string>"
},
"decode": {
"replicas": 5000,
"tensor_parallelism": 512
},
"mode": "aggregated",
"prefill": {
"replicas": 5000,
"tensor_parallelism": 512
},
"profile": "baseline",
"routing": "direct",
"schema_version": "infercrane.serving/v1",
"worker": {
"replicas": 5000,
"tensor_parallelism": 512
}
},
"workload": {
"cancellation": "http-disconnect",
"command": [
"<string>"
],
"drain": "connection",
"image": "<string>",
"metrics_path": "/metrics",
"models_path": "/v1/models",
"port": 32768,
"protocol": "openai",
"readiness_path": "/health",
"shutdown_grace_seconds": 1800
}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"category": "<string>",
"remediation": "<string>",
"request_id": "<string>",
"retryable": true
}
}Authorizations
Body
application/json
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Response
Success
deployment_draft is present only when plan.status is ready; otherwise it is absent, never null (for example when plan.start suggests nothing).
⌘I
Compile bounded user intent into an editable reviewed configuration
curl --request POST \
--url http://127.0.0.1:18000/api/v1/planning/intents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"intent": "<string>",
"concurrency": 512,
"context_tokens": 524416,
"current_closed_model": "<string>",
"gpu": "<string>",
"model": "<string>",
"model_revision": "<string>",
"model_secret_reference_id": "<string>",
"monthly_budget_usd": 123,
"provider": "<string>",
"region": "<string>"
}
'import requests
url = "http://127.0.0.1:18000/api/v1/planning/intents"
payload = {
"intent": "<string>",
"concurrency": 512,
"context_tokens": 524416,
"current_closed_model": "<string>",
"gpu": "<string>",
"model": "<string>",
"model_revision": "<string>",
"model_secret_reference_id": "<string>",
"monthly_budget_usd": 123,
"provider": "<string>",
"region": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
intent: '<string>',
concurrency: 512,
context_tokens: 524416,
current_closed_model: '<string>',
gpu: '<string>',
model: '<string>',
model_revision: '<string>',
model_secret_reference_id: '<string>',
monthly_budget_usd: 123,
provider: '<string>',
region: '<string>'
})
};
fetch('http://127.0.0.1:18000/api/v1/planning/intents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://127.0.0.1:18000/api/v1/planning/intents"
payload := strings.NewReader("{\n \"intent\": \"<string>\",\n \"concurrency\": 512,\n \"context_tokens\": 524416,\n \"current_closed_model\": \"<string>\",\n \"gpu\": \"<string>\",\n \"model\": \"<string>\",\n \"model_revision\": \"<string>\",\n \"model_secret_reference_id\": \"<string>\",\n \"monthly_budget_usd\": 123,\n \"provider\": \"<string>\",\n \"region\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"capacity_reserved": false,
"performance_claims": false,
"plan": {
"architecture": {
"edges": [
{
"from": "<string>",
"label": "<string>",
"to": "<string>"
}
],
"nodes": [
{
"id": "<string>",
"kind": "<string>",
"label": "<string>",
"state": "<string>"
}
]
},
"choices": [
{
"editable": true,
"field": "<string>",
"label": "<string>",
"required": true,
"options": [
{
"label": "<string>",
"value": "<string>",
"reason": "<string>",
"state": "<string>"
}
],
"value": "<string>"
}
],
"evidence": {
"capacity": "<string>",
"configuration": "<string>",
"performance": "<string>",
"price": {
"deployment_comparable": true,
"reason": "<string>",
"state": "current",
"cost_scope": "<string>",
"currency": "<string>",
"hourly_usd_per_replica": 1,
"observed_at": "2023-11-07T05:31:56Z",
"price_authority": "<string>",
"source": "<string>",
"valid_until": "2023-11-07T05:31:56Z"
}
},
"interpretation": {
"action": "deploy",
"objective": "interactive",
"compute_mode": "elastic"
},
"missing_choices": [
{
"field": "<string>",
"prompt": "<string>",
"reason": "<string>",
"remediation": "<string>",
"options": [
{
"label": "<string>",
"value": "<string>",
"reason": "<string>",
"state": "<string>"
}
]
}
],
"mutation": "none",
"schema_version": "infercrane.intent-plan/v1",
"status": "ready",
"warnings": [
"<string>"
],
"configuration": {
"compute_mode": "elastic",
"gpu": "<string>",
"gpu_count": 512,
"max_replicas": 1,
"min_replicas": 1,
"model": "<string>",
"model_revision": "<string>",
"profile": "<string>",
"routing": "<string>",
"runtime": "<string>",
"runtime_args": [
"<string>"
],
"provider": "<string>",
"provider_adapter": "<string>",
"region": "<string>",
"runtime_env": {},
"runtime_version": "<string>"
},
"model": {
"display_name": "<string>",
"evidence_class": "<string>",
"evidence_summary": "<string>",
"gated": true,
"name": "<string>",
"repository": "<string>",
"review": "reviewed",
"revision": "<string>",
"runtime": "<string>",
"tasks": [
"<string>"
]
},
"model_check": {
"access": {
"gated": true,
"gated_mode": "<string>",
"private": true,
"state": "public",
"token_used": true
},
"architecture": {
"custom_code": true,
"model_type": "<string>",
"name": "<string>",
"reason": "<string>",
"runtime": "<string>",
"runtime_version": "<string>",
"sources": [
{
"commit": "<string>",
"runtime": "<string>",
"source_url": "<string>",
"version": "<string>"
}
],
"state": "supported"
},
"checked_at": "2023-11-07T05:31:56Z",
"checks": [
{
"detail": "<string>",
"label": "<string>",
"name": "architecture",
"state": "pass"
}
],
"config": {
"attention_heads": 123,
"context_length": 123,
"digest": "<string>",
"dtype": "<string>",
"head_dim": 123,
"hidden_size": 123,
"kv_cache_bytes_per_token": 123,
"kv_heads": 123,
"layers": 123,
"state": "read"
},
"license": "<string>",
"memory": {
"assumptions": [
"<string>"
],
"concurrency": 123,
"considered_gpus": [
"<string>"
],
"context_tokens": 123,
"gpu": "<string>",
"gpu_count": 123,
"gpu_memory_gib": 123,
"kv_cache_bytes": 123,
"layouts": [
{
"gpu": "<string>",
"gpu_count": 123,
"gpu_memory_gib": 123,
"per_gpu_required_bytes": 123
}
],
"reason": "<string>",
"required_bytes": 123,
"state": "fits",
"weights_bytes": 123
},
"performance_claims": false,
"pipeline_tag": "<string>",
"reason": "<string>",
"repository": "<string>",
"requested_revision": "<string>",
"reviewed": false,
"revision": "<string>",
"schema_version": "infercrane.model-check/v1",
"source": "hugging-face",
"source_url": "<string>",
"task": "chat",
"verdict": "supported",
"weights": {
"dtypes": {},
"format": "safetensors",
"parameters": 123,
"quantization": "<string>",
"reason": "<string>",
"state": "read",
"stored_bytes": 123
}
},
"start": {
"alternatives": [
{
"cost": {
"per_million_output_tokens": {
"reason": "<string>",
"state": "not_shown",
"reference": {
"measured_at": {
"cell": "<string>",
"concurrency": 123,
"input_tokens": 123,
"output_tokens": 123
},
"measurement": "<string>",
"ran_on": "<string>",
"source": "<string>",
"statement": "<string>",
"inside_target": true,
"inter_token_p95_ms": 123,
"output_tokens_per_second": 123,
"ttft_p95_ms": 123
}
},
"per_month": {
"hours": 730,
"reason": "<string>",
"replicas": 123,
"state": "current",
"hourly_usd": 123,
"observed_at": "2023-11-07T05:31:56Z",
"provider": "<string>",
"region": "<string>",
"source": "<string>",
"usd": 123,
"valid_until": "2023-11-07T05:31:56Z"
}
},
"deployment_draft": {
"cloud": "<string>",
"gpu": "<string>",
"model": "<string>",
"name": "<string>",
"billing_mode": "provider_account",
"compute_connection_id": "<string>",
"compute_mode": "elastic",
"endpoint_name": "<string>",
"gpu_count": 1,
"kernel_configs": {
"device": "<string>",
"digest": "<string>",
"files": [
{
"content": "<string>",
"name": "<string>",
"sha256": "<string>"
}
],
"operator": "fused-moe",
"runtime": "vllm",
"runtime_version": "<string>",
"tuner": "<string>"
},
"managed_runtime_seconds": 43650,
"max_replicas": 1,
"min_replicas": 1,
"model_adapters": [
{
"name": "<string>",
"repository": "<string>",
"revision": "<string>",
"rank": 256
}
],
"model_revision": "<string>",
"model_secret_reference_id": "<string>",
"port": 32768,
"provider_adapter": "<string>",
"region": "<string>",
"runtime": "vllm",
"runtime_args": [
"<string>"
],
"runtime_env": {},
"runtime_version": "<string>",
"serving": {
"autoscaling": {
"max": 5000,
"min": 5000,
"owner": "disabled"
},
"backend": "dynamo",
"cache": {
"backend": "none",
"configuration_ref": "<string>",
"disk_gib": 1,
"host_gib": 1,
"memory_gib": 1,
"metrics": true,
"storage_claim": "<string>"
},
"decode": {
"replicas": 5000,
"tensor_parallelism": 512
},
"mode": "aggregated",
"prefill": {
"replicas": 5000,
"tensor_parallelism": 512
},
"profile": "baseline",
"routing": "direct",
"schema_version": "infercrane.serving/v1",
"worker": {
"replicas": 5000,
"tensor_parallelism": 512
}
},
"workload": {
"cancellation": "http-disconnect",
"command": [
"<string>"
],
"drain": "connection",
"image": "<string>",
"metrics_path": "/metrics",
"models_path": "/v1/models",
"port": 32768,
"protocol": "openai",
"readiness_path": "/health",
"shutdown_grace_seconds": 1800
}
},
"engine": {
"args": [
"<string>"
],
"env": {},
"image": "<string>",
"runtime": "<string>",
"version": "<string>"
},
"fit": {
"budget": {
"reason": "<string>",
"state": "fits"
},
"latency": {
"reason": "<string>",
"state": "unknown",
"reference": {
"measured_at": {
"cell": "<string>",
"concurrency": 123,
"input_tokens": 123,
"output_tokens": 123
},
"measurement": "<string>",
"ran_on": "<string>",
"source": "<string>",
"statement": "<string>",
"inside_target": true,
"inter_token_p95_ms": 123,
"output_tokens_per_second": 123,
"ttft_p95_ms": 123
}
},
"memory": {
"concurrency": 123,
"context_tokens": 123,
"reason": "<string>",
"source": "<string>",
"state": "fits",
"gpu_memory_gib": 123,
"required_gib": 123
}
},
"gpu": "<string>",
"gpu_count": 123,
"id": "<string>",
"limitations": [
"<string>"
],
"missing": [
{
"field": "<string>",
"reason": "<string>"
}
],
"model": {
"display_name": "<string>",
"license": "<string>",
"license_note": "<string>",
"license_url": "<string>",
"name": "<string>",
"publisher": "<string>",
"repository": "<string>",
"revision": "<string>"
},
"provider": "<string>",
"region": "<string>",
"replicas": 2,
"replicas_reason": "<string>",
"source": {
"date": "2023-12-25",
"differences": [
"<string>"
],
"kind": "publisher_documented",
"label": "<string>",
"publisher_command_url": "<string>",
"evidence_url": "<string>",
"measured_image": "<string>",
"measured_image_note": "<string>",
"receipt_url": "<string>"
}
}
],
"boundary": "<string>",
"closed_model": {
"docs_path": "<string>",
"named": "<string>",
"next_step": "migration_proof",
"open_equivalent": "unknown",
"reason": "<string>"
},
"not_suggested": [
{
"id": "<string>",
"reason": "<string>"
}
],
"schema_version": "infercrane.start/v1",
"suggested": {
"cost": {
"per_million_output_tokens": {
"reason": "<string>",
"state": "not_shown",
"reference": {
"measured_at": {
"cell": "<string>",
"concurrency": 123,
"input_tokens": 123,
"output_tokens": 123
},
"measurement": "<string>",
"ran_on": "<string>",
"source": "<string>",
"statement": "<string>",
"inside_target": true,
"inter_token_p95_ms": 123,
"output_tokens_per_second": 123,
"ttft_p95_ms": 123
}
},
"per_month": {
"hours": 730,
"reason": "<string>",
"replicas": 123,
"state": "current",
"hourly_usd": 123,
"observed_at": "2023-11-07T05:31:56Z",
"provider": "<string>",
"region": "<string>",
"source": "<string>",
"usd": 123,
"valid_until": "2023-11-07T05:31:56Z"
}
},
"deployment_draft": {
"cloud": "<string>",
"gpu": "<string>",
"model": "<string>",
"name": "<string>",
"billing_mode": "provider_account",
"compute_connection_id": "<string>",
"compute_mode": "elastic",
"endpoint_name": "<string>",
"gpu_count": 1,
"kernel_configs": {
"device": "<string>",
"digest": "<string>",
"files": [
{
"content": "<string>",
"name": "<string>",
"sha256": "<string>"
}
],
"operator": "fused-moe",
"runtime": "vllm",
"runtime_version": "<string>",
"tuner": "<string>"
},
"managed_runtime_seconds": 43650,
"max_replicas": 1,
"min_replicas": 1,
"model_adapters": [
{
"name": "<string>",
"repository": "<string>",
"revision": "<string>",
"rank": 256
}
],
"model_revision": "<string>",
"model_secret_reference_id": "<string>",
"port": 32768,
"provider_adapter": "<string>",
"region": "<string>",
"runtime": "vllm",
"runtime_args": [
"<string>"
],
"runtime_env": {},
"runtime_version": "<string>",
"serving": {
"autoscaling": {
"max": 5000,
"min": 5000,
"owner": "disabled"
},
"backend": "dynamo",
"cache": {
"backend": "none",
"configuration_ref": "<string>",
"disk_gib": 1,
"host_gib": 1,
"memory_gib": 1,
"metrics": true,
"storage_claim": "<string>"
},
"decode": {
"replicas": 5000,
"tensor_parallelism": 512
},
"mode": "aggregated",
"prefill": {
"replicas": 5000,
"tensor_parallelism": 512
},
"profile": "baseline",
"routing": "direct",
"schema_version": "infercrane.serving/v1",
"worker": {
"replicas": 5000,
"tensor_parallelism": 512
}
},
"workload": {
"cancellation": "http-disconnect",
"command": [
"<string>"
],
"drain": "connection",
"image": "<string>",
"metrics_path": "/metrics",
"models_path": "/v1/models",
"port": 32768,
"protocol": "openai",
"readiness_path": "/health",
"shutdown_grace_seconds": 1800
}
},
"engine": {
"args": [
"<string>"
],
"env": {},
"image": "<string>",
"runtime": "<string>",
"version": "<string>"
},
"fit": {
"budget": {
"reason": "<string>",
"state": "fits"
},
"latency": {
"reason": "<string>",
"state": "unknown",
"reference": {
"measured_at": {
"cell": "<string>",
"concurrency": 123,
"input_tokens": 123,
"output_tokens": 123
},
"measurement": "<string>",
"ran_on": "<string>",
"source": "<string>",
"statement": "<string>",
"inside_target": true,
"inter_token_p95_ms": 123,
"output_tokens_per_second": 123,
"ttft_p95_ms": 123
}
},
"memory": {
"concurrency": 123,
"context_tokens": 123,
"reason": "<string>",
"source": "<string>",
"state": "fits",
"gpu_memory_gib": 123,
"required_gib": 123
}
},
"gpu": "<string>",
"gpu_count": 123,
"id": "<string>",
"limitations": [
"<string>"
],
"missing": [
{
"field": "<string>",
"reason": "<string>"
}
],
"model": {
"display_name": "<string>",
"license": "<string>",
"license_note": "<string>",
"license_url": "<string>",
"name": "<string>",
"publisher": "<string>",
"repository": "<string>",
"revision": "<string>"
},
"provider": "<string>",
"region": "<string>",
"replicas": 2,
"replicas_reason": "<string>",
"source": {
"date": "2023-12-25",
"differences": [
"<string>"
],
"kind": "publisher_documented",
"label": "<string>",
"publisher_command_url": "<string>",
"evidence_url": "<string>",
"measured_image": "<string>",
"measured_image_note": "<string>",
"receipt_url": "<string>"
}
},
"workload": {
"defaults_applied": [
"<string>"
],
"input_tokens": 123,
"kind": "chat",
"output_tokens": 123,
"peak_concurrent_requests": 123,
"latency_target": {
"tpot_p95_ms": 30000,
"ttft_p95_ms": 300000
},
"monthly_budget_usd": 123
},
"reason": "<string>"
}
},
"provider_mutation": false,
"selection_boundary": "<string>",
"deployment_draft": {
"cloud": "<string>",
"gpu": "<string>",
"model": "<string>",
"name": "<string>",
"billing_mode": "provider_account",
"compute_connection_id": "<string>",
"compute_mode": "elastic",
"endpoint_name": "<string>",
"gpu_count": 1,
"kernel_configs": {
"device": "<string>",
"digest": "<string>",
"files": [
{
"content": "<string>",
"name": "<string>",
"sha256": "<string>"
}
],
"operator": "fused-moe",
"runtime": "vllm",
"runtime_version": "<string>",
"tuner": "<string>"
},
"managed_runtime_seconds": 43650,
"max_replicas": 1,
"min_replicas": 1,
"model_adapters": [
{
"name": "<string>",
"repository": "<string>",
"revision": "<string>",
"rank": 256
}
],
"model_revision": "<string>",
"model_secret_reference_id": "<string>",
"port": 32768,
"provider_adapter": "<string>",
"region": "<string>",
"runtime": "vllm",
"runtime_args": [
"<string>"
],
"runtime_env": {},
"runtime_version": "<string>",
"serving": {
"autoscaling": {
"max": 5000,
"min": 5000,
"owner": "disabled"
},
"backend": "dynamo",
"cache": {
"backend": "none",
"configuration_ref": "<string>",
"disk_gib": 1,
"host_gib": 1,
"memory_gib": 1,
"metrics": true,
"storage_claim": "<string>"
},
"decode": {
"replicas": 5000,
"tensor_parallelism": 512
},
"mode": "aggregated",
"prefill": {
"replicas": 5000,
"tensor_parallelism": 512
},
"profile": "baseline",
"routing": "direct",
"schema_version": "infercrane.serving/v1",
"worker": {
"replicas": 5000,
"tensor_parallelism": 512
}
},
"workload": {
"cancellation": "http-disconnect",
"command": [
"<string>"
],
"drain": "connection",
"image": "<string>",
"metrics_path": "/metrics",
"models_path": "/v1/models",
"port": 32768,
"protocol": "openai",
"readiness_path": "/health",
"shutdown_grace_seconds": 1800
}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"category": "<string>",
"remediation": "<string>",
"request_id": "<string>",
"retryable": true
}
}