← Models
github-copilot

MAI Code 2 Flash

mai-code-2-flash
ReasoningVision

Model details

Model
mai-code-2-flash
Provider
github-copilot
API
openai-responses
Base URL
https://api.individual.githubcopilot.com
Input
text, image
Reasoning
Yes
Context window
1,050,000
Max tokens
128,000

Pricing

USD per million tokens.

Input
$0.05
Output
$0.25
Cache read
$0.005
Cache write
$0

A reference estimate. Provider pricing and context tiers may vary.

Session cost calculator

Estimate the model requests made during an agent session.

96%
Estimated session$0.01
Uncached input
$0.0040
Cache reads
$0.0032
Cache writes
$0.0000
Output
$0.0037
Without caching
$0.04

25 model requests

The first request starts cold unless marked otherwise. Output is billed separately from context growth. Providers differ in eligibility, context tiers, rounding, and retention.

Compatibility flags

supportsStrictMode
Yes
supportsMidConvoSystemMessages
Yes