id: github-copilot
npm: @ai-sdk/openai-compatible
env: GITHUB_TOKEN
api: https://api.githubcopilot.com
Models
Claude Fable 5
claude-fable-5in $10.00/M
out $50.00/M
cache read $1.00/M
cache write $12.50/M
ctx: 1,000,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Haiku 4.5 (latest)
claude-haiku-4.5in $1.00/M
out $5.00/M
cache read $0.10/M
cache write $1.25/M
ctx: 200,000
max out: 64,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Opus 4.5 (latest)
claude-opus-4.5in $5.00/M
out $25.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 200,000
max out: 32,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Opus 4.6
claude-opus-4.6in $5.00/M
out $25.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 200,000
max out: 32,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Opus 4.7
claude-opus-4.7in $5.00/M
out $25.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 200,000
max out: 32,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Opus 4.8
claude-opus-4.8in $5.00/M
out $25.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 200,000
max out: 64,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Opus 5
claude-opus-5in $5.00/M
out $25.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 1,000,000
max out: 64,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Sonnet 4 (latest)
claude-sonnet-4in $3.00/M
out $15.00/M
cache read $0.30/M
cache write $3.75/M
ctx: 216,000
max out: 16,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Sonnet 4.5 (latest)
claude-sonnet-4.5in $3.00/M
out $15.00/M
cache read $0.30/M
cache write $3.75/M
ctx: 200,000
max out: 32,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Sonnet 4.6
claude-sonnet-4.6in $3.00/M
out $15.00/M
cache read $0.30/M
cache write $3.75/M
ctx: 200,000
max out: 32,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Sonnet 5
claude-sonnet-5in $2.00/M
out $10.00/M
cache read $0.20/M
cache write $2.50/M
ctx: 1,000,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Gemini 3.1 Pro Preview
gemini-3.1-pro-previewin $2.00/M
out $12.00/M
cache read $0.20/M
ctx: 1,000,000
max out: 64,000
in: text, image, video, audio, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Gemini 3.5 Flash
gemini-3.5-flashin $1.50/M
out $9.00/M
cache read $0.15/M
ctx: 200,000
max out: 64,000
in: text, image, video, audio, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Gemini 3.6 Flash
gemini-3.6-flashin $1.50/M
out $7.50/M
cache read $0.15/M
ctx: 1,000,000
max out: 64,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Gemini 3.7 Flash
gemini-3.7-flashin $0.75/M
out $3.75/M
cache read $0.07/M
ctx: 1,000,000
max out: 64,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-4.1
gpt-4.1in $2.00/M
out $8.00/M
cache read $0.50/M
ctx: 128,000
max out: 16,384
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5 Mini
gpt-5-miniin $0.25/M
out $2.00/M
cache read $0.03/M
ctx: 264,000
max out: 64,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.2
gpt-5.2in $1.75/M
out $14.00/M
cache read $0.17/M
ctx: 400,000
max out: 128,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.2 Codex
gpt-5.2-codexin $1.75/M
out $14.00/M
cache read $0.17/M
ctx: 400,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.3 Codex
gpt-5.3-codexin $1.75/M
out $14.00/M
cache read $0.17/M
ctx: 400,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.4
gpt-5.4in $2.50/M
out $15.00/M
cache read $0.25/M
ctx: 1,050,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.4 mini
gpt-5.4-miniin $0.75/M
out $4.50/M
cache read $0.07/M
ctx: 400,000
max out: 128,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.4 nano
gpt-5.4-nanoin $0.20/M
out $1.25/M
cache read $0.02/M
ctx: 400,000
max out: 128,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.5
gpt-5.5in $5.00/M
out $30.00/M
cache read $0.50/M
ctx: 1,050,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.6 Luna
gpt-5.6-lunain $0.20/M
out $1.20/M
cache read $0.02/M
ctx: 1,050,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.6 Sol
gpt-5.6-solin $2.50/M
out $15.00/M
cache read $0.25/M
cache write $3.13/M
ctx: 1,050,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.6 Terra
gpt-5.6-terrain $2.00/M
out $12.00/M
cache read $0.20/M
ctx: 1,050,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Grok 4.5
grok-4.5in $2.00/M
out $6.00/M
cache read $0.50/M
ctx: 500,000
max out: 128,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
Grok 4.6
grok-4.6in $2.00/M
out $6.00/M
cache read $0.50/M
ctx: 500,000
max out: 128,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
Kimi K2.7 Code
kimi-k2.7-codein $0.95/M
out $4.00/M
cache read $0.19/M
ctx: 256,000
max out: 32,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
Kimi K3
kimi-k3in $3.00/M
out $15.00/M
cache read $0.30/M
ctx: 1,048,576
max out: 131,072
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
MAI-Code-1-Flash
mai-code-1-flash-pickerin $0.75/M
out $4.50/M
cache read $0.07/M
ctx: 256,000
max out: 128,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
MAI-Code-1.1-Flash
mai-code-1.1-flashin $0.20/M
out $1.20/M
cache read $0.02/M
ctx: 256,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights