Should you use gpt-4.1?
gpt-4.1 is listed for chat workloads and supports a 1.0M context window.
Check GitHub Models's current endpoint status before integrating this listing. Use the alternatives table if the provider listing is unavailable.
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.
Check GitHub Models's current endpoint status before integrating this listing. Use the alternatives table if the provider listing is unavailable.
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 | Check provider | 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 | Check provider |
| gpt-4.1-mini | GitHub Models | 1.0M | Check provider |
gpt-4.1 is tagged for chat in this catalog and works with OpenAI-compatible client libraries.
gpt-4.1 appears in the free model catalog for GitHub Models, but its current endpoint availability should be confirmed with the provider before use.
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.