Shows charges per instance, including GPU, storage, and bandwidth. For invoice/payment records (Stripe top-ups, transfers, payouts), use show invoices instead.
table (default) flat list of per-contract rows with type: "instance" or "volume".
tree serverless contracts are collapsed under endpoint/workergroup wrappers with type: "serverless" and source: "endpoint-<id>" / "workergroup-<id>". Regular instances and volumes are unchanged.
Pass the next_token value from the previous response to fetch the next page of results. When the response returns next_token: null, there are no more pages.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Vast.ai Documentation: Affordable GPU Cloud Marketplace","colors":{"primary":"#315FFF","light":"#315FFF","dark":"#315FFF"},"logo":{"light":"https://mintcdn.com/vastai-80aa3a82/lDYZh_6OFg5OOaSN/logo/light.svg?fit=max\u0026auto=format\u0026n=lDYZh_6OFg5OOaSN\u0026q=85\u0026s=7f79454b79a0cfc463ec063cd29faea0","dark":"https://mintcdn.com/vastai-80aa3a82/lDYZh_6OFg5OOaSN/logo/dark.svg?fit=max\u0026auto=format\u0026n=lDYZh_6OFg5OOaSN\u0026q=85\u0026s=a0ab9c5200d0f126bb744a83bc1b1ee2"},"favicon":"https://mintcdn.com/vastai-80aa3a82/1e4lY_zkN1CU9p24/favicon.svg?fit=max\u0026auto=format\u0026n=1e4lY_zkN1CU9p24\u0026q=85\u0026s=0d6a4623043c830bd4703fe39c7c8dc3","navbar":{"links":[{"href":"/guides/reference/faq","label":"FAQ"},{"href":"https://discord.gg/vast","label":"Discord"}],"primary":{"type":"button","label":"Console","href":"https://cloud.vast.ai/"}},"footer":{"socials":{"x":"https://x.com/vast_ai","github":"https://github.com/vast-ai","youtube":"https://www.youtube.com/@vast_ai/videos"}},"seo":{"metatags":{"indexing":"all","author":"Vast.ai Team","robots":"index, follow","googlebot":"index, follow","google":"notranslate","google-site-verification":"WHKqvZxf1snX5HX4y0luN_AnAvAPGoSjUcMv03b_NsI","generator":"Mintlify","theme-color":"#000000","color-scheme":"light dark","format-detection":"telephone=no","referrer":"origin","rating":"general","revisit-after":"7 days","language":"en","copyright":"Copyright 2025","reply-to":"contact@vast.ai","distribution":"global","coverage":"Worldwide","category":"Developer Documentation","target":"all","HandheldFriendly":"True","MobileOptimized":"320","apple-mobile-web-app-capable":"yes","apple-mobile-web-app-status-bar-style":"black","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@vast_ai","twitter:creator":"@vast_ai"}},"integrations":{"ga4":{"measurementId":"G-DG15WC8WXG"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vastai-80aa3a82","hasAudioNarration":false,"actualSubdomain":"vastai-80aa3a82","customDomains":["docs.vast.ai"],"gitSource":{"type":"github","owner":"vast-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adfbe11db56f9a377f1e85d","collectionId":"19df4429-5845-44de-b641-dfaf4afb19cb","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adfbe11db56f9a377f1e85d"},"feedback":{"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6adfc284cade0989ea623e30","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"CLI \u0026 SDK","count":258},{"language":"default","tag":"CLI","count":148},{"language":"default","tag":"SDK","count":143},{"language":"default","tag":"API","count":108},{"language":"default","tag":"Guides","count":101},{"language":"default","tag":"Endpoints","count":100},{"language":"default","tag":"Instances","count":94},{"language":"default","tag":"Host","count":87},{"language":"default","tag":"Serverless","count":80},{"language":"default","tag":"Accounts","count":58}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@media (min-width:1024px){div:has(>nav#sidebar){max-width:none!important}#navbar>div{max-width:none!important}#content-area>#content,#content-area>#header{max-width:900px;margin-left:auto;margin-right:auto}}.table-column-dividers td+td,.table-column-dividers th+th{border-left:1px solid color-mix(in srgb,currentColor 20%,transparent)}"}],"page":{"pagePath":"api-reference/billing/show-charges","slug":"/api-reference/billing/show-charges","pageMetadata":{"title":"show charges","description":"Shows charges per instance, including GPU, storage, and bandwidth. For invoice/payment records (Stripe top-ups, transfers, payouts), use [show invoices](/api-reference/billing/show-invoices) instead.\n\nCLI: `vastai show invoices-v1 --charges`","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/charges","href":"/api-reference/billing/show-charges","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Shows charges per instance, including GPU, storage, and bandwidth. For invoice/payment records (Stripe top-ups, transfers, payouts), use \", _jsx(_components.a, {\n href: \"/api-reference/billing/show-invoices\",\n children: \"show invoices\"\n }), \" instead.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"CLI: \", _jsx(_components.code, {\n children: \"vastai show invoices-v1 --charges\"\n })]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"show charges","description":"Shows charges per instance, including GPU, storage, and bandwidth. For invoice/payment records (Stripe top-ups, transfers, payouts), use [show invoices](/api-reference/billing/show-invoices) instead.\n\nCLI: `vastai show invoices-v1 --charges`","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/charges","href":"/api-reference/billing/show-charges","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/vastai-80aa3a82/54e4ee435ab02cb8/structured-data.js"],"openApiReferenceData":{"operation":{"summary":"show charges","description":"Shows charges per instance, including GPU, storage, and bandwidth. For invoice/payment records (Stripe top-ups, transfers, payouts), use [show invoices](/api-reference/billing/show-invoices) instead.\n\nCLI: `vastai show invoices-v1 --charges`","security":["f98dd20e-eb6b-4b70-bfa0-603ea71aa38a"],"parameters":["d521f68a-0bae-4999-9cca-8b2564aa4b51","6d94ddca-4ead-415a-934e-08b5ff8c8ad6","a1ce74cd-a7bc-4895-a5bf-a7dfdd95198f","1ec26c0b-7a19-4b7c-8cf2-f790b5047062","029944f9-5d96-411d-9530-a70f6b01755b"],"responses":{"200":"653ad330-d6d0-42c7-8379-10d06da8f9d7","400":"bff8c5c9-9329-454a-9f53-1fbe441b3e52","401":"3f79e623-a0fb-47dc-a066-bd73564892e7","403":"292a5991-019f-401b-8280-be184c6653f6","404":"3aededa7-a01d-4485-b32b-1509ea64dc51","429":"0eb39fbe-0d69-45f5-9f65-080b02326709"},"tags":["Billing"],"operationId":"showCharges","method":"get","type":"path","servers":["c7cdb9c9-02bd-454f-9a80-79254001583e"],"path":"/api/v0/charges","baseUrlOptions":["https://console.vast.ai"],"title":"show charges","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d521f68a-0bae-4999-9cca-8b2564aa4b51":{"name":"select_filters","in":"query","required":true,"description":"**`day`** (required). Date range in unix seconds (UTC). Operators: `gte`, `lte`.\n\n**`type`** (optional). Filter by contract type: `instance`, `volume`, `serverless`. Operator: `in`.\n\n**Examples**:\n```json\n// All charges in January 2026\n{\"day\":{\"gte\":1767225600,\"lte\":1769903999}}\n\n// Only instance charges\n{\"day\":{\"gte\":1767225600,\"lte\":1769903999},\"type\":{\"in\":[\"instance\"]}}\n\n// Volumes and serverless only\n{\"day\":{\"gte\":1767225600,\"lte\":1769903999},\"type\":{\"in\":[\"volume\",\"serverless\"]}}\n```\n","schema":{"type":"string","isRequired":true,"description":"**`day`** (required). Date range in unix seconds (UTC). Operators: `gte`, `lte`.\n\n**`type`** (optional). Filter by contract type: `instance`, `volume`, `serverless`. Operator: `in`.\n\n**Examples**:\n```json\n// All charges in January 2026\n{\"day\":{\"gte\":1767225600,\"lte\":1769903999}}\n\n// Only instance charges\n{\"day\":{\"gte\":1767225600,\"lte\":1769903999},\"type\":{\"in\":[\"instance\"]}}\n\n// Volumes and serverless only\n{\"day\":{\"gte\":1767225600,\"lte\":1769903999},\"type\":{\"in\":[\"volume\",\"serverless\"]}}\n```\n","uniqueKey":"","typeLabel":"string"}},"6d94ddca-4ead-415a-934e-08b5ff8c8ad6":{"name":"format","in":"query","required":false,"description":"- `table` (default) flat list of per-contract rows with `type: \"instance\"` or `\"volume\"`.\n- `tree` serverless contracts are collapsed under endpoint/workergroup wrappers with `type: \"serverless\"` and `source: \"endpoint-\u003cid>\"` / `\"workergroup-\u003cid>\"`. Regular instances and volumes are unchanged.\n","schema":{"type":"string","enum":["table","tree"],"default":"table","example":"table","isRequired":false,"description":"- `table` (default) flat list of per-contract rows with `type: \"instance\"` or `\"volume\"`.\n- `tree` serverless contracts are collapsed under endpoint/workergroup wrappers with `type: \"serverless\"` and `source: \"endpoint-\u003cid>\"` / `\"workergroup-\u003cid>\"`. Regular instances and volumes are unchanged.\n","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"a1ce74cd-a7bc-4895-a5bf-a7dfdd95198f":{"name":"latest_first","in":"query","required":false,"description":"Sort by most recent charges first.","schema":{"type":"boolean","default":true,"example":true,"isRequired":false,"description":"Sort by most recent charges first.","uniqueKey":"","typeLabel":"boolean"}},"1ec26c0b-7a19-4b7c-8cf2-f790b5047062":{"name":"limit","in":"query","required":false,"description":"Max results per page. Server maximum 500.","schema":{"type":"integer","minimum":1,"default":100,"example":20,"isRequired":false,"description":"Max results per page. Server maximum 500.","uniqueKey":"","typeLabel":"integer"}},"029944f9-5d96-411d-9530-a70f6b01755b":{"name":"after_token","in":"query","required":false,"description":"Pass the `next_token` value from the previous response to fetch the next page of results. When the response returns `next_token: null`, there are no more pages.","schema":{"type":"string","example":"eyJ2YWx1ZXMiOiB7ImlkIjogMTIzNDU2Nzh9fQ==","isRequired":false,"description":"Pass the `next_token` value from the previous response to fetch the next page of results. When the response returns `next_token: null`, there are no more pages.","uniqueKey":"","typeLabel":"string"}}},"responses":{"653ad330-d6d0-42c7-8379-10d06da8f9d7":{"description":"Paginated per-instance charge results","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true,"uniqueKey":"success","typeLabel":"boolean"},"count":{"type":"integer","description":"Number of contracts returned in this page.","example":2,"uniqueKey":"count","typeLabel":"integer"},"total":{"type":"integer","description":"Total number of contracts matching the filters.","example":14,"uniqueKey":"total","typeLabel":"integer"},"next_token":{"oneOf":[{"type":"string","description":"Pagination cursor for the next page. `null` when no more pages.","example":"eyJ2YWx1ZXMiOiB7ImlkIjogMTIzNDU2Nzh9fQ==","uniqueKey":"next_token.oneOf.0","typeLabel":"string"},{"type":"null","description":"Pagination cursor for the next page. `null` when no more pages.","example":"eyJ2YWx1ZXMiOiB7ImlkIjogMTIzNDU2Nzh9fQ==","uniqueKey":"next_token.oneOf.1","typeLabel":"null"}],"uniqueKey":"next_token","typeLabel":"string | null"},"results":{"type":"array","description":"List of per-contract charge entries.","items":{"type":"object","properties":{"start":{"type":"integer","description":"Contract start time (unix seconds UTC).","example":1730419200,"uniqueKey":"results.items.[INDEX].start","typeLabel":"integer"},"end":{"type":"integer","description":"Contract end time (unix seconds UTC).","example":1730678400,"uniqueKey":"results.items.[INDEX].end","typeLabel":"integer"},"type":{"type":"string","description":"Contract type. `instance` or `volume` in table format, or `serverless` (wrapper) in tree format.","example":"instance","uniqueKey":"results.items.[INDEX].type","typeLabel":"string"},"source":{"type":"string","description":"Identifier in the form `{type}-{id}`. For tree-format serverless wrappers, uses `endpoint-\u003cid>` or `workergroup-\u003cid>`.","example":"instance-12345678","uniqueKey":"results.items.[INDEX].source","typeLabel":"string"},"description":{"type":"string","example":"Instance 12345678 Charges - 4 days","uniqueKey":"results.items.[INDEX].description","typeLabel":"string"},"amount":{"type":"number","format":"float","description":"Total charge for this contract (rounded to 3 decimals).","example":38.421,"uniqueKey":"results.items.[INDEX].amount","typeLabel":"number\u003cfloat>"},"metadata":{"type":"object","description":"Optional instance metadata. Keys present only when non-null on the contract.","properties":{"template_id":{"type":"integer","example":101,"uniqueKey":"results.items.[INDEX].metadata.template_id","typeLabel":"integer"},"label":{"type":"string","example":"my-training-job","uniqueKey":"results.items.[INDEX].metadata.label","typeLabel":"string"},"endpoint_id":{"type":"integer","example":19392,"uniqueKey":"results.items.[INDEX].metadata.endpoint_id","typeLabel":"integer"},"workergroup_id":{"type":"integer","example":25355,"uniqueKey":"results.items.[INDEX].metadata.workergroup_id","typeLabel":"integer"}},"uniqueKey":"results.items.[INDEX].metadata","typeLabel":"object"},"items":{"type":"array","description":"Per-charge-type breakdown (`gpu`, `disk`, `bwd`, `bwu`). Empty for tree-format wrappers above the contract level.","items":{"type":"object","properties":{"start":{"type":"integer","example":1730419200,"uniqueKey":"results.items.[INDEX].\\items.items.[INDEX].start","typeLabel":"integer"},"end":{"type":"integer","example":1730678400,"uniqueKey":"results.items.[INDEX].\\items.items.[INDEX].end","typeLabel":"integer"},"type":{"type":"string","enum":["gpu","disk","bwd","bwu"],"example":"gpu","uniqueKey":"results.items.[INDEX].\\items.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"source":{"oneOf":[{"type":"string","example":null,"uniqueKey":"results.items.[INDEX].\\items.items.[INDEX].source.oneOf.0","typeLabel":"string"},{"type":"null","example":null,"uniqueKey":"results.items.[INDEX].\\items.items.[INDEX].source.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].\\items.items.[INDEX].source","typeLabel":"string | null"},"description":{"type":"string","example":"96.000 hours at $0.389/hour","uniqueKey":"results.items.[INDEX].\\items.items.[INDEX].description","typeLabel":"string"},"amount":{"type":"number","format":"float","example":37.344,"uniqueKey":"results.items.[INDEX].\\items.items.[INDEX].amount","typeLabel":"number\u003cfloat>"},"metadata":{"type":"object","example":{},"uniqueKey":"results.items.[INDEX].\\items.items.[INDEX].metadata","typeLabel":"object"},"items":{"type":"array","example":[],"uniqueKey":"results.items.[INDEX].\\items.items.[INDEX].\\items","typeLabel":"array"}},"uniqueKey":"results.items.[INDEX].\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"results.items.[INDEX].\\items","typeLabel":"object[]"}},"uniqueKey":"results.items.[INDEX]","typeLabel":"object"},"uniqueKey":"results","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"count":2,"total":14,"next_token":"eyJ2YWx1ZXMiOiB7ImlkIjogMTIzNDU2Nzh9fQ==","results":[{"start":1730419200,"end":1730678400,"type":"instance","source":"instance-12345678","description":"Instance 12345678 Charges - 4 days","amount":38.421,"metadata":{"template_id":101,"label":"my-training-job","endpoint_id":19392,"workergroup_id":25355},"items":[{"start":1730419200,"end":1730678400,"type":"gpu","source":null,"description":"96.000 hours at $0.389/hour","amount":37.344,"metadata":{},"items":[]}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"bff8c5c9-9329-454a-9f53-1fbe441b3e52":{"description":"Invalid request. Returned when the required `day.gte` / `day.lte` filters are missing, or when the supplied `after_token` cannot be decoded.\n","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"msg":{"type":"string","uniqueKey":"msg","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"missing_date_range":{"title":"missing_date_range","value":{"success":false,"msg":"Must provide both 'day' gte and lte filters for instance charges"}},"invalid_pagination_token":{"title":"invalid_pagination_token","value":{"success":false,"error":"invalid_token","msg":"Invalid pagination token"}}},"exampleType":"examples"}},"exampleType":"examples"},"3f79e623-a0fb-47dc-a066-bd73564892e7":{"description":"Unauthorized. May be returned in framework-level authentication failure cases.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"msg":{"type":"string","uniqueKey":"msg","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"\u003cstring>","msg":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"292a5991-019f-401b-8280-be184c6653f6":{"description":"Forbidden. Returned when no `Authorization` header is provided.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"msg":{"type":"string","uniqueKey":"msg","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":"auth_error","msg":"This action requires login."},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"auth_error","msg":"This action requires login."}}},"exampleType":"examples"}},"exampleType":"examples"},"3aededa7-a01d-4485-b32b-1509ea64dc51":{"description":"Not Found. Returned when the supplied API key does not match any user.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"msg":{"type":"string","uniqueKey":"msg","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":"auth_error","msg":"Invalid user key"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"auth_error","msg":"Invalid user key"}}},"exampleType":"examples"}},"exampleType":"examples"},"0eb39fbe-0d69-45f5-9f65-080b02326709":{"description":"Too Many Requests","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","example":"API requests too frequent endpoint threshold=1.0","uniqueKey":"detail","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":"API requests too frequent endpoint threshold=1.0"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"f98dd20e-eb6b-4b70-bfa0-603ea71aa38a":{"BearerAuth":{"type":"http","scheme":"bearer","description":"API key must be provided in the Authorization header","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"c7cdb9c9-02bd-454f-9a80-79254001583e":{"url":"https://console.vast.ai","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"API key must be provided in the Authorization header","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key must be provided in the Authorization header","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"vastai-80aa3a82","siteName":"Vast.ai Documentation: Affordable GPU Cloud Marketplace","title":"show charges - Vast.ai Documentation: Affordable GPU Cloud Marketplace","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-21T00:56:45.556Z","originalFileLocation":"api-reference/billing/show-charges.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Shows charges per instance, including GPU, storage, and bandwidth. For invoice/payment records (Stripe top-ups, transfers, payouts), use show invoices instead. CLI: vastai show invoices-v1 --charges\">\u003cmeta data-mint-head name=\"application-name\" content=\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"show charges - Vast.ai Documentation: Affordable GPU Cloud Marketplace\">\u003cmeta data-mint-head property=\"og:description\" content=\"Shows charges per instance, including GPU, storage, and bandwidth. For invoice/payment records (Stripe top-ups, transfers, payouts), use show invoices instead. CLI: vastai show invoices-v1 --charges\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.vast.ai/api-reference/billing/show-charges\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vastai-80aa3a82.mintlify.app/_mintlify/api/og/v2?division=Billing\u0026amp;title=show+charges\u0026amp;description=Shows+charges+per+instance%2C+including+GPU%2C+storage%2C+and+bandwidth.+For+invoice%2Fpayment+records+%28Stripe+top-ups%2C+transfers%2C+payouts%29%2C+use+%5Bshow+invoices%5D%28%2Fapi-re\u0026amp;theme=bf5e39208aeafab2e44b0496\u0026amp;signature=892952c80af821e446df07f838791379fc0abaa3be9bd2bd9f908d041b69d19d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"show charges - Vast.ai Documentation: Affordable GPU Cloud Marketplace\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Shows charges per instance, including GPU, storage, and bandwidth. For invoice/payment records (Stripe top-ups, transfers, payouts), use show invoices instead. CLI: vastai show invoices-v1 --charges\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vastai-80aa3a82.mintlify.app/_mintlify/api/og/v2?division=Billing\u0026amp;title=show+charges\u0026amp;description=Shows+charges+per+instance%2C+including+GPU%2C+storage%2C+and+bandwidth.+For+invoice%2Fpayment+records+%28Stripe+top-ups%2C+transfers%2C+payouts%29%2C+use+%5Bshow+invoices%5D%28%2Fapi-re\u0026amp;theme=bf5e39208aeafab2e44b0496\u0026amp;signature=892952c80af821e446df07f838791379fc0abaa3be9bd2bd9f908d041b69d19d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/vastai-80aa3a82/Xpia3h5CJX2PzgYG/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#315FFF\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"indexing\" content=\"all\">\u003cmeta data-mint-head name=\"author\" content=\"Vast.ai Team\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003cmeta data-mint-head name=\"google\" content=\"notranslate\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"WHKqvZxf1snX5HX4y0luN_AnAvAPGoSjUcMv03b_NsI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#000000\">\u003cmeta data-mint-head name=\"color-scheme\" content=\"light dark\">\u003cmeta data-mint-head name=\"format-detection\" content=\"telephone=no\">\u003cmeta data-mint-head name=\"referrer\" content=\"origin\">\u003cmeta data-mint-head name=\"rating\" content=\"general\">\u003cmeta data-mint-head name=\"revisit-after\" content=\"7 days\">\u003cmeta data-mint-head name=\"language\" content=\"en\">\u003cmeta data-mint-head name=\"copyright\" content=\"Copyright 2025\">\u003cmeta data-mint-head name=\"reply-to\" content=\"contact@vast.ai\">\u003cmeta data-mint-head name=\"distribution\" content=\"global\">\u003cmeta data-mint-head name=\"coverage\" content=\"Worldwide\">\u003cmeta data-mint-head name=\"category\" content=\"Developer Documentation\">\u003cmeta data-mint-head name=\"target\" content=\"all\">\u003cmeta data-mint-head name=\"HandheldFriendly\" content=\"True\">\u003cmeta data-mint-head name=\"MobileOptimized\" content=\"320\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-capable\" content=\"yes\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-status-bar-style\" content=\"black\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@vast_ai\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.vast.ai/api-reference/billing/show-charges\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/billing/show-charges.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.vast.ai/#organization\",\"name\":\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\",\"url\":\"https://docs.vast.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vastai-80aa3a82/lDYZh_6OFg5OOaSN/logo/light.svg?fit=max\u0026auto=format\u0026n=lDYZh_6OFg5OOaSN\u0026q=85\u0026s=7f79454b79a0cfc463ec063cd29faea0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.vast.ai#website\",\"name\":\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\",\"url\":\"https://docs.vast.ai\",\"publisher\":{\"@id\":\"https://docs.vast.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.vast.ai/api-reference/billing/show-charges#webpage\",\"url\":\"https://docs.vast.ai/api-reference/billing/show-charges\",\"name\":\"show charges\",\"description\":\"Shows charges per instance, including GPU, storage, and bandwidth. For invoice/payment records (Stripe top-ups, transfers, payouts), use show invoices instead. CLI: vastai show invoices-v1 --charges\",\"dateModified\":\"2026-10-21T00:56:45.556Z\",\"isPartOf\":{\"@id\":\"https://docs.vast.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.vast.ai/api-reference/billing/show-charges#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.vast.ai/api-reference/billing/show-charges#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.vast.ai/api-reference/instances/show-ssh-keys\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"show charges\",\"item\":\"https://docs.vast.ai/api-reference/billing/show-charges\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.vast.ai/api-reference/billing/show-charges#apireference\",\"headline\":\"show charges\",\"name\":\"show charges\",\"description\":\"Shows charges per instance, including GPU, storage, and bandwidth. For invoice/payment records (Stripe top-ups, transfers, payouts), use show invoices instead. CLI: vastai show invoices-v1 --charges\",\"url\":\"https://docs.vast.ai/api-reference/billing/show-charges\",\"mainEntityOfPage\":{\"@id\":\"https://docs.vast.ai/api-reference/billing/show-charges#webpage\"},\"dateModified\":\"2026-10-21T00:56:45.556Z\",\"publisher\":{\"@id\":\"https://docs.vast.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.vast.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Vast.ai Documentation: Affordable GPU Cloud Marketplace\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Vast.ai Documentation: Affordable GPU Cloud Marketplace","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/get-started"}]},{"tab":"CLI \u0026 SDK","pages":[{"title":"CLI \u0026 SDK","href":"/cli/hello-world"}]},{"tab":"API","groups":[{"group":"Overview","icon":"book","pages":[{"title":"API Hello World","sidebarTitle":"API","href":"/api-reference/hello-world"},{"title":"API Reference","sidebarTitle":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/api-reference/authentication"},{"title":"Permissions","sidebarTitle":"Permissions","href":"/api-reference/permissions"},{"title":"Two-Factor Authentication Endpoints","href":"/api-reference/two-factor-authentication-endpoints"},{"title":"Rate Limits and Errors","href":"/api-reference/rate-limits-and-errors"}]},{"group":"Common workflows","icon":"list-check","pages":[{"title":"Creating Instances with the API","sidebarTitle":"Instances","href":"/api-reference/creating-instances-with-api"},{"title":"Creating and Using Templates with API","sidebarTitle":"Templates","href":"/api-reference/creating-and-using-templates-with-api"}]},{"group":"Endpoints","icon":"webhook","pages":[{"group":"Instances","pages":[{"title":"show ssh-keys","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/instances/{id}/ssh","href":"/api-reference/instances/show-ssh-keys"},{"title":"attach ssh-key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/instances/{id}/ssh","href":"/api-reference/instances/attach-ssh-key"},{"title":"copy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/commands/copy_direct","href":"/api-reference/instances/copy"},{"title":"cancel copy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v0/commands/copy_direct","href":"/api-reference/instances/cancel-copy"},{"title":"cloud copy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/commands/rclone","href":"/api-reference/instances/cloud-copy"},{"title":"cancel sync","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v0/commands/rclone","href":"/api-reference/instances/cancel-sync"},{"title":"change bid","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/instances/bid_price/{id}","href":"/api-reference/instances/change-bid"},{"title":"create instance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/asks/{id}","href":"/api-reference/instances/create-instance"},{"title":"show instance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/instances/{id}","href":"/api-reference/instances/show-instance"},{"title":"manage instance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/instances/{id}","href":"/api-reference/instances/manage-instance"},{"title":"destroy instance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v0/instances/{id}","href":"/api-reference/instances/destroy-instance"},{"title":"detach ssh-key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v0/instances/{id}/ssh/{ssh_key_id}","href":"/api-reference/instances/detach-ssh-key"},{"title":"execute","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/instances/command/{id}","href":"/api-reference/instances/execute"},{"title":"show logs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/instances/request_logs/{id}","href":"/api-reference/instances/show-logs"},{"title":"prepay instance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/instances/prepay/{id}","href":"/api-reference/instances/prepay-instance"},{"title":"reboot instance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/instances/reboot/{id}","href":"/api-reference/instances/reboot-instance"},{"title":"recycle instance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/instances/recycle/{id}","href":"/api-reference/instances/recycle-instance"},{"title":"show instances","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/instances","href":"/api-reference/instances/show-instances"}]},{"group":"Machines","pages":[{"title":"cancel maint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/machines/{machine_id}/cancel_maint","href":"/api-reference/machines/cancel-maint"},{"title":"cleanup machine","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/machines/{machine_id}/cleanup","href":"/api-reference/machines/cleanup-machine"},{"title":"list machine","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/machines/create_asks","href":"/api-reference/machines/list-machine"},{"title":"show gpu metrics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/metrics/gpu/current","href":"/api-reference/machines/show-gpu-metrics"},{"title":"show gpu locations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/metrics/gpu/locations","href":"/api-reference/machines/show-gpu-locations"},{"title":"show gpu trends","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/metrics/gpu/history","href":"/api-reference/machines/show-gpu-trends"},{"title":"remove defjob","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v0/machines/{machine_id}/defjob","href":"/api-reference/machines/remove-defjob"},{"title":"show reports","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/machines/{machine_id}/reports","href":"/api-reference/machines/show-reports"},{"title":"schedule maint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/machines/{machine_id}/dnotify","href":"/api-reference/machines/schedule-maint"},{"title":"set defjob","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/machines/create_bids","href":"/api-reference/machines/set-defjob"},{"title":"set min-bid","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/machines/{machine_id}/minbid","href":"/api-reference/machines/set-min-bid"},{"title":"show machines","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/machines","href":"/api-reference/machines/show-machines"},{"title":"unlist machine","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v0/machines/{machine_id}/asks","href":"/api-reference/machines/unlist-machine"}]},{"group":"Accounts","pages":[{"title":"show api keys","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/auth/apikeys","href":"/api-reference/accounts/show-api-keys"},{"title":"create api-key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/auth/apikeys","href":"/api-reference/accounts/create-api-key"},{"title":"show env vars","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/secrets","href":"/api-reference/accounts/show-env-vars"},{"title":"update env var","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/secrets","href":"/api-reference/accounts/update-env-var"},{"title":"create env-var","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/secrets","href":"/api-reference/accounts/create-env-var"},{"title":"delete env var","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v0/secrets","href":"/api-reference/accounts/delete-env-var"},{"title":"show ssh keys","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/ssh","href":"/api-reference/accounts/show-ssh-keys"},{"title":"create ssh-key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/ssh","href":"/api-reference/accounts/create-ssh-key"},{"title":"set user","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/users","href":"/api-reference/accounts/set-user"},{"title":"create subaccount","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/users","href":"/api-reference/accounts/create-subaccount"},{"title":"delete api key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v0/auth/apikeys/{id}","href":"/api-reference/accounts/delete-api-key"},{"title":"update ssh key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/ssh/{id}","href":"/api-reference/accounts/update-ssh-key"},{"title":"delete ssh key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v0/ssh/{id}","href":"/api-reference/accounts/delete-ssh-key"},{"title":"show connections","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/users/cloud_integrations","href":"/api-reference/accounts/show-connections"},{"title":"show ipaddrs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/users/{user_id}/ipaddrs","href":"/api-reference/accounts/show-ipaddrs"},{"title":"show subaccounts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/subaccounts","href":"/api-reference/accounts/show-subaccounts"},{"title":"show user","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/users/current","href":"/api-reference/accounts/show-user"},{"title":"transfer credit","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/commands/transfer_credit","href":"/api-reference/accounts/transfer-credit"}]},{"group":"Serverless","pages":[{"title":"show workergroup","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/workergroups","href":"/api-reference/serverless/show-workergroup"},{"title":"create workergroup","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/workergroups","href":"/api-reference/serverless/create-workergroup"},{"title":"show endpoints","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/endptjobs","href":"/api-reference/serverless/show-endpoints"},{"title":"create endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/endptjobs","href":"/api-reference/serverless/create-endpoint"},{"title":"update workergroup","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/workergroups/{id}","href":"/api-reference/serverless/update-workergroup"},{"title":"delete workergroup","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v0/workergroups/{id}","href":"/api-reference/serverless/delete-workergroup"},{"title":"update endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/endptjobs/{id}","href":"/api-reference/serverless/update-endpoint"},{"title":"delete endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v0/endptjobs/{id}","href":"/api-reference/serverless/delete-endpoint"},{"title":"get workergroup logs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /get_workergroup_logs","href":"/api-reference/serverless/get-workergroup-logs"},{"title":"get workergroup workers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /get_workergroup_workers","href":"/api-reference/serverless/get-workergroup-workers"},{"title":"get endpoint logs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /get_endpoint_logs","href":"/api-reference/serverless/get-endpoint-logs"},{"title":"get endpoint workers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /get_endpoint_workers","href":"/api-reference/serverless/get-endpoint-workers"},{"title":"route","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /route","href":"/api-reference/serverless/route"},{"title":"show deployment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/deployment/{id}","href":"/api-reference/serverless/show-deployment"},{"title":"show deployments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/deployments","href":"/api-reference/serverless/show-deployments"},{"title":"start deployment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/deployment/{id}/start","href":"/api-reference/serverless/start-deployment"},{"title":"stop deployment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/deployment/{id}/stop","href":"/api-reference/serverless/stop-deployment"}]},{"group":"Team","pages":[{"title":"create team","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/team","href":"/api-reference/team/create-team"},{"title":"destroy team","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v0/team","href":"/api-reference/team/destroy-team"},{"title":"create team role","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/team/roles","href":"/api-reference/team/create-team-role"},{"title":"invite team member","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/team/invite","href":"/api-reference/team/invite-team-member"},{"title":"remove team member","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v0/team/members/{id}","href":"/api-reference/team/remove-team-member"},{"title":"show team role","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/team/roles/{name}","href":"/api-reference/team/show-team-role"},{"title":"update team role","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/team/roles/{name}","href":"/api-reference/team/update-team-role"},{"title":"remove team role","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v0/team/roles/{name}","href":"/api-reference/team/remove-team-role"},{"title":"show team members","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/team/members","href":"/api-reference/team/show-team-members"},{"title":"show team roles","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/team/roles-full","href":"/api-reference/team/show-team-roles"}]},{"group":"Search","pages":[{"title":"search templates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/template","href":"/api-reference/search/search-templates"},{"title":"search benchmarks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/benchmarks","href":"/api-reference/search/search-benchmarks"},{"title":"search offers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/bundles","href":"/api-reference/search/search-offers"}]},{"group":"Templates","pages":[{"title":"create template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/template","href":"/api-reference/templates/create-template"},{"title":"delete template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v0/template","href":"/api-reference/templates/delete-template"},{"title":"edit template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v1/template","href":"/api-reference/templates/edit-template"}]},{"group":"Volumes","pages":[{"title":"list volumes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/volumes","href":"/api-reference/volumes/list-volumes"},{"title":"rent volume","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/volumes","href":"/api-reference/volumes/rent-volume"},{"title":"delete volume","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v0/volumes","href":"/api-reference/volumes/delete-volume"},{"title":"search volumes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/volumes/search","href":"/api-reference/volumes/search-volumes"},{"title":"unlist volume","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/volumes/unlist","href":"/api-reference/volumes/unlist-volume"}]},{"group":"Notifications","pages":[{"title":"list notification types","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/notification-types","href":"/api-reference/notifications/list-notification-types"},{"title":"get notification preferences","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/users/{user_id}/notification-prefs","href":"/api-reference/notifications/get-notification-preferences"},{"title":"update notification preferences","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/users/{user_id}/notification-prefs","href":"/api-reference/notifications/update-notification-preferences"},{"title":"list notification webhooks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/webhooks","href":"/api-reference/notifications/list-notification-webhooks"},{"title":"create notification webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/webhooks","href":"/api-reference/notifications/create-notification-webhook"},{"title":"update notification webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v0/webhooks/{id}","href":"/api-reference/notifications/update-notification-webhook"},{"title":"delete notification webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v0/webhooks/{id}","href":"/api-reference/notifications/delete-notification-webhook"},{"title":"rotate notification webhook secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/webhooks/{id}/rotate-secret","href":"/api-reference/notifications/rotate-notification-webhook-secret"},{"title":"test notification webhook","description":"Send a test delivery to the webhook URL using the same request format and signature headers as normal webhook delivery.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v0/webhooks/{id}/test","href":"/api-reference/notifications/test-notification-webhook"}]},{"group":"Billing","pages":[{"title":"show charges","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/charges","href":"/api-reference/billing/show-charges"},{"title":"show deposit","description":"Retrieves the deposit details for a specified instance.\n\nCLI Usage: `vastai show deposit \u003cid>`","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/instances/balance/{id}","href":"/api-reference/billing/show-deposit"},{"title":"show earnings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v0/users/{user_id}/machine-earnings","href":"/api-reference/billing/show-earnings"},{"title":"show invoices","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/invoices","href":"/api-reference/billing/show-invoices"}]}]}]},{"tab":"Host","pages":[{"title":"Host","href":"/host/hosting-overview"}]},{"tab":"Examples","pages":[{"title":"Examples","href":"/pytorch"}]}]},"basePath":"","title":"show charges - Vast.ai Documentation: Affordable GPU Cloud Marketplace","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C8RPHPxo.js","utils-0BK-9q6z.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DfjzsUJT.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B4v9psJ4.js","snippetPresets-CpTQv-Ez.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-BNP-Fvr0.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BSgu6h1D.js","shallow-Biv1i9Gs.js","getApiPlaygroundDisplay-BoGOXhtF.js","CodeSnippet-DvQoT18_.js","CodeSnippets-Dnpa15xT.js","Page-Buji1S4J.js","getPastedJson-xAIyhUFE.js","icon-S6FBih11.js","MethodPill-SaYeUZyk.js","DuplicateIcon-Cs-p3v2Q.js","createIcon-DjCFEoHq.js","DynamicMarkdown-BcnBltEQ.js","SectionHeading-BUBl0eEF.js","axios-vUo_bRtp.js","Markdown-h4cOoD8d.js","clsx-B2v50t8t.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DJnKvr0g.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BHrrjR1K.js"]}