GitHub Models
GitHub's model API marketplace with Phi and MAI models built in—free rate-limited access to start, pay-as-you-go per token once billing is enabled
Core models
Microsoft's flagship small language model—achieves near-large-model reasoning quality with far fewer parameters; exceeds expectations on math reasoning, code generation, and structured output, making it the best price-to-performance Microsoft-owned text model on GitHub Models.
The ultra-lightweight instruction-following variant of Phi-4—the fastest and lowest-cost option, suited to high-frequency simple instructions, code explanation, and cost-sensitive latency-aware applications.
The multimodal variant of Phi-4 supporting combined image and text input for screenshot code analysis, UI comprehension, and document parsing—among the lowest-priced vision-capable models available.
Microsoft AI's reasoning-enhanced model built on the DeepSeek R1 architecture—focused on deep chain-of-thought and complex multi-step reasoning; the premium reasoning representative among Microsoft-origin models on GitHub Models.
Plan details
Phi-4
Flagship small modelRecommendedPhi-4-mini-instruct
Ultra-light instruct modelPhi-4-multimodal-instruct
Multimodal instruct modelMAI-DS-R1
Microsoft AI reasoning modelNotes
- GitHub Models bills in token units at a fixed rate of $0.00001 USD per token unit; each model has its own input/output multiplier, so actual cost = token count × multiplier × $0.00001. Prices below are already converted to USD per 1M tokens for easy comparison.
- Paid usage is disabled by default for enterprises and organizations; enterprise admins must enable it first before organizations can opt in. Individual accounts can enable billing directly in account settings.
- Bring Your Own Key (BYOK) is also supported: connect your own OpenAI or Azure API key and usage bills directly against that provider account, bypassing GitHub's billing system entirely.
Supported coding tools
Pricing and model data sourced from official vendor websites