Together AI
Access 6 Together AI models through NotPixel. Authentication is handled automatically using the TOGETHER_API_KEY environment variable.
Learn more in the Together AI documentation .
Setup
1. Get API Key
- Go to Together AI Console
- Create an account or sign in
- Navigate to API Keys
2. Configure Environment
.env
TOGETHER_API_KEY=your-api-keyUsage
import Ads from 'notpixel';
const ads = new Ads({
publisherId: 'pub_xxx',
model: 'together/deepseek-ai/DeepSeek-R1',
input: 'Compare SQL and NoSQL databases',
});
const response = await ads.offer();
console.log(response.text);NotPixel uses the OpenAI-compatible endpoint of Together AI. Some provider-specific features may not be available.
Available Models
| Model | Context |
|---|---|
togetherai/deepseek-ai/DeepSeek-R1 | 164K |
togetherai/deepseek-ai/DeepSeek-V3 | 131K |
togetherai/meta-llama/Llama-3.3-70B-Instruct-Turbo | 131K |
togetherai/Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8 | 262K |
Environment Variable
| Variable | Description |
|---|---|
TOGETHER_API_KEY | Your Together AI API key |