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

GitHub Models

Access 55 GitHub Models models through NotPixel. Authentication is handled automatically using the GITHUB_TOKEN environment variable.

Learn more in the GitHub Models documentation .

Setup

1. Get API Key

  1. Go to GitHub Settings 
  2. Create a new personal access token (classic or fine-grained)
  3. Ensure it has the necessary permissions for GitHub Models

2. Configure Environment

.env
GITHUB_TOKEN=your-api-key

Usage

import Ads from 'notpixel'; const ads = new Ads({ publisherId: 'pub_xxx', model: 'github/openai/gpt-5.2', input: 'Explain quantum computing in simple terms', }); const response = await ads.offer(); console.log(response.text);

NotPixel uses the OpenAI-compatible endpoint of GitHub Models. Some provider-specific features may not be available.

Available Models

ModelContext
github-models/ai21-labs/ai21-jamba-1.5-large256K
github-models/ai21-labs/ai21-jamba-1.5-mini256K
github-models/cohere/cohere-command-a128K
github-models/cohere/cohere-command-r128K
github-models/cohere/cohere-command-r-08-2024128K
github-models/cohere/cohere-command-r-plus128K
github-models/cohere/cohere-command-r-plus-08-2024128K
github-models/core42/jais-30b-chat8K
github-models/deepseek/deepseek-r166K
github-models/deepseek/deepseek-r1-052866K
github-models/deepseek/deepseek-v3-0324128K
github-models/meta/llama-3.2-11b-vision-instruct128K
github-models/meta/llama-3.2-90b-vision-instruct128K
github-models/meta/llama-3.3-70b-instruct128K
github-models/meta/llama-4-maverick-17b-128e-instruct-fp8128K
github-models/meta/llama-4-scout-17b-16e-instruct128K
github-models/meta/meta-llama-3-70b-instruct8K
github-models/meta/meta-llama-3-8b-instruct8K
github-models/meta/meta-llama-3.1-405b-instruct128K
github-models/meta/meta-llama-3.1-70b-instruct128K
github-models/meta/meta-llama-3.1-8b-instruct128K
github-models/microsoft/mai-ds-r166K
github-models/microsoft/phi-3-medium-128k-instruct128K
github-models/microsoft/phi-3-medium-4k-instruct4K
github-models/microsoft/phi-3-mini-128k-instruct128K
github-models/microsoft/phi-3-mini-4k-instruct4K
github-models/microsoft/phi-3-small-128k-instruct128K
github-models/microsoft/phi-3-small-8k-instruct8K
github-models/microsoft/phi-3.5-mini-instruct128K
github-models/microsoft/phi-3.5-moe-instruct128K
github-models/microsoft/phi-3.5-vision-instruct128K
github-models/microsoft/phi-416K
github-models/microsoft/phi-4-mini-instruct128K
github-models/microsoft/phi-4-mini-reasoning128K
github-models/microsoft/phi-4-multimodal-instruct128K
github-models/microsoft/phi-4-reasoning128K
github-models/mistral-ai/codestral-250132K
github-models/mistral-ai/ministral-3b128K
github-models/mistral-ai/mistral-large-2411128K
github-models/mistral-ai/mistral-medium-2505128K
github-models/mistral-ai/mistral-nemo128K
github-models/mistral-ai/mistral-small-2503128K
github-models/openai/gpt-4.1128K
github-models/openai/gpt-4.1-mini128K
github-models/openai/gpt-4.1-nano128K
github-models/openai/gpt-5.2128K
github-models/openai/gpt-5.2-mini128K
github-models/openai/o1200K
github-models/openai/o1-mini128K
github-models/openai/o1-preview128K
github-models/openai/o3200K
github-models/openai/o3-mini200K
github-models/openai/o4-mini200K
github-models/xai/grok-3128K
github-models/xai/grok-3-mini128K

Environment Variable

VariableDescription
GITHUB_TOKENYour GitHub Personal Access Token