Model Providers
Direct access to individual AI model providers. Each provider offers unique models with specific capabilities and pricing.
NotPixel SDK automatically detects API keys from your environment. Configure the appropriate environment variable for each provider you want to use.
OpenAI
Configure and use OpenAI models with NotPixel.
Anthropic
Configure and use Anthropic models with NotPixel.
Configure and use Google models with NotPixel.
GitHub Models
Configure and use GitHub Models models with NotPixel.
DeepSeek
Configure and use DeepSeek models with NotPixel.
Groq
Configure and use Groq models with NotPixel.
Mistral
Configure and use Mistral models with NotPixel.
xAI
Configure and use xAI models with NotPixel.
Alibaba
Configure and use Alibaba models with NotPixel.
Alibaba (China)
Configure and use Alibaba (China) models with NotPixel.
Llama
Configure and use Llama models with NotPixel.
LMStudio
Configure and use LMStudio models with NotPixel.
Minimax
Configure and use Minimax models with NotPixel.
Nvidia
Configure and use Nvidia models with NotPixel.
Perplexity
Configure and use Perplexity models with NotPixel.
Together AI
Configure and use Together AI models with NotPixel.
Usage
import Ads from 'notpixel';
const ads = new Ads({
publisherId: 'pub_10565',
model: 'openai/gpt-5.2', // provider/model format
input: 'Your user query here',
});
const response = await ads.offer();
console.log(response.text);Quick Reference
| Provider | Environment Variable | Example Model |
|---|---|---|
| OpenAI | OPENAI_API_KEY | openai/gpt-5.2 |
| Anthropic | ANTHROPIC_API_KEY | anthropic/claude-opus-4.5 |
GOOGLE_API_KEY | google/gemini-3-pro | |
| GitHub Models | GITHUB_TOKEN | github/gpt-4o |
| DeepSeek | DEEPSEEK_API_KEY | deepseek/deepseek-chat |
| Groq | GROQ_API_KEY | groq/llama-3.1-70b-versatile |
| Mistral | MISTRAL_API_KEY | mistral/mistral-large-latest |
| xAI | XAI_API_KEY | xai/grok-2 |
| Alibaba | DASHSCOPE_API_KEY | alibaba/qwen-max |
| Llama | LLAMA_API_KEY | llama/llama-3.3-70b-instruct |
| Minimax | MINIMAX_API_KEY | minimax/MiniMax-M2 |
| Nvidia | NVIDIA_API_KEY | nvidia/meta/llama-3.1-70b-instruct |
| Perplexity | PERPLEXITY_API_KEY | perplexity/sonar |
| Together AI | TOGETHER_API_KEY | together/deepseek-ai/DeepSeek-R1 |