Skip to Content
NotPixel SDK v1.0.1 — Now with caching, hooks, and browser tracking!

DeepSeek

Access DeepSeek models through NotPixel. DeepSeek offers high-performance AI models with competitive pricing.

Setup

1. Get API Key

  1. Go to DeepSeek Platform 
  2. Create an account or sign in
  3. Navigate to API Keys
  4. 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

ModelContextBest For
deepseek/deepseek-chat128KGeneral purpose chat
deepseek/deepseek-coder128KCode generation
deepseek/deepseek-reasoner128KComplex 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

VariableDescription
DEEPSEEK_API_KEYYour DeepSeek API key