{
  "generated_at": "2026-09-11T02:12:59.272Z",
  "source": "apps/www/src/model-data.ts",
  "currency": "USD",
  "notes": "1 credit = 1 USD. Token-priced entries are billed by upstream-reported usage. Per-image, per-call, per-generation, and per-second entries are billed on completion. The backend at services/gateway/internal/repository/db.go remains the authoritative source of truth.",
  "route_modes": {
    "official": "Provider route for source consistency and predictable behavior.",
    "official-cheap": "Lower-cost official-compatible route configured by MaxAPI.",
    "mix": "Blended routing for cost, stability, and fallback coverage."
  },
  "models": [
    {
      "public_model_id": "openai/gpt-image-2",
      "display_name": "GPT Image 2",
      "kind": "image",
      "href": "https://www.maxapi.dev/models/openai/gpt-image-2",
      "summary": "official: text_input $5/M, image_input $8/M, image_output $30/M; official-cheap: text_input $3/M, image_input $4.8/M, image_output $18/M; mix: $0.019 per output image",
      "entries": [
        {
          "route_mode": "official",
          "kind": "per_token",
          "tiers": [
            {
              "component": "text_input",
              "usd_per_1m_tokens": 5
            },
            {
              "component": "image_input",
              "usd_per_1m_tokens": 8
            },
            {
              "component": "image_output",
              "usd_per_1m_tokens": 30
            }
          ]
        },
        {
          "route_mode": "official-cheap",
          "kind": "per_token",
          "tiers": [
            {
              "component": "text_input",
              "usd_per_1m_tokens": 3
            },
            {
              "component": "image_input",
              "usd_per_1m_tokens": 4.8
            },
            {
              "component": "image_output",
              "usd_per_1m_tokens": 18
            }
          ]
        },
        {
          "route_mode": "mix",
          "kind": "per_image",
          "usd_per_image": 0.019
        }
      ]
    },
    {
      "public_model_id": "openai/gpt-image-2.5-sunburst",
      "display_name": "GPT Image 2.5 Sunburst",
      "kind": "image",
      "href": "https://www.maxapi.dev/models/openai/gpt-image-2.5-sunburst",
      "summary": "mix: $0.018 per call; x: $0.012 per call; a: $0.009 per call",
      "entries": [
        {
          "route_mode": "mix",
          "kind": "per_call",
          "usd_per_call": 0.018
        },
        {
          "route_mode": "x",
          "kind": "per_call",
          "usd_per_call": 0.012
        },
        {
          "route_mode": "a",
          "kind": "per_call",
          "usd_per_call": 0.009
        }
      ]
    },
    {
      "public_model_id": "openai/gpt-image-2.5-flare",
      "display_name": "GPT Image 2.5 Flare",
      "kind": "image",
      "href": "https://www.maxapi.dev/models/openai/gpt-image-2.5-flare",
      "summary": "mix: $0.018 per call; x: $0.012 per call; a: $0.009 per call",
      "entries": [
        {
          "route_mode": "mix",
          "kind": "per_call",
          "usd_per_call": 0.018
        },
        {
          "route_mode": "x",
          "kind": "per_call",
          "usd_per_call": 0.012
        },
        {
          "route_mode": "a",
          "kind": "per_call",
          "usd_per_call": 0.009
        }
      ]
    },
    {
      "public_model_id": "google/gemini-2.5-flash-image",
      "display_name": "Gemini 2.5 Flash Image",
      "kind": "image",
      "href": "https://www.maxapi.dev/models/google/gemini-2.5-flash-image",
      "summary": "official: $0.04 per call; official-cheap: $0.024 per call",
      "entries": [
        {
          "route_mode": "official",
          "kind": "per_call",
          "usd_per_call": 0.04
        },
        {
          "route_mode": "official-cheap",
          "kind": "per_call",
          "usd_per_call": 0.024
        }
      ]
    },
    {
      "public_model_id": "google/gemini-3.1-flash-lite-image",
      "display_name": "Gemini 3.1 Flash Lite Image",
      "kind": "image",
      "href": "https://www.maxapi.dev/models/google/gemini-3.1-flash-lite-image",
      "summary": "mix: $0.015 per call",
      "entries": [
        {
          "route_mode": "mix",
          "kind": "per_call",
          "usd_per_call": 0.015
        }
      ]
    },
    {
      "public_model_id": "google/gemini-3-pro-image-preview",
      "display_name": "Nanobanana Pro",
      "kind": "image",
      "href": "https://www.maxapi.dev/models/google/gemini-3-pro-image-preview",
      "summary": "official: input $2/M, output $120/M; official-cheap: input $1.2/M, output $72/M; mix: input $0.37/M, output $22.29/M",
      "entries": [
        {
          "route_mode": "official",
          "kind": "per_token",
          "tiers": [
            {
              "component": "input",
              "usd_per_1m_tokens": 2
            },
            {
              "component": "output",
              "usd_per_1m_tokens": 120
            }
          ]
        },
        {
          "route_mode": "official-cheap",
          "kind": "per_token",
          "tiers": [
            {
              "component": "input",
              "usd_per_1m_tokens": 1.2
            },
            {
              "component": "output",
              "usd_per_1m_tokens": 72
            }
          ]
        },
        {
          "route_mode": "mix",
          "kind": "per_token",
          "tiers": [
            {
              "component": "input",
              "usd_per_1m_tokens": 0.37
            },
            {
              "component": "output",
              "usd_per_1m_tokens": 22.29
            }
          ]
        }
      ]
    },
    {
      "public_model_id": "google/gemini-3.1-flash-image-preview",
      "display_name": "Gemini 3.1 Flash Image Preview",
      "kind": "image",
      "href": "https://www.maxapi.dev/models/google/gemini-3.1-flash-image-preview",
      "summary": "official: input $0.5/M, output $60/M; official-cheap: input $0.3/M, output $36/M; mix: input $0.093/M, output $11.14/M",
      "entries": [
        {
          "route_mode": "official",
          "kind": "per_token",
          "tiers": [
            {
              "component": "input",
              "usd_per_1m_tokens": 0.5
            },
            {
              "component": "output",
              "usd_per_1m_tokens": 60
            }
          ]
        },
        {
          "route_mode": "official-cheap",
          "kind": "per_token",
          "tiers": [
            {
              "component": "input",
              "usd_per_1m_tokens": 0.3
            },
            {
              "component": "output",
              "usd_per_1m_tokens": 36
            }
          ]
        },
        {
          "route_mode": "mix",
          "kind": "per_token",
          "tiers": [
            {
              "component": "input",
              "usd_per_1m_tokens": 0.093
            },
            {
              "component": "output",
              "usd_per_1m_tokens": 11.14
            }
          ]
        }
      ]
    },
    {
      "public_model_id": "google/gemini-3-pro-image-preview-beta",
      "display_name": "Gemini 3 Pro Image Preview Beta",
      "kind": "image",
      "href": "https://www.maxapi.dev/models/google/gemini-3-pro-image-preview-beta",
      "summary": "official-cheap: $0.085 per output image; mix: $0.065 per output image",
      "entries": [
        {
          "route_mode": "official-cheap",
          "kind": "per_image",
          "usd_per_image": 0.085
        },
        {
          "route_mode": "mix",
          "kind": "per_image",
          "usd_per_image": 0.065
        }
      ]
    },
    {
      "public_model_id": "google/gemini-3.1-flash-image-preview-beta",
      "display_name": "Gemini 3.1 Flash Image Preview Beta",
      "kind": "image",
      "href": "https://www.maxapi.dev/models/google/gemini-3.1-flash-image-preview-beta",
      "summary": "official-cheap: $0.07 per output image; mix: $0.045 per output image",
      "entries": [
        {
          "route_mode": "official-cheap",
          "kind": "per_image",
          "usd_per_image": 0.07
        },
        {
          "route_mode": "mix",
          "kind": "per_image",
          "usd_per_image": 0.045
        }
      ]
    },
    {
      "public_model_id": "openai/gpt-image-2-beta",
      "display_name": "GPT Image 2 Beta",
      "kind": "image",
      "href": "https://www.maxapi.dev/models/openai/gpt-image-2-beta",
      "summary": "official-cheap: text_input $0.35/M, image_input $0.35/M, image_output $0.7/M; mix: $0.019 per output image",
      "entries": [
        {
          "route_mode": "official-cheap",
          "kind": "per_token",
          "tiers": [
            {
              "component": "text_input",
              "usd_per_1m_tokens": 0.35
            },
            {
              "component": "image_input",
              "usd_per_1m_tokens": 0.35
            },
            {
              "component": "image_output",
              "usd_per_1m_tokens": 0.7
            }
          ]
        },
        {
          "route_mode": "mix",
          "kind": "per_image",
          "usd_per_image": 0.019
        }
      ]
    },
    {
      "public_model_id": "google/gemini-2.5-flash",
      "display_name": "Gemini 2.5 Flash",
      "kind": "text",
      "href": "https://www.maxapi.dev/models/google/gemini-2.5-flash",
      "summary": "official-cheap: input $0.1235/M, output $1.0294/M, audio_input $0.4118/M, cache_read $0.0124/M",
      "entries": [
        {
          "route_mode": "official-cheap",
          "kind": "per_token",
          "tiers": [
            {
              "component": "input",
              "usd_per_1m_tokens": 0.1235
            },
            {
              "component": "output",
              "usd_per_1m_tokens": 1.0294
            },
            {
              "component": "audio_input",
              "usd_per_1m_tokens": 0.4118
            },
            {
              "component": "cache_read",
              "usd_per_1m_tokens": 0.0124
            }
          ]
        }
      ]
    },
    {
      "public_model_id": "google/gemini-2.5-flash-lite",
      "display_name": "Gemini 2.5 Flash-Lite",
      "kind": "text",
      "href": "https://www.maxapi.dev/models/google/gemini-2.5-flash-lite",
      "summary": "official-cheap: input $0.0412/M, output $0.1647/M, audio_input $0.1235/M, cache_read $0.0041/M",
      "entries": [
        {
          "route_mode": "official-cheap",
          "kind": "per_token",
          "tiers": [
            {
              "component": "input",
              "usd_per_1m_tokens": 0.0412
            },
            {
              "component": "output",
              "usd_per_1m_tokens": 0.1647
            },
            {
              "component": "audio_input",
              "usd_per_1m_tokens": 0.1235
            },
            {
              "component": "cache_read",
              "usd_per_1m_tokens": 0.0041
            }
          ]
        }
      ]
    },
    {
      "public_model_id": "google/gemini-2.5-pro",
      "display_name": "Gemini 2.5 Pro",
      "kind": "text",
      "href": "https://www.maxapi.dev/models/google/gemini-2.5-pro",
      "summary": "official-cheap: input (≤200k) $0.5147/M, output (≤200k) $4.1176/M, cache_read (≤200k) $0.0515/M, input (>200k) $1.0294/M, output (>200k) $6.1765/M, cache_read (>200k) $0.1029/M",
      "entries": [
        {
          "route_mode": "official-cheap",
          "kind": "per_token",
          "tiers": [
            {
              "component": "input (≤200k)",
              "usd_per_1m_tokens": 0.5147
            },
            {
              "component": "output (≤200k)",
              "usd_per_1m_tokens": 4.1176
            },
            {
              "component": "cache_read (≤200k)",
              "usd_per_1m_tokens": 0.0515
            },
            {
              "component": "input (>200k)",
              "usd_per_1m_tokens": 1.0294
            },
            {
              "component": "output (>200k)",
              "usd_per_1m_tokens": 6.1765
            },
            {
              "component": "cache_read (>200k)",
              "usd_per_1m_tokens": 0.1029
            }
          ]
        }
      ]
    },
    {
      "public_model_id": "google/gemini-3-flash-preview",
      "display_name": "Gemini 3 Flash Preview",
      "kind": "text",
      "href": "https://www.maxapi.dev/models/google/gemini-3-flash-preview",
      "summary": "official-cheap: input $0.2059/M, output $1.2353/M, audio_input $0.4118/M, cache_read $0.0206/M",
      "entries": [
        {
          "route_mode": "official-cheap",
          "kind": "per_token",
          "tiers": [
            {
              "component": "input",
              "usd_per_1m_tokens": 0.2059
            },
            {
              "component": "output",
              "usd_per_1m_tokens": 1.2353
            },
            {
              "component": "audio_input",
              "usd_per_1m_tokens": 0.4118
            },
            {
              "component": "cache_read",
              "usd_per_1m_tokens": 0.0206
            }
          ]
        }
      ]
    },
    {
      "public_model_id": "google/gemini-3.1-flash-lite",
      "display_name": "Gemini 3.1 Flash-Lite",
      "kind": "text",
      "href": "https://www.maxapi.dev/models/google/gemini-3.1-flash-lite",
      "summary": "official-cheap: input $0.1029/M, output $0.6176/M, audio_input $0.2059/M, cache_read $0.0103/M",
      "entries": [
        {
          "route_mode": "official-cheap",
          "kind": "per_token",
          "tiers": [
            {
              "component": "input",
              "usd_per_1m_tokens": 0.1029
            },
            {
              "component": "output",
              "usd_per_1m_tokens": 0.6176
            },
            {
              "component": "audio_input",
              "usd_per_1m_tokens": 0.2059
            },
            {
              "component": "cache_read",
              "usd_per_1m_tokens": 0.0103
            }
          ]
        }
      ]
    },
    {
      "public_model_id": "google/gemini-3.1-pro-preview",
      "display_name": "Gemini 3.1 Pro Preview",
      "kind": "text",
      "href": "https://www.maxapi.dev/models/google/gemini-3.1-pro-preview",
      "summary": "official-cheap: input (≤200k) $0.8235/M, output (≤200k) $4.9412/M, cache_read (≤200k) $0.0824/M, input (>200k) $1.6471/M, output (>200k) $7.4118/M, cache_read (>200k) $0.1647/M",
      "entries": [
        {
          "route_mode": "official-cheap",
          "kind": "per_token",
          "tiers": [
            {
              "component": "input (≤200k)",
              "usd_per_1m_tokens": 0.8235
            },
            {
              "component": "output (≤200k)",
              "usd_per_1m_tokens": 4.9412
            },
            {
              "component": "cache_read (≤200k)",
              "usd_per_1m_tokens": 0.0824
            },
            {
              "component": "input (>200k)",
              "usd_per_1m_tokens": 1.6471
            },
            {
              "component": "output (>200k)",
              "usd_per_1m_tokens": 7.4118
            },
            {
              "component": "cache_read (>200k)",
              "usd_per_1m_tokens": 0.1647
            }
          ]
        }
      ]
    },
    {
      "public_model_id": "google/gemini-3.5-flash",
      "display_name": "Gemini 3.5 Flash",
      "kind": "text",
      "href": "https://www.maxapi.dev/models/google/gemini-3.5-flash",
      "summary": "official-cheap: input $0.6176/M, output $3.7059/M, cache_read $0.0618/M",
      "entries": [
        {
          "route_mode": "official-cheap",
          "kind": "per_token",
          "tiers": [
            {
              "component": "input",
              "usd_per_1m_tokens": 0.6176
            },
            {
              "component": "output",
              "usd_per_1m_tokens": 3.7059
            },
            {
              "component": "cache_read",
              "usd_per_1m_tokens": 0.0618
            }
          ]
        }
      ]
    },
    {
      "public_model_id": "model/seedance-2.0-fast",
      "display_name": "Seedance 2.0 Fast",
      "kind": "video",
      "href": "https://www.maxapi.dev/models/model/seedance-2.0-fast",
      "summary": "official-cheap: 480p $0.104/s, 720p $0.104/s; mix: 480p $0.09/s, 720p $0.09/s",
      "entries": [
        {
          "route_mode": "official-cheap",
          "kind": "per_second",
          "tiers": [
            {
              "video_resolution": "480p",
              "usd_per_second": 0.104
            },
            {
              "video_resolution": "720p",
              "usd_per_second": 0.104
            }
          ]
        },
        {
          "route_mode": "mix",
          "kind": "per_second",
          "tiers": [
            {
              "video_resolution": "480p",
              "usd_per_second": 0.09
            },
            {
              "video_resolution": "720p",
              "usd_per_second": 0.09
            }
          ]
        }
      ]
    },
    {
      "public_model_id": "model/seedance-2.0",
      "display_name": "Seedance 2.0",
      "kind": "video",
      "href": "https://www.maxapi.dev/models/model/seedance-2.0",
      "summary": "official-cheap: 480p $0.127/s, 720p $0.127/s, 1080p $0.127/s; mix: 480p $0.112/s, 720p $0.112/s, 1080p $0.112/s",
      "entries": [
        {
          "route_mode": "official-cheap",
          "kind": "per_second",
          "tiers": [
            {
              "video_resolution": "480p",
              "usd_per_second": 0.127
            },
            {
              "video_resolution": "720p",
              "usd_per_second": 0.127
            },
            {
              "video_resolution": "1080p",
              "usd_per_second": 0.127
            }
          ]
        },
        {
          "route_mode": "mix",
          "kind": "per_second",
          "tiers": [
            {
              "video_resolution": "480p",
              "usd_per_second": 0.112
            },
            {
              "video_resolution": "720p",
              "usd_per_second": 0.112
            },
            {
              "video_resolution": "1080p",
              "usd_per_second": 0.112
            }
          ]
        }
      ]
    },
    {
      "public_model_id": "model/seedance-2.5",
      "display_name": "Seedance 2.5",
      "kind": "video",
      "href": "https://www.maxapi.dev/models/model/seedance-2.5",
      "summary": "mix: 720p $0.09/s",
      "entries": [
        {
          "route_mode": "mix",
          "kind": "per_second",
          "tiers": [
            {
              "video_resolution": "720p",
              "usd_per_second": 0.09
            }
          ]
        }
      ]
    }
  ]
}
