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 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
Gemini 2.5 Pro
gemini-2.5-proin $1.25/M
out $10.00/M
cache read $0.13/M
ctx: 128,000
max out: 64,000
in: text, image, audio, video, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Gemini 3 Flash Preview
gemini-3-flash-previewin $0.50/M
out $3.00/M
cache read $0.05/M
ctx: 128,000
max out: 64,000
in: text, image, video, audio, 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: 200,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
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: 400,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: 400,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights