{
  "schemaVersion": 1,
  "name": "GitHub Copilot AI credit rates",
  "source": "https://roninforge.org/github-ai-credits/",
  "basedOn": [
    "https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing",
    "https://docs.github.com/en/copilot/concepts/billing/usage-based-billing-for-individuals"
  ],
  "license": "CC-BY-4.0",
  "retrieved_at": "2026-07-14",
  "usd_per_credit": 0.01,
  "units": "USD per 1,000,000 tokens",
  "models": [
    {
      "id": "gpt-5-6-luna",
      "vendor": "OpenAI",
      "name": "GPT-5.6 Luna",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 1,
      "cached_input_per_1m_usd": 0.1,
      "cache_write_per_1m_usd": null,
      "output_per_1m_usd": 6,
      "long_context_threshold_tokens": 200000,
      "promo_ends_on": null
    },
    {
      "id": "gpt-5-6-sol",
      "vendor": "OpenAI",
      "name": "GPT-5.6 Sol",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 5,
      "cached_input_per_1m_usd": 0.5,
      "cache_write_per_1m_usd": null,
      "output_per_1m_usd": 30,
      "long_context_threshold_tokens": 272000,
      "promo_ends_on": null
    },
    {
      "id": "gpt-5-6-terra",
      "vendor": "OpenAI",
      "name": "GPT-5.6 Terra",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 2.5,
      "cached_input_per_1m_usd": 0.25,
      "cache_write_per_1m_usd": null,
      "output_per_1m_usd": 15,
      "long_context_threshold_tokens": 272000,
      "promo_ends_on": null
    },
    {
      "id": "gpt-5-5",
      "vendor": "OpenAI",
      "name": "GPT-5.5",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 5,
      "cached_input_per_1m_usd": 0.5,
      "cache_write_per_1m_usd": null,
      "output_per_1m_usd": 30,
      "long_context_threshold_tokens": 272000,
      "promo_ends_on": null
    },
    {
      "id": "gpt-5-4",
      "vendor": "OpenAI",
      "name": "GPT-5.4",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 2.5,
      "cached_input_per_1m_usd": 0.25,
      "cache_write_per_1m_usd": null,
      "output_per_1m_usd": 15,
      "long_context_threshold_tokens": 272000,
      "promo_ends_on": null
    },
    {
      "id": "gpt-5-4-mini",
      "vendor": "OpenAI",
      "name": "GPT-5.4 mini",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 0.75,
      "cached_input_per_1m_usd": 0.075,
      "cache_write_per_1m_usd": null,
      "output_per_1m_usd": 4.5,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "gpt-5-4-nano",
      "vendor": "OpenAI",
      "name": "GPT-5.4 nano",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 0.2,
      "cached_input_per_1m_usd": 0.02,
      "cache_write_per_1m_usd": null,
      "output_per_1m_usd": 1.25,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "gpt-5-3-codex",
      "vendor": "OpenAI",
      "name": "GPT-5.3-Codex",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 1.75,
      "cached_input_per_1m_usd": 0.175,
      "cache_write_per_1m_usd": null,
      "output_per_1m_usd": 14,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "gpt-5-mini",
      "vendor": "OpenAI",
      "name": "GPT-5 mini",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 0.25,
      "cached_input_per_1m_usd": 0.025,
      "cache_write_per_1m_usd": null,
      "output_per_1m_usd": 2,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "claude-fable-5",
      "vendor": "Anthropic",
      "name": "Claude Fable 5",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 10,
      "cached_input_per_1m_usd": 1,
      "cache_write_per_1m_usd": 12.5,
      "output_per_1m_usd": 50,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "claude-opus-4-8",
      "vendor": "Anthropic",
      "name": "Claude Opus 4.8",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 5,
      "cached_input_per_1m_usd": 0.5,
      "cache_write_per_1m_usd": 6.25,
      "output_per_1m_usd": 25,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "claude-opus-4-8-fast",
      "vendor": "Anthropic",
      "name": "Claude Opus 4.8 fast mode",
      "status": "Preview",
      "featured": true,
      "input_per_1m_usd": 10,
      "cached_input_per_1m_usd": 1,
      "cache_write_per_1m_usd": 12.5,
      "output_per_1m_usd": 50,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "claude-sonnet-5",
      "vendor": "Anthropic",
      "name": "Claude Sonnet 5",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 2,
      "cached_input_per_1m_usd": 0.2,
      "cache_write_per_1m_usd": 2.5,
      "output_per_1m_usd": 10,
      "long_context_threshold_tokens": null,
      "promo_ends_on": "2026-08-31"
    },
    {
      "id": "claude-sonnet-4-6",
      "vendor": "Anthropic",
      "name": "Claude Sonnet 4.6",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 3,
      "cached_input_per_1m_usd": 0.3,
      "cache_write_per_1m_usd": 3.75,
      "output_per_1m_usd": 15,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "claude-haiku-4-5",
      "vendor": "Anthropic",
      "name": "Claude Haiku 4.5",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 1,
      "cached_input_per_1m_usd": 0.1,
      "cache_write_per_1m_usd": 1.25,
      "output_per_1m_usd": 5,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "gemini-3-5-flash",
      "vendor": "Google",
      "name": "Gemini 3.5 Flash",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 1.5,
      "cached_input_per_1m_usd": 0.15,
      "cache_write_per_1m_usd": null,
      "output_per_1m_usd": 9,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "gemini-3-1-pro",
      "vendor": "Google",
      "name": "Gemini 3.1 Pro",
      "status": "Preview",
      "featured": true,
      "input_per_1m_usd": 2,
      "cached_input_per_1m_usd": 0.2,
      "cache_write_per_1m_usd": null,
      "output_per_1m_usd": 12,
      "long_context_threshold_tokens": 200000,
      "promo_ends_on": null
    },
    {
      "id": "gemini-3-flash",
      "vendor": "Google",
      "name": "Gemini 3 Flash",
      "status": "Preview",
      "featured": true,
      "input_per_1m_usd": 0.5,
      "cached_input_per_1m_usd": 0.05,
      "cache_write_per_1m_usd": null,
      "output_per_1m_usd": 3,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "gemini-2-5-pro",
      "vendor": "Google",
      "name": "Gemini 2.5 Pro",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 1.25,
      "cached_input_per_1m_usd": 0.125,
      "cache_write_per_1m_usd": null,
      "output_per_1m_usd": 10,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "mai-code-1-flash",
      "vendor": "Microsoft",
      "name": "MAI-Code-1-Flash",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 0.75,
      "cached_input_per_1m_usd": 0.075,
      "cache_write_per_1m_usd": null,
      "output_per_1m_usd": 4.5,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "raptor-mini",
      "vendor": "GitHub",
      "name": "Raptor mini",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 0.25,
      "cached_input_per_1m_usd": 0.025,
      "cache_write_per_1m_usd": null,
      "output_per_1m_usd": 2,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "kimi-k2-7-code",
      "vendor": "Moonshot AI",
      "name": "Kimi K2.7 Code",
      "status": "GA",
      "featured": true,
      "input_per_1m_usd": 0.95,
      "cached_input_per_1m_usd": 0.19,
      "cache_write_per_1m_usd": null,
      "output_per_1m_usd": 4,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "claude-sonnet-4-5",
      "vendor": "Anthropic",
      "name": "Claude Sonnet 4.5",
      "status": "GA",
      "featured": false,
      "input_per_1m_usd": 3,
      "cached_input_per_1m_usd": 0.3,
      "cache_write_per_1m_usd": 3.75,
      "output_per_1m_usd": 15,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "claude-sonnet-4",
      "vendor": "Anthropic",
      "name": "Claude Sonnet 4",
      "status": "GA",
      "featured": false,
      "input_per_1m_usd": 3,
      "cached_input_per_1m_usd": 0.3,
      "cache_write_per_1m_usd": 3.75,
      "output_per_1m_usd": 15,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "claude-opus-4-7",
      "vendor": "Anthropic",
      "name": "Claude Opus 4.7",
      "status": "GA",
      "featured": false,
      "input_per_1m_usd": 5,
      "cached_input_per_1m_usd": 0.5,
      "cache_write_per_1m_usd": 6.25,
      "output_per_1m_usd": 25,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "claude-opus-4-6",
      "vendor": "Anthropic",
      "name": "Claude Opus 4.6",
      "status": "GA",
      "featured": false,
      "input_per_1m_usd": 5,
      "cached_input_per_1m_usd": 0.5,
      "cache_write_per_1m_usd": 6.25,
      "output_per_1m_usd": 25,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    },
    {
      "id": "claude-opus-4-5",
      "vendor": "Anthropic",
      "name": "Claude Opus 4.5",
      "status": "GA",
      "featured": false,
      "input_per_1m_usd": 5,
      "cached_input_per_1m_usd": 0.5,
      "cache_write_per_1m_usd": 6.25,
      "output_per_1m_usd": 25,
      "long_context_threshold_tokens": null,
      "promo_ends_on": null
    }
  ]
}