Skip to content

GPT-4.1

GitHub Models

GPT-4.1 by GitHub Models costs $0.00 per 1M input tokens and $0.00 per 1M output tokens, with a 128K-token context window.

Pricing

Input (per 1M tokens)
$0.00
Output (per 1M tokens)
$0.00
Cached input (per 1M)
—

Specifications

Provider
GitHub Models
Context window
128K tokens
Parameters
—
Released
Apr 2025
Open weights
No
Frontier model
No

Compare GPT-4.1 with…

FAQ

How much does GPT-4.1 cost?

GPT-4.1 is priced at $0.00 per 1M input tokens and $0.00 per 1M output tokens. Output tokens cost more than input.

What is GPT-4.1's context window?

GPT-4.1 supports a context window of 128K tokens — the maximum prompt plus response length it can handle in a single request.

Is GPT-4.1 open weight?

No — GPT-4.1 is a closed/proprietary model accessed via API.

Data as of 2026-06-28. Source: models.dev (open). Pricing is per 1M tokens (USD); confirm with the provider before production use.