Read finished runs as a signed before-and-after Proof Report: output per GPU, latency against your limits, cost per million tokens where the price is known, answer quality, and the verified saving
GET
/
api
/
v1
/
optimization
/
proof-report
Read finished runs as a signed before-and-after Proof Report: output per GPU, latency against your limits, cost per million tokens where the price is known, answer quality, and the verified saving
curl --request GET \
--url http://127.0.0.1:18000/api/v1/optimization/proof-report \
--header 'Authorization: Bearer <token>'import requests
url = "http://127.0.0.1:18000/api/v1/optimization/proof-report"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://127.0.0.1:18000/api/v1/optimization/proof-report', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://127.0.0.1:18000/api/v1/optimization/proof-report"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"report": {
"algorithm_version": "<string>",
"claim_rule": "<string>",
"finished": true,
"limits": [
"<string>"
],
"period": {
"from": "<string>",
"to": "<string>"
},
"report_digest": "<string>",
"schema_version": "infercrane.dev/proof-report/v1",
"summary": {
"annual_saving_usd": 123,
"headline": "<string>",
"monthly_saving_usd": 123,
"output_per_gpu_change_percent": 123,
"verified_workloads": 123,
"workloads": 123,
"cost_per_million_change_percent": 123,
"saving_assumption": "<string>",
"saving_covers": "<string>"
},
"title": "<string>",
"unknown": [
"<string>"
],
"workloads": [
{
"cost_per_million_change_percent": 123,
"gpu_hours_change_percent": 123,
"model": "<string>",
"monthly_saving_usd": 123,
"name": "<string>",
"output_per_gpu_change_percent": 123,
"runs": [
{
"after": {
"accelerator": "<string>",
"accelerator_count": 123,
"args": [
"<string>"
],
"engine": "<string>",
"engine_version": "<string>",
"hourly_usd_per_replica": 123,
"label": "<string>",
"model": "<string>",
"env": {},
"image_digest": "<string>",
"price_source": "<string>",
"price_withheld": "infercrane_rate",
"provider": "<string>",
"region": "<string>"
},
"baseline": {
"basis": "<string>",
"candidate_runs": 123,
"control_runs": 123,
"fresh_servers": true,
"label": "<string>",
"noise_floor_percent": 123,
"reason": "<string>"
},
"before": {
"accelerator": "<string>",
"accelerator_count": 123,
"args": [
"<string>"
],
"engine": "<string>",
"engine_version": "<string>",
"hourly_usd_per_replica": 123,
"label": "<string>",
"model": "<string>",
"env": {},
"image_digest": "<string>",
"price_source": "<string>",
"price_withheld": "infercrane_rate",
"provider": "<string>",
"region": "<string>"
},
"campaign_id": "<string>",
"claim": {
"change_percent": 123,
"claim": "shown",
"disclosures": [
"<string>"
],
"missing": [
"<string>"
],
"noise_floor_percent": 123,
"metric": "<string>",
"technique": "<string>"
},
"evidence": {
"records": [
{
"digest": "<string>",
"kind": "<string>",
"id": "<string>",
"subject": "<string>"
}
],
"report_digest": "<string>",
"report_path": "<string>",
"verify": "<string>"
},
"finished": true,
"headline": "<string>",
"load": 123,
"numbers": [
{
"after": 123,
"basis": "<string>",
"before": 123,
"change_percent": 123,
"decision": "improved",
"higher_is_better": true,
"key": "<string>",
"label": "<string>",
"noise_floor_percent": 123,
"unit": "<string>",
"reason": "<string>",
"withheld": "infercrane_rate"
}
],
"objective": "<string>",
"outcome": "winner_selected",
"quality": {
"after_score": 123,
"basis": "<string>",
"before_score": 123,
"delta": 123,
"prompts": 123,
"servers_each": 123,
"verdict": "PASS",
"answer_rule": "<string>",
"answer_verdict": "<string>",
"eval": "<string>",
"method": "<string>",
"reason": "<string>"
},
"rerun": [
"<string>"
],
"saving": {
"annual_saving_usd": 123,
"cost_per_million_change_percent": 123,
"gpu_hours_change_percent": 123,
"monthly_cost_after_usd": 123,
"monthly_cost_before_usd": 123,
"monthly_gpu_hours_after": 123,
"monthly_gpu_hours_before": 123,
"monthly_output_tokens": 123,
"monthly_saving_usd": 123,
"output_per_gpu_change_percent": 123,
"reasons": [
"<string>"
],
"state": "verified",
"assumption": "<string>",
"monthly_unavailable_reason": "<string>",
"withheld": "infercrane_rate"
},
"simulated_accelerator": true,
"targets": [
{
"after": 123,
"after_met": true,
"at_most": true,
"before": 123,
"before_met": true,
"key": "ttft_p95_ms",
"label": "<string>",
"limit": 123,
"unit": "<string>",
"explanation": "<string>"
}
],
"warnings": [
"<string>"
],
"workload": {
"requests_per_run": 123,
"source": "<string>",
"method": "<string>",
"profile": "<string>",
"shape_digest": "<string>"
},
"objective_metric": "<string>"
}
],
"summary": "<string>",
"traffic": "<string>",
"verdict": "verified_at_every_load",
"loads": {
"bands": [
{
"decision": "winner",
"load": 123,
"reason": "<string>",
"winner": "<string>"
}
],
"metric": "<string>",
"reason": "<string>",
"summary": "one_setup"
},
"loads_reason": "<string>"
}
],
"prepared_for": "<string>"
},
"signature": {
"algorithm": "Ed25519-SHA256",
"digest": "<string>",
"key_id": "<string>",
"public_key": "<string>",
"signature": "<string>"
},
"unsigned_reason": "proof_not_finished"
}{
"error": {
"code": "<string>",
"message": "<string>",
"category": "<string>",
"remediation": "<string>",
"request_id": "<string>",
"retryable": true
}
}Authorizations
Query Parameters
Response
Success
⌘I
Read finished runs as a signed before-and-after Proof Report: output per GPU, latency against your limits, cost per million tokens where the price is known, answer quality, and the verified saving
curl --request GET \
--url http://127.0.0.1:18000/api/v1/optimization/proof-report \
--header 'Authorization: Bearer <token>'import requests
url = "http://127.0.0.1:18000/api/v1/optimization/proof-report"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://127.0.0.1:18000/api/v1/optimization/proof-report', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://127.0.0.1:18000/api/v1/optimization/proof-report"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"report": {
"algorithm_version": "<string>",
"claim_rule": "<string>",
"finished": true,
"limits": [
"<string>"
],
"period": {
"from": "<string>",
"to": "<string>"
},
"report_digest": "<string>",
"schema_version": "infercrane.dev/proof-report/v1",
"summary": {
"annual_saving_usd": 123,
"headline": "<string>",
"monthly_saving_usd": 123,
"output_per_gpu_change_percent": 123,
"verified_workloads": 123,
"workloads": 123,
"cost_per_million_change_percent": 123,
"saving_assumption": "<string>",
"saving_covers": "<string>"
},
"title": "<string>",
"unknown": [
"<string>"
],
"workloads": [
{
"cost_per_million_change_percent": 123,
"gpu_hours_change_percent": 123,
"model": "<string>",
"monthly_saving_usd": 123,
"name": "<string>",
"output_per_gpu_change_percent": 123,
"runs": [
{
"after": {
"accelerator": "<string>",
"accelerator_count": 123,
"args": [
"<string>"
],
"engine": "<string>",
"engine_version": "<string>",
"hourly_usd_per_replica": 123,
"label": "<string>",
"model": "<string>",
"env": {},
"image_digest": "<string>",
"price_source": "<string>",
"price_withheld": "infercrane_rate",
"provider": "<string>",
"region": "<string>"
},
"baseline": {
"basis": "<string>",
"candidate_runs": 123,
"control_runs": 123,
"fresh_servers": true,
"label": "<string>",
"noise_floor_percent": 123,
"reason": "<string>"
},
"before": {
"accelerator": "<string>",
"accelerator_count": 123,
"args": [
"<string>"
],
"engine": "<string>",
"engine_version": "<string>",
"hourly_usd_per_replica": 123,
"label": "<string>",
"model": "<string>",
"env": {},
"image_digest": "<string>",
"price_source": "<string>",
"price_withheld": "infercrane_rate",
"provider": "<string>",
"region": "<string>"
},
"campaign_id": "<string>",
"claim": {
"change_percent": 123,
"claim": "shown",
"disclosures": [
"<string>"
],
"missing": [
"<string>"
],
"noise_floor_percent": 123,
"metric": "<string>",
"technique": "<string>"
},
"evidence": {
"records": [
{
"digest": "<string>",
"kind": "<string>",
"id": "<string>",
"subject": "<string>"
}
],
"report_digest": "<string>",
"report_path": "<string>",
"verify": "<string>"
},
"finished": true,
"headline": "<string>",
"load": 123,
"numbers": [
{
"after": 123,
"basis": "<string>",
"before": 123,
"change_percent": 123,
"decision": "improved",
"higher_is_better": true,
"key": "<string>",
"label": "<string>",
"noise_floor_percent": 123,
"unit": "<string>",
"reason": "<string>",
"withheld": "infercrane_rate"
}
],
"objective": "<string>",
"outcome": "winner_selected",
"quality": {
"after_score": 123,
"basis": "<string>",
"before_score": 123,
"delta": 123,
"prompts": 123,
"servers_each": 123,
"verdict": "PASS",
"answer_rule": "<string>",
"answer_verdict": "<string>",
"eval": "<string>",
"method": "<string>",
"reason": "<string>"
},
"rerun": [
"<string>"
],
"saving": {
"annual_saving_usd": 123,
"cost_per_million_change_percent": 123,
"gpu_hours_change_percent": 123,
"monthly_cost_after_usd": 123,
"monthly_cost_before_usd": 123,
"monthly_gpu_hours_after": 123,
"monthly_gpu_hours_before": 123,
"monthly_output_tokens": 123,
"monthly_saving_usd": 123,
"output_per_gpu_change_percent": 123,
"reasons": [
"<string>"
],
"state": "verified",
"assumption": "<string>",
"monthly_unavailable_reason": "<string>",
"withheld": "infercrane_rate"
},
"simulated_accelerator": true,
"targets": [
{
"after": 123,
"after_met": true,
"at_most": true,
"before": 123,
"before_met": true,
"key": "ttft_p95_ms",
"label": "<string>",
"limit": 123,
"unit": "<string>",
"explanation": "<string>"
}
],
"warnings": [
"<string>"
],
"workload": {
"requests_per_run": 123,
"source": "<string>",
"method": "<string>",
"profile": "<string>",
"shape_digest": "<string>"
},
"objective_metric": "<string>"
}
],
"summary": "<string>",
"traffic": "<string>",
"verdict": "verified_at_every_load",
"loads": {
"bands": [
{
"decision": "winner",
"load": 123,
"reason": "<string>",
"winner": "<string>"
}
],
"metric": "<string>",
"reason": "<string>",
"summary": "one_setup"
},
"loads_reason": "<string>"
}
],
"prepared_for": "<string>"
},
"signature": {
"algorithm": "Ed25519-SHA256",
"digest": "<string>",
"key_id": "<string>",
"public_key": "<string>",
"signature": "<string>"
},
"unsigned_reason": "proof_not_finished"
}{
"error": {
"code": "<string>",
"message": "<string>",
"category": "<string>",
"remediation": "<string>",
"request_id": "<string>",
"retryable": true
}
}