Back to Eliza

Together AI Plugin

packages/docs/plugin-registry/llm/together.md

2.0.12.2 KB
Original Source
<Warning> This plugin is not yet available in the Eliza plugin registry. To use Together AI models today, configure them through the [OpenRouter plugin](/plugin-registry/llm/openrouter) using the appropriate model ID. </Warning>

The Together AI plugin connects Eliza agents to Together's inference platform, providing access to a wide catalog of open-source models with competitive pricing and fast inference.

On-demand plugin. This plugin is resolved from the remote elizaOS plugin registry and auto-installs when its API key is detected. It is not included in Eliza's bundled plugins.json index.

Package: @elizaos/plugin-together

Installation

bash
eliza plugins install @elizaos/plugin-together

Auto-Enable

The plugin auto-enables when TOGETHER_API_KEY is present:

bash
export TOGETHER_API_KEY=your-together-api-key

Configuration

Environment VariableRequiredDescription
TOGETHER_API_KEYYesTogether AI API key from api.together.ai

eliza.json Example

json
{
  "auth": {
    "profiles": {
      "default": {
        "provider": "together",
        "model": "mistralai/Mixtral-8x22B-Instruct-v0.1"
      }
    }
  }
}

Supported Models

Together hosts 100+ open-source models. Popular choices include:

ModelContextBest For
mistralai/Mixtral-8x22B-Instruct-v0.164kCode and technical tasks
deepseek-ai/DeepSeek-R164kDeep reasoning

See together.ai/models for the full model catalog.

Features

  • Streaming responses
  • Tool use / function calling (on select models)
  • Compatible with OpenAI SDK format
  • Fast inference with Turbo variants
  • Embeddings and reranking endpoints
  • Image generation models available
  • Pay-per-token pricing with no minimum spend