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.
OpenAIAnthropicGoogleGitHub ModelsDeepSeekGroqMistralxAIAlibabaAlibaba (China)LlamaLMStudioMinimaxNvidiaPerplexityTogether AI
Usage
import Ads from 'notpixel';
const ads = new Ads({
publisherId: 'pub_xxx',
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 |