Back to Lobehub

Using the Together AI API Key in LobeHub

docs/usage/providers/togetherai.mdx

2.1.561.9 KB
Original Source

Using Together AI in LobeHub

<Image alt={'Using Together AI in LobeHub'} cover src={'/blog/assets34400653/28e025dd-367b-4add-85b6-499f4aacda61.webp'} />

together.ai is a platform focused on the field of generative AI (AIGC), founded in June 2022. It aims to build a cloud platform for running, training, and fine-tuning open-source models, offering scalable compute power at prices lower than mainstream providers.

This guide will walk you through how to use Together AI in LobeHub:

<Steps> ### Step 1: Get Your Together AI API Key
  • Visit and log in to Together AI API
  • Upon your first login, the system will automatically generate an API key for you and grant you a $5.00 free credit

<Image alt={'Get your Together AI API key'} inStep src={'/blog/assets34400653/fcdcda9b-8668-4eac-b5cb-04803a888e92.webp'} />

  • If you didn’t save it, you can always view it later under the API Key section in the Settings menu

<Image alt={'View your Together AI API key'} inStep src={'/blog/assets34400653/663335d0-fb37-4882-9c7f-ebbd53275644.webp'} />

Step 2: Configure Together AI in LobeHub

  • Go to the Settings page in LobeHub
  • Under the AI Providers section, find the settings for together.ai

<Image alt={'Enter your Together AI API key in LobeHub'} inStep src={'/blog/assets34400653/0cc6c9b8-4688-472b-a80f-f84c5ebbc719.webp'} />

  • Enable together.ai and paste in your API key
  • Choose a Together AI model for your assistant to start chatting

<Image alt={'Select and use a Together AI model'} inStep src={'/blog/assets34400653/34d92da4-783f-4f16-8c4a-9d8e9a03c8da.webp'} />

<Callout type={'warning'}> You may need to pay for API usage depending on your usage. Please refer to Together AI’s pricing policy for more details. </Callout> </Steps>

And that’s it! You’re now ready to use Together AI models for conversations in LobeHub.