Python
Together AI SDK (Python)
from together import Togetherimport osclient = Together( api_key=os.environ.get("TOGETHER_API_KEY"),)response = client.models.list()for model in response: 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 } } ]
Lists all of Together’s open-source models
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
200
The response is of type object[].
object[]
Was this page helpful?