Implementation:Togethercomputer Together python Models CLI
Appearance
| Knowledge Sources | |
|---|---|
| Domains | CLI, Model_Management |
| Last Updated | 2026-02-15 16:00 GMT |
Overview
Concrete CLI tool for listing and uploading models from the command line provided by the Together Python SDK.
Description
The models Click command group provides list (with optional --type dedicated filter and --json output) and upload (from HuggingFace or S3) terminal commands. List displays a formatted table with model ID, name, organization, type, context length, license, and pricing.
Usage
Use these CLI commands when managing models from a terminal or shell script.
Code Reference
Source Location
- Repository: Together Python
- File: src/together/cli/api/models.py
- Lines: 1-133
Signature
together models list [--type dedicated] [--json]
together models upload --model-name NAME --model-source SOURCE [--model-type model|adapter] [--hf-token TOKEN] [--description DESC] [--base-model MODEL] [--lora-model MODEL] [--json]
Import
together models <subcommand>
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| --type | Choice | No | Filter: "dedicated" for endpoint-deployable models |
| --model-name | str | Yes (upload) | Name for the uploaded model |
| --model-source | str | Yes (upload) | HuggingFace repo or S3 path |
| --json | flag | No | Output in JSON format |
Outputs
| Name | Type | Description |
|---|---|---|
| list output | Table/JSON | Model list with ID, name, type, pricing |
| upload output | Text/JSON | Upload job confirmation with job ID |
Usage Examples
# List all models
together models list
# List dedicated models in JSON
together models list --type dedicated --json
# Upload a model from HuggingFace
together models upload --model-name "my-model" --model-source "org/repo" --hf-token "hf_..."
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment