kvcdn upload
Upload a local.kv artifact to the hosted service.
Usage
Arguments
| Argument | Description |
|---|---|
FILE | Local path to the .kv artifact |
Options
| Option | Default | Description |
|---|---|---|
--name | inferred from filename | Human-readable artifact name |
--visibility | private | private or public |
--api-url | from KVCDN_API_URL | Base URL of the hosted portal API |
--api-key | from KVCDN_API_KEY | API key for authentication |
Example
How it works
- The CLI reads the artifact’s JSON sidecar for
model_name,dtype, andnum_tokens. - The CLI creates artifact metadata in the portal (
POST /api/v1/artifacts/upload-url). - The portal returns a presigned URL for direct upload to object storage.
- The CLI PUTs the file to the presigned URL and then calls
POST /api/v1/artifacts/{id}/confirm-upload.
Public URL
For public artifacts, the dashboard and API expose a CDN URL:.kv file and load its tensors into the matching model to skip context prefill.
Notes
- Free accounts are limited to 20 artifacts. Upgrade in the dashboard to raise the limit.
- Presigned URLs expire after 15 minutes. If an upload fails, retry
kvcdn uploadto request a fresh URL. - Public artifacts can be downloaded by anyone; private artifacts are restricted to your account.
- The CLI is an x86-64 Linux binary. ARM64 support is planned for a future release.