Skip to main content

Costs and multipliers for using GitHub Models directly

Reference information for calculating the cost of using different GitHub Models directly (outside GitHub Copilot).

Use of models in GitHub

The information in this article is for the direct use of GitHub Models.

GitHub supports using models in two additional ways.

Multipliers and costs for direct use of GitHub Models

The table below lists the currently available models. Each model supported by GitHub Models has an input and output multiplier that determines the number of token units for each request. For more information on token units, see GitHub Models 청구.

Model nameInput multiplierCached input multiplierOutput multiplierInput price (per 1M token units)Cached input price (per 1M token units)Output price (per 1M token units)
OpenAI GPT-4o0.250.1251.0$2.50$1.25$10.00
OpenAI GPT-4o mini0.0150.00750.06$0.15$0.08$0.60
OpenAI GPT-4.1-mini0.040.010.16$0.40$0.10$1.60
OpenAI GPT-4.10.20.050.8$2.00$0.50$8.00
Phi-3.5-MoE instruct (128k)0.016N/A0.064$0.16N/A$0.64
Phi-3.5-mini instruct (128k)0.013N/A0.052$0.13N/A$0.52
Phi-3.5-vision instruct (128k)0.013N/A0.052$0.13N/A$0.52
Phi-3-medium instruct (4k)0.017N/A0.068$0.17N/A$0.68
Phi-3-medium instruct (128k)0.017N/A0.068$0.17N/A$0.68
Phi-3-mini instruct (4k)0.013N/A0.052$0.13N/A$0.52
Phi-3-mini instruct (128k)0.013N/A0.052$0.13N/A$0.52
Phi-3-small instruct (8k)0.015N/A0.06$0.15N/A$0.60
Phi-3-small instruct (128k)0.015N/A0.06$0.15N/A$0.60
Phi-40.0125N/A0.05$0.13N/A$0.50
Phi-4-mini-instruct0.0075N/A0.03$0.08N/A$0.30
Phi-4-multimodal-instruct0.008N/A0.032$0.08N/A$0.32
DeepSeek-R10.135N/A0.54$1.35N/A$5.40
DeepSeek-R1-05280.135N/A0.54$1.35N/A$5.40
DeepSeek-V3-03240.114N/A0.456$1.14N/A$4.56
MAI-DS-R10.135N/A0.54$1.35N/A$5.40
Grok 3 Mini0.025N/A0.127$0.25N/A$1.27
Grok 30.3N/A1.5$3.00N/A$15.00
Llama 4 Maverick 17B Instruct FP80.025N/A0.1$0.25N/A$1.00
Llama-3.3-70B-Instruct0.071N/A0.071$0.71N/A$0.71