Build advanced reasoning agents with MAI Code 2 Flash, a specialized AI model optimized for complex logic and chain-of-thought tasks. This model delivers cost-effective pricing at $0.05/1M input and $0.25/1M output tokens, native tool calling support. Access MAI Code 2 Flash via the GitHub Copilot API with up to 128K output tokens.
Tokens
Tokens
Tokens
MAI Code 2 Flash by GitHub Copilot costs $0.05 per 1M input tokens and $0.25 per 1M output tokens. Cached reads cost $0.0050 per 1M tokens.