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

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.

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

ProviderEnvironment VariableExample Model
OpenAIOPENAI_API_KEYopenai/gpt-5.2
AnthropicANTHROPIC_API_KEYanthropic/claude-opus-4.5
GoogleGOOGLE_API_KEYgoogle/gemini-3-pro
GitHub ModelsGITHUB_TOKENgithub/gpt-4o
DeepSeekDEEPSEEK_API_KEYdeepseek/deepseek-chat
GroqGROQ_API_KEYgroq/llama-3.1-70b-versatile
MistralMISTRAL_API_KEYmistral/mistral-large-latest
xAIXAI_API_KEYxai/grok-2
AlibabaDASHSCOPE_API_KEYalibaba/qwen-max
LlamaLLAMA_API_KEYllama/llama-3.3-70b-instruct
MinimaxMINIMAX_API_KEYminimax/MiniMax-M2
NvidiaNVIDIA_API_KEYnvidia/meta/llama-3.1-70b-instruct
PerplexityPERPLEXITY_API_KEYperplexity/sonar
Together AITOGETHER_API_KEYtogether/deepseek-ai/DeepSeek-R1