Together AI

Overview

Protect your Together AI integration with LockLLM's transparent proxy layer. Secure access to dozens of open-source models including Llama, Qwen, and community models with automatic prompt injection scanning.

Quick Start

const client = new OpenAI({
  baseURL: 'https://api.lockllm.com/v1/proxy/together',
  apiKey: process.env.LOCKLLM_API_KEY // Your LockLLM API key
})

const response = await client.chat.completions.create({
  model: 'meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo',
  messages: [{ role: 'user', content: userInput }]
})

Features

  • Open-Source Models: Access to dozens of community models
  • Automatic Scanning: All prompts scanned without code changes
  • Model Variety: Llama, Qwen, and many more
  • Cost Effective: Maintain Together's competitive pricing

Getting Started

Generate API keys in the dashboard and visit the documentation for setup guides.