How-to

Vercel Together AI IntegrationMarketplace

Learn how to integrate Together AI with Vercel.
Table of Contents

Together AI offers models for interactive AI experiences, focusing on collaborative and real-time engagement. Integrating Together AI with Vercel empowers your applications with enhanced user interaction and co-creative functionalities.

You can use the Vercel and Together AI integration to power a variety of AI applications, including:

  • Co-creative platforms: Use Together AI in platforms that enable collaborative creative processes, such as design or writing
  • Interactive learning environments: Use Together AI in educational tools for interactive and adaptive learning experiences
  • Real-time interaction tools: Use Together AI for developing applications that require real-time user interaction and engagement

Together AI offers models that specialize in collaborative and interactive AI experiences. These models are adept at facilitating real-time interaction, enhancing user engagement, and supporting co-creative processes.

Llama 3.1 405B Instruct Turbo

Type: Chat

Llama 3.1 is an auto-regressive language model that uses an optimized transformer architecture.

Llama 3.1 70B Instruct Turbo

Type: Chat

Llama 3.1 is an auto-regressive language model that uses an optimized transformer architecture.

Llama 3.1 8B Instruct Turbo

Type: Chat

Llama 3.1 is an auto-regressive language model that uses an optimized transformer architecture.

Mixtral 8x7B Instruct

Type: Chat

A pretrained generative Sparse Mixture of Experts tuned to be a helpful assistant.

Mythomax L2 (13B)

Type: Chat

A variant of Mythomix proficient at both roleplaying and storywriting.

StripedHyena-Nous 7B

Type: Chat

The first alternative model competitive with the best open-source 7B Transformers in short and long-context evaluations.

Nous Hermes 2 - Mixtral 8x7B-SFT

Type: Chat

The supervised finetune only version of the new flagship Nous Research model trained over the Mixtral 8x7B MoE LLM.

The Vercel Together AI integration can be accessed through the AI tab on your Vercel dashboard.

To follow this guide, you'll need the following:

  1. Navigate to the AI tab in your Vercel dashboard
  2. Select Together AI from the list of providers, and press Add
  3. Review the provider information, and press Add Provider
  4. You can now select which projects the provider will have access to. You can choose from All Projects or Specific Projects
    • If you select Specific Projects, you'll be prompted to select the projects you want to connect to the provider. The list will display projects associated with your scoped team
    • Multiple projects can be selected during this step
  5. Select the Connect to Project button
  6. You'll be redirected to the provider's website to complete the connection process
  7. Once the connection is complete, you'll be redirected back to the Vercel dashboard, and the provider integration dashboard page. From here you can manage your provider settings, view usage, and more
  8. Pull the environment variables into your project using Vercel CLI
    terminal
    vercel env pull .env.development.local
  9. Install the providers package
    pnpm
    yarn
    npm
    pnpm i openai ai
  10. Connect your project using the code below:
    Other frameworks
  1. Add the provider to your page using the code below:
Last updated on July 31, 2024