Setting Up the API Key for TogetherAI:
Example code to set up the API Key:
import together
# Configure the API Key
together.api_key = "your_api_key"
# Example request to generate text with a model
response = together.text.generate(prompt="Tell me a story", max_tokens=50)
print(response)
01.AI
01-ai Yi Base (34B)
zero-one-ai/Yi-34B
01-ai Yi Base (6B)
zero-one-ai/Yi-6B
Mistral AI
mistralai/Mixtral-8x22B
Gemma (2B)
google/gemma-2b
Gemma (7B)
google/gemma-7b
Meta
LLaMA-2 (70B)
meta-llama/Llama-2-70b-hf
LLaMA-2 (13B)
meta-llama/Llama-2-13b-hf
LLaMA-2 (7B)
meta-llama/Llama-2-7b-hf
LLaMA-3 (8B)
meta-llama/Llama-3-8b-hf
LLaMA-3 (70B)
meta-llama/Meta-Llama-3-70B
Microsoft
microsoft/phi-2
Nexusflow
Nexusflow/NexusRaven-V2-13B
Qwen
Qwen 1.5 (0.5B)
Qwen/Qwen1.5-0.5B
Qwen 1.5 (1.8B)
Qwen/Qwen1.5-1.8B
Qwen 1.5 (4B)
Qwen/Qwen1.5-4B
Qwen 1.5 (7B)
Qwen/Qwen1.5-7B
Qwen 1.5 (14B)
Qwen/Qwen1.5-14B
Qwen 1.5 (32B)
Qwen/Qwen1.5-32B
Qwen 1.5 (72B)
Qwen/Qwen1.5-72B
Together
GPT-JT-Moderation (6B)
togethercomputer/GPT-JT-Moderation-6B
LLaMA-2-32K (7B)
togethercomputer/LLaMA-2-7B-32K
RedPajama-INCITE (3B)
togethercomputer/RedPajama-INCITE-Base-3B-v1
RedPajama-INCITE (7B)
togethercomputer/RedPajama-INCITE-7B-Base
RedPajama-INCITE Instruct (3B)
togethercomputer/RedPajama-INCITE-Instruct-3B-v1
RedPajama-INCITE Instruct (7B)
togethercomputer/RedPajama-INCITE-7B-Instruct
StripedHyena Hessian (7B)
togethercomputer/StripedHyena-Hessian-7B
MistralAI
Mistral (7B)
mistralai/Mistral-7B-v0.1
Mixtral-8x7B (46.7B)
mistralai/Mixtral-8x7B-v0.1
Meta
Code Llama Python (70B)
codellama/CodeLlama-70b-Python-hf
Code Llama Python (34B)
codellama/CodeLlama-34b-Python-hf
Code Llama Python (13B)
codellama/CodeLlama-13b-Python-hf
Code Llama Python (7B)
codellama/CodeLlama-7b-Python-hf
Phind
Phind/Phind-CodeLlama-34B-v2
WizardLM
WizardLM/WizardCoder-Python-34B-V1.0
Meta-Llama/Llama-Guard-7b
Evo-1 Base (8K)
togethercomputer/evo-1-8k-base
Evo-1 Base (131K)
togethercomputer/evo-1-131k-base