Install the Ukiyo compute Skill and rent a GPU through it. On the instance, python3 runs PyTorch (interpreter: /venv/main/bin/python).
The Skill is a SKILL.md plus a shell helper. Its commands wrap the published CLI, so you install the CLI too — the Skill does not reimplement credential storage or payment signing.An account-balance rental is charged at the listed hourly price multiplied by the time the instance is ACTIVE, rounded down to the cent. Data transfer is included. Nothing accrues after termination. A rental that never delivers costs $0.00.
python3 and python run PyTorch. On the instance, python3, python, pip and pip3 all use the image’s PyTorch environment (torch 2.14.1 with CUDA 13), in an interactive shell and over non-interactive SSH alike: ssh host python3 -c "import torch; print(torch.cuda.is_available())" prints True. The interpreter itself is /venv/main/bin/python, also returned as pythonPath in the rental status. Do not build a new environment to get PyTorch, and do not call /usr/bin/python3 or /opt/miniforge3 directly: they have no torch.
1. Install
Install the CLI first. Requires Node.js 24 or newer.
On Linux without shasum, use sha256sum -c -. If verification fails, stop. Then add the extracted ukiyo-compute directory to your client’s Skill location.
This funds through the wallet configured in UKIYO_MACHINE_CONFIG, which must be a private local file. Never put wallet keys into tool arguments or chat. If funding reports pending, do not pay again — run ukiyo topup status --json.A human-paid alternative is ukiyo topup link --amount 5 --json, which returns a hosted checkout URL.
4. Choose a GPU type
scripts/ukiyo.sh offers
Prices come back as pricePerHourMinor in minor units: for example, 84 would mean $0.84/hour. Divide by 100 before showing a price to a user. minimumCreditMinor is the balance needed to start — ten minutes at that price. Each row is a GPU type; you pick the type and Ukiyo picks the machine.
Counts are 1, 2, 4 and 8. --wait returns when the rental is ACTIVE, usually 1 to 4 minutes and at most 15: Ukiyo tries up to three hosts. If none delivers within 15 minutes, Ukiyo fails the rental itself and charges $0.00 — keep polling; there is no need to cancel. Reuse the same idempotency key on a retry so you cannot rent twice. Never tell the user an instance is running until the status says ACTIVE. If the first host fails, Ukiyo tries up to two more of the same type, including hosts listed at up to 160% of your price; you still pay the listed price you were quoted.
scripts/ukiyo.sh listscripts/ukiyo.sh status <deploymentId>
Poll status until ACTIVE. status here is the deployment’s: PROVISIONING_FAILED means no host delivered and you were charged $0.00. When ACTIVE it carries ssh with host, port and username; the private key comes from credentials, save-key or exec. Every status value and the JSON each command returns are on Statuses and response shapes.
6. Get SSH access
ukiyo exec <deploymentId> -- nvidia-smi
scripts/ukiyo.sh credentials <deploymentId> returns a private SSH key. Each call is audited server-side.
Never print it into the transcript unless the user explicitly asks to see it.
Never write it to a file the user has not asked for, and never commit it.
Prefer telling the user it is available and asking where they want it.
Prefer ukiyo exec, which uses the key without printing it.
7. Confirm the GPU works
PyTorch lives in the image’s virtual environment. python3 works too; the full path is shown here:
scripts/ukiyo.sh terminate <deploymentId> does the same in Skill 1.3.0: with no UKIYO_API_TOKEN it hands off to the CLI with --yes --wait --json. Skill 1.2.0 did not pass --yes, so the CLI refused with CONFIRMATION_REQUIRED and the GPU kept billing; if SKILL.md says 1.2.0, download the archive again. The response carries status (TERMINATING or TERMINATED) and the final chargedMinor with chargeFinal: true.Irreversible. It destroys everything on the instance and forfeits remaining runtime. Always confirm with the user first, quoting the deployment id and the GPU name. Never terminate as a cleanup step the user did not ask for. Billing stops at termination and the figure you then see is final.An instance also stops on its own when its runtime ends; nothing renews. If the user’s work matters, remind them to copy it off before then.
How billing works
Unit: usage accrues continuously while the instance is ACTIVE (millisecond precision) at the listed hourly price. The charge is floor(hourly cents × active seconds ÷ 3600) — whole cents, always rounded down. Example only: 109 seconds at 92¢/h is 2.79¢, charged as 2¢.
Hold versus charge: starting a rental needs ten minutes of credit at that GPU’s price (minimumCreditMinor). That amount is held, not charged; the hold extends as you run and is released at termination. You pay only the charge above.
Final: the charge is fixed at termination (chargeFinal: true). Nothing accrues afterwards, data transfer is included, and a rental that never reaches ACTIVE costs $0.00.
On the x402 no-account path the payment is a cap you authorize; the unused remainder returns to the paying wallet in USDC automatically, usually 7 to 12 minutes after termination (allow up to 30).
What is preinstalled
The image is vastai/pytorch:cuda-13.0.3-auto. python3 and python run PyTorch; the interpreter is /venv/main/bin/python. It ships CUDA 13, PyTorch 2.14.1+cu130, torchvision, numpy, pillow, requests and Jupyter. Run /venv/main/bin/pip list for the exact set.For model work, install what you need first:
Use the spaced form in requests: RTX 4090, RTX 6000 Ada, A100 PCIe, A100 SXM4. The catalogue also echoes a compact gpuModel such as RTX4090 — that is a display value, not an input.
Where the price is
The rental create response carries it: data.deployment.unitPriceMinor is the hourly rate in cents for the machine you were given (84 = $0.84/h). GET /api/v1/rentals/<rentalId> returns the same field, and chargedMinor with chargeFinal: true once the rental ends.Other connectors: x402 with no account · HTTP API · MCP · CLI
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ukiyo","description":"Rent GPU compute with a prepaid budget.","colors":{"primary":"#2563eb","light":"#60a5fa","dark":"#1d4ed8"},"logo":{"light":"https://mintcdn.com/ukiyo/2UwC3N4jbR7moicK/logo/ukiyo-logo.png?fit=max\u0026auto=format\u0026n=2UwC3N4jbR7moicK\u0026q=85\u0026s=22a870b07419c67f12f5c647735c58f4","dark":"https://mintcdn.com/ukiyo/2UwC3N4jbR7moicK/logo/ukiyo-logo.png?fit=max\u0026auto=format\u0026n=2UwC3N4jbR7moicK\u0026q=85\u0026s=22a870b07419c67f12f5c647735c58f4","href":"https://u-kiyo.ai"},"favicon":"https://mintcdn.com/ukiyo/Ck2-bRAHJw3Q3R22/favicon.png?fit=max\u0026auto=format\u0026n=Ck2-bRAHJw3Q3R22\u0026q=85\u0026s=390db0720dcc7dba3953239ac0d1273a","navbar":{"links":[{"href":"mailto:support@u-kiyo.ai","label":"Support"}],"primary":{"type":"button","label":"Launch Telegram","href":"https://t.me/UkiyoComputeBot"}},"footer":{"socials":{"github":"https://github.com/ukiyocompute","x":"https://x.com/ukiyocompute","telegram":"https://t.me/+zM445tmt5EAyNTNh","linkedin":"https://www.linkedin.com/company/ukiyo-compute","website":"https://u-kiyo.ai"},"links":[{"header":"Community","items":[{"label":"GitHub","href":"https://github.com/ukiyocompute"},{"label":"Hugging Face","href":"https://huggingface.co/UkiyoCompute"},{"label":"ModelScope","href":"https://www.modelscope.cn/organization/UkiyoCompute"},{"label":"X","href":"https://x.com/ukiyocompute"},{"label":"Telegram","href":"https://t.me/+zM445tmt5EAyNTNh"},{"label":"Substack","href":"https://ukiyocompute.substack.com/"},{"label":"LinkedIn","href":"https://www.linkedin.com/company/ukiyo-compute"}]},{"header":"For AI agents","items":[{"label":"llms-full.txt","href":"https://u-kiyo.ai/llms-full.txt"},{"label":"llms.txt","href":"https://u-kiyo.ai/llms.txt"}]},{"header":"Ukiyo","items":[{"label":"Website","href":"https://u-kiyo.ai"},{"label":"Terms","href":"https://pay.u-kiyo.ai/terms"},{"label":"Privacy","href":"https://pay.u-kiyo.ai/privacy"}]}]},"seo":{"indexing":"all"},"contextual":{"options":["copy","view","assistant","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://u-kiyo.ai"},{"anchor":"GitHub","icon":"github","href":"https://github.com/ukiyocompute"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ukiyo","hasAudioNarration":false,"actualSubdomain":"ukiyo","customDomains":["docs.u-kiyo.ai"],"gitSource":{"type":"github","owner":"ukiyocompute","repo":"ukiyo-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6afcac86f065bd8dc07258f0","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"Documentation","count":22},{"language":"default","tag":"Agents","count":10},{"language":"default","tag":"Renting","count":5},{"language":"default","tag":"Getting Started","count":4},{"language":"default","tag":"Guides","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"rbac-expansion","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":"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":"site-roles","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":"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":"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":"editor-metadata","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":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"connect/skill","slug":"/connect/skill","pageMetadata":{"title":"Agent Skill","description":"Install the Ukiyo compute Skill and rent a GPU through it. On the instance, python3 runs PyTorch (interpreter: /venv/main/bin/python).","href":"/connect/skill"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Install the Ukiyo compute Skill and rent a GPU through it. On the instance, python3 runs PyTorch (interpreter: /venv/main/bin/python).\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The Skill is a `,_jsx(_components.code,{children:`SKILL.md`}),` plus a shell helper. Its commands wrap the published CLI, so you install the CLI too — the Skill does not reimplement credential storage or payment signing.`]}),`\n`,_jsxs(_components.p,{children:[`An account-balance rental is charged at the `,_jsx(_components.strong,{children:`listed hourly price multiplied by the time the instance is ACTIVE`}),`, rounded down to the cent. Data transfer is included. Nothing accrues after termination. A rental that never delivers costs `,_jsx(_components.strong,{children:`$0.00`}),`.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`python3`}),` and `,_jsx(_components.code,{children:`python`}),` run PyTorch.`]}),` On the instance, `,_jsx(_components.code,{children:`python3`}),`, `,_jsx(_components.code,{children:`python`}),`, `,_jsx(_components.code,{children:`pip`}),` and `,_jsx(_components.code,{children:`pip3`}),` all use the image’s PyTorch environment (torch 2.14.1 with CUDA 13), in an interactive shell and over non-interactive SSH alike: `,_jsx(_components.code,{children:`ssh host python3 -c \"import torch; print(torch.cuda.is_available())\"`}),` prints `,_jsx(_components.code,{children:`True`}),`. The interpreter itself is `,_jsx(_components.code,{children:`/venv/main/bin/python`}),`, also returned as `,_jsx(_components.code,{children:`pythonPath`}),` in the rental status. Do not build a new environment to get PyTorch, and do not call `,_jsx(_components.code,{children:`/usr/bin/python3`}),` or `,_jsx(_components.code,{children:`/opt/miniforge3`}),` directly: they have no torch.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`1-install`,children:`1. Install`}),`\n`,_jsxs(_components.p,{children:[`Install the CLI first. Requires `,_jsx(_components.strong,{children:`Node.js 24 or newer`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -g`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @ukiyocompute/cli`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # or: npx -y @ukiyocompute/cli`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ukiyo`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --version`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # expect 0.3.2`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Then download and verify the Skill archive — `,_jsx(_components.strong,{children:`Skill version 1.3.0`}),`, the same version and SHA-256 shown in the archive’s `,_jsx(_components.code,{children:`SKILL.md`}),` and here:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -fsSLO`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://pay.u-kiyo.ai/skills/ukiyo-compute.tgz`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"7fbba9b21b7cf4a18c26c37363045065dbdef090cf62d7c5aced7d6ba77fb875 ukiyo-compute.tgz\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` shasum`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -a`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 256`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` -`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`tar`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -xzf`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ukiyo-compute.tgz`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`On Linux without `,_jsx(_components.code,{children:`shasum`}),`, use `,_jsx(_components.code,{children:`sha256sum -c -`}),`. `,_jsx(_components.strong,{children:`If verification fails, stop.`}),` Then add the extracted `,_jsx(_components.code,{children:`ukiyo-compute`}),` directory to your client’s Skill location.`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`ukiyo-compute/`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` SKILL.md`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` scripts/ukiyo.sh`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`2-create-an-account-and-an-agent-key`,children:`2. Create an account and an agent key`}),`\n`,_jsx(_components.p,{children:`Read the current Terms version — never infer it:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`TERMS_VERSION`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://pay.u-kiyo.ai/api/v1/terms`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` python3`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"import sys,json;print(json.load(sys.stdin)['data']['version'])\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Read `,_jsx(_components.a,{href:`https://u-kiyo.ai/terms/`,children:`the Terms`}),` and `,_jsx(_components.a,{href:`https://u-kiyo.ai/privacy/`,children:`Privacy notice`}),`, then:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ukiyo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` signup`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --accept-terms`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TERMS_VERSION`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The scoped agent key lands in `,_jsx(_components.code,{children:`~/.ukiyo/credentials.json`}),` at `,_jsx(_components.code,{children:`0600`}),` and is `,_jsx(_components.strong,{children:`shown once`}),`. No email, browser or Telegram. Never give an agent an owner token.`]}),`\n`,_jsx(Heading,{level:`2`,id:`3-fund-with-usdc-on-base-x402`,children:`3. Fund with USDC on Base (x402)`}),`\n`,_jsxs(_components.p,{children:[`Minimum `,`$5.00, maximum $`,`500.00.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ukiyo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` topup`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` rails`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --amount`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 5`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ukiyo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` balance`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This funds through the wallet configured in `,_jsx(_components.code,{children:`UKIYO_MACHINE_CONFIG`}),`, which must be a `,_jsx(_components.strong,{children:`private local`}),` file. Never put wallet keys into tool arguments or chat. If funding reports pending, `,_jsx(_components.strong,{children:`do not pay again`}),` — run `,_jsx(_components.code,{children:`ukiyo topup status --json`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`A human-paid alternative is `,_jsx(_components.code,{children:`ukiyo topup link --amount 5 --json`}),`, which returns a hosted checkout URL.`]}),`\n`,_jsx(Heading,{level:`2`,id:`4-choose-a-gpu-type`,children:`4. Choose a GPU type`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`scripts/ukiyo.sh`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` offers`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Prices come back as `,_jsx(_components.code,{children:`pricePerHourMinor`}),` in `,_jsx(_components.strong,{children:`minor units`}),`: for example, `,_jsx(_components.code,{children:`84`}),` would mean $0.84/hour. Divide by 100 before showing a price to a user. `,_jsx(_components.code,{children:`minimumCreditMinor`}),` is the balance needed to start — ten minutes at that price. Each row is a GPU `,_jsx(_components.strong,{children:`type`}),`; you pick the type and Ukiyo picks the machine.`]}),`\n`,_jsx(Heading,{level:`2`,id:`5-rent-by-gpu-type`,children:`5. Rent by GPU type`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ukiyo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` rent`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gpu`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"RTX 4090\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --count`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --idempotency-key`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` rent-001`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --wait`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Counts are 1, 2, 4 and 8. `,_jsx(_components.code,{children:`--wait`}),` returns when the rental is `,_jsx(_components.code,{children:`ACTIVE`}),`, usually `,_jsx(_components.strong,{children:`1 to 4 minutes`}),` and at most `,_jsx(_components.strong,{children:`15`}),`: Ukiyo tries up to three hosts. If none delivers within 15 minutes, Ukiyo fails the rental itself and charges `,_jsx(_components.strong,{children:`$0.00`}),` — keep polling; there is no need to cancel. Reuse the same idempotency key on a retry so you cannot rent twice. Never tell the user an instance is running until the status says `,_jsx(_components.code,{children:`ACTIVE`}),`. If the first host fails, Ukiyo tries up to two more of the same type, including hosts listed at up to 160% of your price; `,_jsx(_components.strong,{children:`you still pay the listed price you were quoted`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`scripts/ukiyo.sh`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`scripts/ukiyo.sh`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`deploymentI`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Poll `,_jsx(_components.code,{children:`status`}),` until `,_jsx(_components.code,{children:`ACTIVE`}),`. `,_jsx(_components.code,{children:`status`}),` here is the deployment’s: `,_jsx(_components.code,{children:`PROVISIONING_FAILED`}),` means no host delivered and you were charged $0.00. When `,_jsx(_components.code,{children:`ACTIVE`}),` it carries `,_jsx(_components.code,{children:`ssh`}),` with `,_jsx(_components.code,{children:`host`}),`, `,_jsx(_components.code,{children:`port`}),` and `,_jsx(_components.code,{children:`username`}),`; the private key comes from `,_jsx(_components.code,{children:`credentials`}),`, `,_jsx(_components.code,{children:`save-key`}),` or `,_jsx(_components.code,{children:`exec`}),`. Every status value and the JSON each command returns are on `,_jsx(_components.a,{href:`/essentials/statuses`,children:`Statuses and response shapes`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`6-get-ssh-access`,children:`6. Get SSH access`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ukiyo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` exec`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`deploymentI`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` nvidia-smi`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`scripts/ukiyo.sh credentials \u003cdeploymentId>`}),` returns a `,_jsx(_components.strong,{children:`private SSH key`}),`. Each call is audited server-side.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Never print it into the transcript unless the user explicitly asks to see it.`}),`\n`,_jsx(_components.li,{children:`Never write it to a file the user has not asked for, and never commit it.`}),`\n`,_jsx(_components.li,{children:`Prefer telling the user it is available and asking where they want it.`}),`\n`,_jsxs(_components.li,{children:[`Prefer `,_jsx(_components.code,{children:`ukiyo exec`}),`, which uses the key without printing it.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`7-confirm-the-gpu-works`,children:`7. Confirm the GPU works`}),`\n`,_jsxs(_components.p,{children:[`PyTorch lives in the image’s virtual environment. `,_jsx(_components.code,{children:`python3`}),` works too; the full path is shown here:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ukiyo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` exec`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`deploymentI`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /venv/main/bin/python`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"import torch; print(torch.__version__, torch.version.cuda, torch.cuda.is_available())\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Expect `,_jsx(_components.code,{children:`2.14.1+cu130 13.0 True`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`8-terminate`,children:`8. Terminate`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ukiyo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` terminate`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`deploymentI`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --yes`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --wait`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`scripts/ukiyo.sh terminate \u003cdeploymentId>`}),` does the same in Skill 1.3.0: with no `,_jsx(_components.code,{children:`UKIYO_API_TOKEN`}),` it hands off to the CLI with `,_jsx(_components.code,{children:`--yes --wait --json`}),`. `,_jsxs(_components.strong,{children:[`Skill 1.2.0 did not pass `,_jsx(_components.code,{children:`--yes`})]}),`, so the CLI refused with `,_jsx(_components.code,{children:`CONFIRMATION_REQUIRED`}),` and the GPU kept billing; if `,_jsx(_components.code,{children:`SKILL.md`}),` says 1.2.0, download the archive again. The response carries `,_jsx(_components.code,{children:`status`}),` (`,_jsx(_components.code,{children:`TERMINATING`}),` or `,_jsx(_components.code,{children:`TERMINATED`}),`) and the final `,_jsx(_components.code,{children:`chargedMinor`}),` with `,_jsx(_components.code,{children:`chargeFinal: true`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Irreversible.`}),` It destroys everything on the instance and forfeits remaining runtime. Always confirm with the user first, quoting the deployment id and the GPU name. Never terminate as a cleanup step the user did not ask for. Billing stops at termination and the figure you then see is final.`]}),`\n`,_jsx(_components.p,{children:`An instance also stops on its own when its runtime ends; nothing renews. If the user’s work matters, remind them to copy it off before then.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-billing-works`,children:`How billing works`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Unit:`}),` usage accrues continuously while the instance is `,_jsx(_components.code,{children:`ACTIVE`}),` (millisecond precision) at the listed hourly price. The charge is `,_jsx(_components.code,{children:`floor(hourly cents × active seconds ÷ 3600)`}),` — whole cents, `,_jsx(_components.strong,{children:`always rounded down`}),`. Example only: 109 seconds at 92¢/h is 2.79¢, charged as 2¢.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Hold versus charge:`}),` starting a rental needs ten minutes of credit at that GPU’s price (`,_jsx(_components.code,{children:`minimumCreditMinor`}),`). That amount is `,_jsx(_components.strong,{children:`held, not charged`}),`; the hold extends as you run and is released at termination. You pay only the charge above.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Final:`}),` the charge is fixed at termination (`,_jsx(_components.code,{children:`chargeFinal: true`}),`). Nothing accrues afterwards, data transfer is included, and a rental that never reaches `,_jsx(_components.code,{children:`ACTIVE`}),` costs $0.00.`]}),`\n`,_jsx(_components.li,{children:`On the x402 no-account path the payment is a cap you authorize; the unused remainder returns to the paying wallet in USDC automatically, usually 7 to 12 minutes after termination (allow up to 30).`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-is-preinstalled`,children:`What is preinstalled`}),`\n`,_jsxs(_components.p,{children:[`The image is `,_jsx(_components.code,{children:`vastai/pytorch:cuda-13.0.3-auto`}),`. `,_jsx(_components.code,{children:`python3`}),` and `,_jsx(_components.code,{children:`python`}),` run PyTorch; the interpreter is `,_jsx(_components.code,{children:`/venv/main/bin/python`}),`. It ships CUDA 13, PyTorch 2.14.1+cu130, torchvision, numpy, pillow, requests and Jupyter. Run `,_jsx(_components.code,{children:`/venv/main/bin/pip list`}),` for the exact set.`]}),`\n`,_jsx(_components.p,{children:`For model work, install what you need first:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`/venv/main/bin/pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` transformers`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` accelerate`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` diffusers`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`copying-files-off-the-machine`,children:`Copying files off the machine`}),`\n`,_jsx(_components.p,{children:`Use the same host and port as your SSH session, before you terminate:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`scp`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ukiyo-key.pem`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -P`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`por`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`t`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` root@`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`hos`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`t`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:/root/out.pt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./out.pt`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`rsync`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -av`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -e`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ssh -i ukiyo-key.pem -p \u003cport>\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` root@`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`hos`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`t`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:/root/`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./root-copy/`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`gpu-names`,children:`GPU names`}),`\n`,_jsxs(_components.p,{children:[`Use the spaced form in requests: `,_jsx(_components.code,{children:`RTX 4090`}),`, `,_jsx(_components.code,{children:`RTX 6000 Ada`}),`, `,_jsx(_components.code,{children:`A100 PCIe`}),`, `,_jsx(_components.code,{children:`A100 SXM4`}),`. The catalogue also echoes a compact `,_jsx(_components.code,{children:`gpuModel`}),` such as `,_jsx(_components.code,{children:`RTX4090`}),` — that is a display value, not an input.`]}),`\n`,_jsx(Heading,{level:`2`,id:`where-the-price-is`,children:`Where the price is`}),`\n`,_jsxs(_components.p,{children:[`The rental create response carries it: `,_jsx(_components.code,{children:`data.deployment.unitPriceMinor`}),` is the hourly rate in cents for the machine you were given (84 = $0.84/h). `,_jsx(_components.code,{children:`GET /api/v1/rentals/\u003crentalId>`}),` returns the same field, and `,_jsx(_components.code,{children:`chargedMinor`}),` with `,_jsx(_components.code,{children:`chargeFinal: true`}),` once the rental ends.`]}),`\n`,_jsxs(_components.p,{children:[`Other connectors: `,_jsx(_components.a,{href:`/connect/machine-payments`,children:`x402 with no account`}),` · `,_jsx(_components.a,{href:`/connect/api`,children:`HTTP API`}),` · `,_jsx(_components.a,{href:`/connect/mcp`,children:`MCP`}),` · `,_jsx(_components.a,{href:`/connect/cli`,children:`CLI`})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Agent Skill","description":"Install the Ukiyo compute Skill and rent a GPU through it. On the instance, python3 runs PyTorch (interpreter: /venv/main/bin/python).","href":"/connect/skill"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"1. Install","slug":"1-install","depth":2,"children":[]},{"title":"2. Create an account and an agent key","slug":"2-create-an-account-and-an-agent-key","depth":2,"children":[]},{"title":"3. Fund with USDC on Base (x402)","slug":"3-fund-with-usdc-on-base-x402","depth":2,"children":[]},{"title":"4. Choose a GPU type","slug":"4-choose-a-gpu-type","depth":2,"children":[]},{"title":"5. Rent by GPU type","slug":"5-rent-by-gpu-type","depth":2,"children":[]},{"title":"6. Get SSH access","slug":"6-get-ssh-access","depth":2,"children":[]},{"title":"7. Confirm the GPU works","slug":"7-confirm-the-gpu-works","depth":2,"children":[]},{"title":"8. Terminate","slug":"8-terminate","depth":2,"children":[]},{"title":"How billing works","slug":"how-billing-works","depth":2,"children":[]},{"title":"What is preinstalled","slug":"what-is-preinstalled","depth":2,"children":[]},{"title":"Copying files off the machine","slug":"copying-files-off-the-machine","depth":2,"children":[]},{"title":"GPU names","slug":"gpu-names","depth":2,"children":[]},{"title":"Where the price is","slug":"where-the-price-is","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"ukiyo","siteName":"Ukiyo","title":"Agent Skill - Ukiyo","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-17T19:35:36.800Z","originalFileLocation":"connect/skill.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=\"Install the Ukiyo compute Skill and rent a GPU through it. On the instance, python3 runs PyTorch (interpreter: /venv/main/bin/python).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ukiyo\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ukiyo/TL4cPZm3P_cmr9od/_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/ukiyo/TL4cPZm3P_cmr9od/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ukiyo/TL4cPZm3P_cmr9od/_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/ukiyo/TL4cPZm3P_cmr9od/_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/ukiyo/TL4cPZm3P_cmr9od/_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/ukiyo/TL4cPZm3P_cmr9od/_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/ukiyo/TL4cPZm3P_cmr9od/_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/ukiyo/TL4cPZm3P_cmr9od/_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/ukiyo/TL4cPZm3P_cmr9od/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Agent Skill - Ukiyo\">\u003cmeta data-mint-head property=\"og:description\" content=\"Install the Ukiyo compute Skill and rent a GPU through it. On the instance, python3 runs PyTorch (interpreter: /venv/main/bin/python).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ukiyo\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.u-kiyo.ai/connect/skill\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ukiyo.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Agent+Skill\u0026amp;description=Install+the+Ukiyo+compute+Skill+and+rent+a+GPU+through+it.+On+the+instance%2C+python3+runs+PyTorch+%28interpreter%3A+%2Fvenv%2Fmain%2Fbin%2Fpython%29.\u0026amp;theme=4016f9d9fc63c71066ae1e3c\u0026amp;signature=997ff5d3a4ff5c05076b410796e849da151e541ce91b1b45320e6d64652ec3dd\">\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=\"Agent Skill - Ukiyo\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Install the Ukiyo compute Skill and rent a GPU through it. On the instance, python3 runs PyTorch (interpreter: /venv/main/bin/python).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ukiyo.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Agent+Skill\u0026amp;description=Install+the+Ukiyo+compute+Skill+and+rent+a+GPU+through+it.+On+the+instance%2C+python3+runs+PyTorch+%28interpreter%3A+%2Fvenv%2Fmain%2Fbin%2Fpython%29.\u0026amp;theme=4016f9d9fc63c71066ae1e3c\u0026amp;signature=997ff5d3a4ff5c05076b410796e849da151e541ce91b1b45320e6d64652ec3dd\">\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/ukiyo/TL4cPZm3P_cmr9od/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ukiyo\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563eb\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.u-kiyo.ai/connect/skill\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/connect/skill.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.u-kiyo.ai/#organization\",\"name\":\"Ukiyo\",\"url\":\"https://docs.u-kiyo.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ukiyo/2UwC3N4jbR7moicK/logo/ukiyo-logo.png?fit=max\u0026auto=format\u0026n=2UwC3N4jbR7moicK\u0026q=85\u0026s=22a870b07419c67f12f5c647735c58f4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.u-kiyo.ai#website\",\"name\":\"Ukiyo\",\"url\":\"https://docs.u-kiyo.ai\",\"publisher\":{\"@id\":\"https://docs.u-kiyo.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.u-kiyo.ai/connect/skill#webpage\",\"url\":\"https://docs.u-kiyo.ai/connect/skill\",\"name\":\"Agent Skill\",\"description\":\"Install the Ukiyo compute Skill and rent a GPU through it. On the instance, python3 runs PyTorch (interpreter: /venv/main/bin/python).\",\"dateModified\":\"2026-11-17T19:35:36.800Z\",\"isPartOf\":{\"@id\":\"https://docs.u-kiyo.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.u-kiyo.ai/connect/skill#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.u-kiyo.ai/connect/skill#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents\",\"item\":\"https://docs.u-kiyo.ai/connect/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agent Skill\",\"item\":\"https://docs.u-kiyo.ai/connect/skill\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.u-kiyo.ai/connect/skill#article\",\"headline\":\"Agent Skill\",\"name\":\"Agent Skill\",\"description\":\"Install the Ukiyo compute Skill and rent a GPU through it. On the instance, python3 runs PyTorch (interpreter: /venv/main/bin/python).\",\"url\":\"https://docs.u-kiyo.ai/connect/skill\",\"mainEntityOfPage\":{\"@id\":\"https://docs.u-kiyo.ai/connect/skill#webpage\"},\"dateModified\":\"2026-11-17T19:35:36.800Z\",\"publisher\":{\"@id\":\"https://docs.u-kiyo.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.u-kiyo.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ukiyo\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Ukiyo\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/connect/skill.md","siteName":"Ukiyo","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://u-kiyo.ai"},{"anchor":"GitHub","icon":"github","href":"https://github.com/ukiyocompute"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","pages":[{"title":"Overview","href":"/get-started/introduction"},{"title":"Quickstart","href":"/get-started/quickstart"},{"title":"Pricing","href":"/get-started/pricing"},{"title":"Choosing a GPU","href":"/guides/choosing-a-gpu"}]},{"group":"Renting","pages":[{"title":"Telegram","href":"/connect/telegram"},{"title":"Billing","href":"/guides/billing"},{"title":"Instance lifecycle","href":"/guides/lifecycle"},{"title":"Credentials","href":"/guides/credentials"},{"title":"SSH","href":"/guides/ssh"},{"title":"Jupyter","href":"/guides/jupyter"}]},{"group":"Agents","pages":[{"title":"Five ways in","href":"/connect/overview"},{"title":"x402 — pay with USDC, no account","href":"/connect/machine-payments"},{"title":"HTTP API","href":"/connect/api"},{"title":"MCP","href":"/connect/mcp"},{"title":"CLI","description":"Rent a GPU end to end from the command line. Install from npm, fund with USDC on Base, run work, terminate. On the instance, python3 runs PyTorch (interpreter: /venv/main/bin/python).","href":"/connect/cli"},{"title":"Agent Skill","href":"/connect/skill"},{"title":"Statuses and response shapes","description":"Every status value, which field to poll on each connector, and the JSON each command returns.","href":"/essentials/statuses"},{"title":"Account funding","href":"/connect/account-funding"},{"title":"Telegram","href":"/connect/telegram"},{"title":"OpenAPI","href":"/connect/openapi"}]},{"group":"Guides","pages":[{"title":"FAQ","href":"/essentials/faq"},{"title":"Common errors","href":"/essentials/errors"},{"title":"Support","href":"/essentials/support"}]}]}]},"basePath":"","title":"Agent Skill - Ukiyo","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":[],"chunks":[]}