GET
/
models
from together import Together
import os

client = Together(
api_key=os.environ.get("TOGETHER_API_KEY"),
)

models = client.models.list()

for model in models:
print(model.id)
[
  {
    "id": "Austism/chronos-hermes-13b",
    "object": "model",
    "created": 1692896905,
    "type": "chat",
    "display_name": "Chronos Hermes (13B)",
    "organization": "Austism",
    "link": "<string>",
    "license": "other",
    "context_length": 2048,
    "pricing": {
      "hourly": 0,
      "input": 0.3,
      "output": 0.3,
      "base": 0,
      "finetune": 0
    }
  }
]

Authorizations

Authorization
string
header
default:default
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200

id
string
required
Example:

"Austism/chronos-hermes-13b"

object
string
required
Example:

"model"

created
integer
required
Example:

1692896905

type
enum<string>
required
Available options:
chat,
language,
code,
image,
embedding,
moderation,
rerank
Example:

"chat"

display_name
string
Example:

"Chronos Hermes (13B)"

organization
string
Example:

"Austism"

license
string
Example:

"other"

context_length
integer
Example:

2048

pricing
object