DeepSeek
Access DeepSeek models through NotPixel. DeepSeek offers high-performance AI models with competitive pricing.
Setup
1. Get API Key
- Go to DeepSeek Platform
- Create an account or sign in
- Navigate to API Keys
- Create a new API key
2. Configure Environment
.env
DEEPSEEK_API_KEY=sk-...Usage
import Ads from 'notpixel';
const ads = new Ads({
publisherId: 'pub_xxx',
model: 'deepseek/deepseek-chat',
input: 'Explain how neural networks learn',
});
const response = await ads.offer();
console.log(response.text);Available Models
| Model | Context | Best For |
|---|---|---|
deepseek/deepseek-chat | 128K | General purpose chat |
deepseek/deepseek-coder | 128K | Code generation |
deepseek/deepseek-reasoner | 128K | Complex reasoning tasks |
DeepSeek models offer competitive performance at significantly lower costs compared to other providers.
Model Selection
// General conversation
model: 'deepseek/deepseek-chat'
// Code-focused tasks
model: 'deepseek/deepseek-coder'
// Complex reasoning
model: 'deepseek/deepseek-reasoner'Environment Variable
| Variable | Description |
|---|---|
DEEPSEEK_API_KEY | Your DeepSeek API key |