{
  "page": "https://opencode.ai/data/microsoft/mai-code-2-flash",
  "updatedAt": null,
  "summary": "MAI Code 2 Flash costs $0.05 per 1M input tokens and $0.25 per 1M output tokens.",
  "model": {
    "id": "microsoft/mai-code-2-flash",
    "name": "MAI Code 2 Flash",
    "lab": "microsoft",
    "labName": "Microsoft",
    "family": "mai-code-flash",
    "description": "Microsoft's lightweight coding model for explanations, targeted edits and routine fixes at high volume",
    "releaseDate": "2026-11-17",
    "lastUpdated": "2026-11-17",
    "knowledgeCutoff": null,
    "contextTokens": 1050000,
    "outputTokens": 128000,
    "inputModalities": [
      "text",
      "image"
    ],
    "outputModalities": [
      "text"
    ],
    "reasoning": true,
    "toolCall": true,
    "openWeights": false,
    "weights": [],
    "priceUsdPer1M": {
      "input": 0.05,
      "output": 0.25,
      "cachedInput": 0.005,
      "cacheWrite": null
    },
    "benchmarks": []
  },
  "usage": null
}
