Should you use gpt-4.1?
gpt-4.1 is listed for chat workloads and supports a 1.0M context window.
Use it when GitHub Models's free tier is enough for evaluation, demos, or light production traffic.
Long-lived GPT workhorse for coding, instruction following, and production apps
https://models.github.ai/inference gpt-4-1 | Benchmark | Score | Metric | Date |
|---|---|---|---|
| Aider Polyglot | 52.4 | percent correct | 2025-04-14 |
gpt-4.1 is listed for chat workloads and supports a 1.0M context window.
Use it when GitHub Models's free tier is enough for evaluation, demos, or light production traffic.
We only found this gpt-4-1 listing on GitHub Models in the current catalog. Use the related models section for nearby alternatives.
| Provider | Model listing | Access | Context | API | Limits |
|---|---|---|---|---|---|
| | gpt-4.1 | Free tier | 1.0M | OpenAI-style | 10 RPM, 50 RPD |
| Model | Provider | Context | Access |
|---|---|---|---|
| Phi-4 | GitHub Models | 131K | Free tier |
| Mistral Large (24.11) | GitHub Models | 131K | Free tier |
| AI21 Jamba 1.5 Large | GitHub Models | 256K | Free tier |
| gpt-5 | GitHub Models | 200K | Free tier |
| gpt-4.1-mini | GitHub Models | 1.0M | Free tier |
gpt-4.1 is tagged for chat in this catalog and works with OpenAI-compatible client libraries.
gpt-4.1 is listed with free API access on GitHub Models, subject to the provider's quota and account policy.
The model ID shown in this catalog is gpt-4-1.
The listed free tier limit is 10 RPM, 50 RPD. Limits can change per account tier, so confirm against the provider dashboard.
The listed context window is 1.0M tokens with up to 32K output tokens.
GPT-4.1 is OpenAI's mid-tier model available for free through GitHub Models — Microsoft's AI playground for GitHub users. With a 1M-token context window, 32K max output, and OpenAI-native SDK compatibility, it is the most accessible way to use a GPT-4-class model without paying for an OpenAI API key. The free tier is rate-limited to 10 RPM and 50 requests per day, and per-request token caps apply (8K input / 4K output), so it is best suited for prototyping, testing prompts, and lightweight coding tasks rather than production deployment. Requires only a GitHub account — no separate API key signup needed.
For API keys, setup steps, and provider-level limits, see the GitHub Models provider page.