[
  {
    "supports_function_calling": true,
    "input_cost_per_token": 0.000002,
    "output_cost_per_token": 0.00001,
    "max_input_tokens": 131072,
    "max_output_tokens": 131072,
    "max_tokens": 131072,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-2",
    "model_name": "Grok 2",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 2,
    "output_cost_per_million": 10,
    "cache_read_cost_per_token": 0,
    "cache_read_cost_per_million": 0,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_vision": false,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "input_cost_per_token": 0.000002,
    "output_cost_per_token": 0.00001,
    "max_input_tokens": 131072,
    "max_output_tokens": 131072,
    "max_tokens": 131072,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-2-1212",
    "model_name": "Grok 2 (Dec 2012)",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 2,
    "output_cost_per_million": 10,
    "cache_read_cost_per_token": 0,
    "cache_read_cost_per_million": 0,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_vision": false,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "input_cost_per_token": 0.000002,
    "output_cost_per_token": 0.00001,
    "max_input_tokens": 131072,
    "max_output_tokens": 131072,
    "max_tokens": 131072,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-2-latest",
    "model_name": "Grok 2 Latest",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 2,
    "output_cost_per_million": 10,
    "cache_read_cost_per_token": 0,
    "cache_read_cost_per_million": 0,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_vision": false,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "input_cost_per_token": 0.000002,
    "output_cost_per_token": 0.00001,
    "max_input_tokens": 32768,
    "max_output_tokens": 32768,
    "input_cost_per_image": 0.000002,
    "max_tokens": 32768,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-2-vision",
    "model_name": "Grok 2 Vision",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 2,
    "output_cost_per_million": 10,
    "cache_read_cost_per_token": 0,
    "cache_read_cost_per_million": 0,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "input_cost_per_token": 0.000002,
    "output_cost_per_token": 0.00001,
    "max_input_tokens": 32768,
    "max_output_tokens": 32768,
    "deprecation_date": "2026-02-28",
    "input_cost_per_image": 0.000002,
    "max_tokens": 32768,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-2-vision-1212",
    "model_name": "Grok 2 Vision (Dec 2012)",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 2,
    "output_cost_per_million": 10,
    "cache_read_cost_per_token": 0,
    "cache_read_cost_per_million": 0,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "input_cost_per_token": 0.000002,
    "output_cost_per_token": 0.00001,
    "max_input_tokens": 32768,
    "max_output_tokens": 32768,
    "input_cost_per_image": 0.000002,
    "max_tokens": 32768,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-2-vision-latest",
    "model_name": "Grok 2 Vision Latest",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 2,
    "output_cost_per_million": 10,
    "cache_read_cost_per_token": 0,
    "cache_read_cost_per_million": 0,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_response_schema": false,
    "input_cost_per_token": 0.000003,
    "output_cost_per_token": 0.000015,
    "max_input_tokens": 131072,
    "max_output_tokens": 131072,
    "deprecation_date": "2026-05-15",
    "max_tokens": 131072,
    "source": "https://x.ai/api#pricing",
    "supports_prompt_caching": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-3",
    "model_name": "Grok 3",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 3,
    "output_cost_per_million": 15,
    "cache_read_cost_per_token": 7.5e-7,
    "cache_read_cost_per_million": 0.75,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "supports_json_mode": false,
    "supports_vision": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_response_schema": false,
    "input_cost_per_token": 0.000003,
    "output_cost_per_token": 0.000015,
    "max_input_tokens": 131072,
    "max_output_tokens": 131072,
    "max_tokens": 131072,
    "source": "https://x.ai/api#pricing",
    "supports_prompt_caching": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-3-beta",
    "model_name": "Grok 3 Beta",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 3,
    "output_cost_per_million": 15,
    "cache_read_cost_per_token": 7.5e-7,
    "cache_read_cost_per_million": 0.75,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": false,
    "supports_vision": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_response_schema": false,
    "input_cost_per_token": 0.000005,
    "output_cost_per_token": 0.000025,
    "max_input_tokens": 131072,
    "max_output_tokens": 131072,
    "max_tokens": 131072,
    "source": "https://x.ai/api#pricing",
    "supports_prompt_caching": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-3-fast-beta",
    "model_name": "Grok 3 Fast Beta",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 5,
    "output_cost_per_million": 25,
    "cache_read_cost_per_token": 0.00000125,
    "cache_read_cost_per_million": 1.25,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": false,
    "supports_vision": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_response_schema": false,
    "input_cost_per_token": 0.000005,
    "output_cost_per_token": 0.000025,
    "max_input_tokens": 131072,
    "max_output_tokens": 131072,
    "max_tokens": 131072,
    "source": "https://x.ai/api#pricing",
    "supports_prompt_caching": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-3-fast-latest",
    "model_name": "Grok 3 Fast Latest",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 5,
    "output_cost_per_million": 25,
    "cache_read_cost_per_token": 0.00000125,
    "cache_read_cost_per_million": 1.25,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": false,
    "supports_vision": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_response_schema": false,
    "input_cost_per_token": 0.000003,
    "output_cost_per_token": 0.000015,
    "max_input_tokens": 131072,
    "max_output_tokens": 131072,
    "max_tokens": 131072,
    "source": "https://x.ai/api#pricing",
    "supports_prompt_caching": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-3-latest",
    "model_name": "Grok 3 Latest",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 3,
    "output_cost_per_million": 15,
    "cache_read_cost_per_token": 7.5e-7,
    "cache_read_cost_per_million": 0.75,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": false,
    "supports_vision": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_response_schema": false,
    "input_cost_per_token": 3e-7,
    "output_cost_per_token": 5e-7,
    "max_input_tokens": 131072,
    "max_output_tokens": 131072,
    "deprecation_date": "2026-02-28",
    "max_tokens": 131072,
    "source": "https://x.ai/api#pricing",
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-3-mini",
    "model_name": "Grok 3 Mini",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 0.3,
    "output_cost_per_million": 0.5,
    "cache_read_cost_per_token": 7.5e-8,
    "cache_read_cost_per_million": 0.075,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "supports_json_mode": false,
    "supports_vision": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_response_schema": false,
    "input_cost_per_token": 3e-7,
    "output_cost_per_token": 5e-7,
    "max_input_tokens": 131072,
    "max_output_tokens": 131072,
    "deprecation_date": "2026-02-28",
    "max_tokens": 131072,
    "source": "https://x.ai/api#pricing",
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-3-mini-beta",
    "model_name": "Grok 3 Mini Beta",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 0.3,
    "output_cost_per_million": 0.5,
    "cache_read_cost_per_token": 7.5e-8,
    "cache_read_cost_per_million": 0.075,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "supports_json_mode": false,
    "supports_vision": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_response_schema": false,
    "input_cost_per_token": 6e-7,
    "output_cost_per_token": 0.000004,
    "max_input_tokens": 131072,
    "max_output_tokens": 131072,
    "max_tokens": 131072,
    "source": "https://x.ai/api#pricing",
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-3-mini-fast",
    "model_name": "Grok 3 Mini Fast",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 0.6,
    "output_cost_per_million": 4,
    "cache_read_cost_per_token": 1.5e-7,
    "cache_read_cost_per_million": 0.15,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": false,
    "supports_vision": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_response_schema": false,
    "input_cost_per_token": 6e-7,
    "output_cost_per_token": 0.000004,
    "max_input_tokens": 131072,
    "max_output_tokens": 131072,
    "max_tokens": 131072,
    "source": "https://x.ai/api#pricing",
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-3-mini-fast-beta",
    "model_name": "Grok 3 Mini Fast Beta",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 0.6,
    "output_cost_per_million": 4,
    "cache_read_cost_per_token": 1.5e-7,
    "cache_read_cost_per_million": 0.15,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": false,
    "supports_vision": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_response_schema": false,
    "input_cost_per_token": 6e-7,
    "output_cost_per_token": 0.000004,
    "max_input_tokens": 131072,
    "max_output_tokens": 131072,
    "max_tokens": 131072,
    "source": "https://x.ai/api#pricing",
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-3-mini-fast-latest",
    "model_name": "Grok 3 Mini Fast Latest",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 0.6,
    "output_cost_per_million": 4,
    "cache_read_cost_per_token": 1.5e-7,
    "cache_read_cost_per_million": 0.15,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": false,
    "supports_vision": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_response_schema": false,
    "input_cost_per_token": 3e-7,
    "output_cost_per_token": 5e-7,
    "max_input_tokens": 131072,
    "max_output_tokens": 131072,
    "max_tokens": 131072,
    "source": "https://x.ai/api#pricing",
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-3-mini-latest",
    "model_name": "Grok 3 Mini Latest",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 0.3,
    "output_cost_per_million": 0.5,
    "cache_read_cost_per_token": 7.5e-8,
    "cache_read_cost_per_million": 0.075,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": false,
    "supports_vision": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "input_cost_per_token": 0.000003,
    "output_cost_per_token": 0.000015,
    "max_input_tokens": 256000,
    "max_output_tokens": 256000,
    "max_tokens": 256000,
    "source": "https://docs.x.ai/docs/models",
    "supports_prompt_caching": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4",
    "model_name": "Grok 4",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 3,
    "output_cost_per_million": 15,
    "cache_read_cost_per_token": 0,
    "cache_read_cost_per_million": 0,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_vision": false,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "input_cost_per_token": 0.000003,
    "output_cost_per_token": 0.000015,
    "max_input_tokens": 256000,
    "max_output_tokens": 256000,
    "deprecation_date": "2026-05-15",
    "input_cost_per_token_above_128k_tokens": 0.000006,
    "max_tokens": 256000,
    "output_cost_per_token_above_128k_tokens": 0.00003,
    "source": "https://docs.x.ai/docs/models",
    "supports_prompt_caching": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4-0709",
    "model_name": "Grok 4 (Sep 2007)",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 3,
    "output_cost_per_million": 15,
    "cache_read_cost_per_token": 0,
    "cache_read_cost_per_million": 0,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "supports_vision": false,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "supports_response_schema": true,
    "input_cost_per_token": 2e-7,
    "output_cost_per_token": 5e-7,
    "max_input_tokens": 2000000,
    "max_output_tokens": 2000000,
    "input_cost_per_token_above_128k_tokens": 4e-7,
    "max_tokens": 2000000,
    "output_cost_per_token_above_128k_tokens": 0.000001,
    "source": "https://docs.x.ai/docs/models/grok-4-1-fast-reasoning",
    "supports_audio_input": true,
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4-1-fast",
    "model_name": "Grok 4 1 Fast",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 0.19999999999999998,
    "output_cost_per_million": 0.5,
    "cache_read_cost_per_token": 5e-8,
    "cache_read_cost_per_million": 0.049999999999999996,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": true,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "supports_response_schema": true,
    "input_cost_per_token": 2e-7,
    "output_cost_per_token": 5e-7,
    "max_input_tokens": 2000000,
    "max_output_tokens": 2000000,
    "deprecation_date": "2026-05-15",
    "input_cost_per_token_above_128k_tokens": 4e-7,
    "max_tokens": 2000000,
    "output_cost_per_token_above_128k_tokens": 0.000001,
    "source": "https://docs.x.ai/docs/models/grok-4-1-fast-non-reasoning",
    "supports_audio_input": true,
    "supports_prompt_caching": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4-1-fast-non-reasoning",
    "model_name": "Grok 4 1 Fast Non Reasoning",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 0.19999999999999998,
    "output_cost_per_million": 0.5,
    "cache_read_cost_per_token": 5e-8,
    "cache_read_cost_per_million": 0.049999999999999996,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "supports_json_mode": true,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "supports_response_schema": true,
    "input_cost_per_token": 2e-7,
    "output_cost_per_token": 5e-7,
    "max_input_tokens": 2000000,
    "max_output_tokens": 2000000,
    "deprecation_date": "2026-05-15",
    "input_cost_per_token_above_128k_tokens": 4e-7,
    "max_tokens": 2000000,
    "output_cost_per_token_above_128k_tokens": 0.000001,
    "source": "https://docs.x.ai/docs/models/grok-4-1-fast-non-reasoning",
    "supports_audio_input": true,
    "supports_prompt_caching": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4-1-fast-non-reasoning-latest",
    "model_name": "Grok 4 1 Fast Non Reasoning Latest",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 0.19999999999999998,
    "output_cost_per_million": 0.5,
    "cache_read_cost_per_token": 5e-8,
    "cache_read_cost_per_million": 0.049999999999999996,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "supports_json_mode": true,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "supports_response_schema": true,
    "input_cost_per_token": 2e-7,
    "output_cost_per_token": 5e-7,
    "max_input_tokens": 2000000,
    "max_output_tokens": 2000000,
    "deprecation_date": "2026-05-15",
    "input_cost_per_token_above_128k_tokens": 4e-7,
    "max_tokens": 2000000,
    "output_cost_per_token_above_128k_tokens": 0.000001,
    "source": "https://docs.x.ai/docs/models/grok-4-1-fast-reasoning",
    "supports_audio_input": true,
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4-1-fast-reasoning",
    "model_name": "Grok 4 1 Fast Reasoning",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 0.19999999999999998,
    "output_cost_per_million": 0.5,
    "cache_read_cost_per_token": 5e-8,
    "cache_read_cost_per_million": 0.049999999999999996,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "supports_json_mode": true,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "supports_response_schema": true,
    "input_cost_per_token": 2e-7,
    "output_cost_per_token": 5e-7,
    "max_input_tokens": 2000000,
    "max_output_tokens": 2000000,
    "deprecation_date": "2026-05-15",
    "input_cost_per_token_above_128k_tokens": 4e-7,
    "max_tokens": 2000000,
    "output_cost_per_token_above_128k_tokens": 0.000001,
    "source": "https://docs.x.ai/docs/models/grok-4-1-fast-reasoning",
    "supports_audio_input": true,
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4-1-fast-reasoning-latest",
    "model_name": "Grok 4 1 Fast Reasoning Latest",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 0.19999999999999998,
    "output_cost_per_million": 0.5,
    "cache_read_cost_per_token": 5e-8,
    "cache_read_cost_per_million": 0.049999999999999996,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "supports_json_mode": true,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "input_cost_per_token": 2e-7,
    "output_cost_per_token": 5e-7,
    "max_input_tokens": 2000000,
    "max_output_tokens": 2000000,
    "deprecation_date": "2026-05-15",
    "input_cost_per_token_above_128k_tokens": 4e-7,
    "max_tokens": 2000000,
    "output_cost_per_token_above_128k_tokens": 0.000001,
    "source": "https://docs.x.ai/docs/models",
    "supports_prompt_caching": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4-fast-non-reasoning",
    "model_name": "Grok 4 Fast Non Reasoning",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 0.19999999999999998,
    "output_cost_per_million": 0.5,
    "cache_read_cost_per_token": 5e-8,
    "cache_read_cost_per_million": 0.049999999999999996,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "supports_vision": false,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "input_cost_per_token": 2e-7,
    "output_cost_per_token": 5e-7,
    "max_input_tokens": 2000000,
    "max_output_tokens": 2000000,
    "deprecation_date": "2026-05-15",
    "input_cost_per_token_above_128k_tokens": 4e-7,
    "max_tokens": 2000000,
    "output_cost_per_token_above_128k_tokens": 0.000001,
    "source": "https://docs.x.ai/docs/models",
    "supports_prompt_caching": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4-fast-reasoning",
    "model_name": "Grok 4 Fast Reasoning",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 0.19999999999999998,
    "output_cost_per_million": 0.5,
    "cache_read_cost_per_token": 5e-8,
    "cache_read_cost_per_million": 0.049999999999999996,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "supports_vision": false,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "input_cost_per_token": 0.000003,
    "output_cost_per_token": 0.000015,
    "max_input_tokens": 256000,
    "max_output_tokens": 256000,
    "input_cost_per_token_above_128k_tokens": 0.000006,
    "max_tokens": 256000,
    "output_cost_per_token_above_128k_tokens": 0.00003,
    "source": "https://docs.x.ai/docs/models",
    "supports_prompt_caching": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4-latest",
    "model_name": "Grok 4 Latest",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 3,
    "output_cost_per_million": 15,
    "cache_read_cost_per_token": 0,
    "cache_read_cost_per_million": 0,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_vision": false,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "input_cost_per_token": 0.000002,
    "output_cost_per_token": 0.000006,
    "max_input_tokens": 2000000,
    "max_output_tokens": 2000000,
    "max_tokens": 2000000,
    "source": "https://docs.x.ai/docs/models",
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4.20-0309-reasoning",
    "model_name": "Grok 4.20 0309 Reasoning",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 2,
    "output_cost_per_million": 6,
    "cache_read_cost_per_token": 2e-7,
    "cache_read_cost_per_million": 0.19999999999999998,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "input_cost_per_token": 0.000002,
    "output_cost_per_token": 0.000006,
    "max_input_tokens": 2000000,
    "max_output_tokens": 2000000,
    "max_tokens": 2000000,
    "source": "https://docs.x.ai/docs/models",
    "supports_prompt_caching": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4.20-beta-0309-non-reasoning",
    "model_name": "Grok 4.20 Beta 0309 Non Reasoning",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 2,
    "output_cost_per_million": 6,
    "cache_read_cost_per_token": 2e-7,
    "cache_read_cost_per_million": 0.19999999999999998,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "input_cost_per_token": 0.000002,
    "output_cost_per_token": 0.000006,
    "max_input_tokens": 2000000,
    "max_output_tokens": 2000000,
    "max_tokens": 2000000,
    "source": "https://docs.x.ai/docs/models",
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4.20-beta-0309-reasoning",
    "model_name": "Grok 4.20 Beta 0309 Reasoning",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 2,
    "output_cost_per_million": 6,
    "cache_read_cost_per_token": 2e-7,
    "cache_read_cost_per_million": 0.19999999999999998,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "input_cost_per_token": 0.000002,
    "output_cost_per_token": 0.000006,
    "max_input_tokens": 2000000,
    "max_output_tokens": 2000000,
    "max_tokens": 2000000,
    "source": "https://docs.x.ai/docs/models",
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4.20-multi-agent-beta-0309",
    "model_name": "Grok 4.20 Multi Agent Beta (Sep 2003)",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 2,
    "output_cost_per_million": 6,
    "cache_read_cost_per_token": 2e-7,
    "cache_read_cost_per_million": 0.19999999999999998,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "supports_response_schema": true,
    "input_cost_per_token": 0.00000125,
    "output_cost_per_token": 0.0000025,
    "max_input_tokens": 1000000,
    "max_output_tokens": 1000000,
    "cache_read_input_token_cost_above_200k_tokens": 4e-7,
    "input_cost_per_token_above_200k_tokens": 0.0000025,
    "max_tokens": 1000000,
    "output_cost_per_token_above_200k_tokens": 0.000005,
    "source": "https://docs.x.ai/docs/models",
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4.3",
    "model_name": "Grok 4.3",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 1.25,
    "output_cost_per_million": 2.5,
    "cache_read_cost_per_token": 2e-7,
    "cache_read_cost_per_million": 0.19999999999999998,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": true,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "supports_response_schema": true,
    "input_cost_per_token": 0.00000125,
    "output_cost_per_token": 0.0000025,
    "max_input_tokens": 1000000,
    "max_output_tokens": 1000000,
    "cache_read_input_token_cost_above_200k_tokens": 4e-7,
    "input_cost_per_token_above_200k_tokens": 0.0000025,
    "max_tokens": 1000000,
    "output_cost_per_token_above_200k_tokens": 0.000005,
    "source": "https://docs.x.ai/docs/models",
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4.3-latest",
    "model_name": "Grok 4.3 Latest",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 1.25,
    "output_cost_per_million": 2.5,
    "cache_read_cost_per_token": 2e-7,
    "cache_read_cost_per_million": 0.19999999999999998,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": true,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "supports_response_schema": true,
    "input_cost_per_token": 0.000002,
    "output_cost_per_token": 0.000006,
    "max_input_tokens": 500000,
    "max_output_tokens": 500000,
    "cache_read_input_token_cost_above_200k_tokens": 0.000001,
    "input_cost_per_token_above_200k_tokens": 0.000004,
    "max_tokens": 500000,
    "output_cost_per_token_above_200k_tokens": 0.000012,
    "source": "https://docs.x.ai/docs/models",
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4.5",
    "model_name": "Grok 4.5",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 2,
    "output_cost_per_million": 6,
    "cache_read_cost_per_token": 5e-7,
    "cache_read_cost_per_million": 0.5,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": true,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "supports_response_schema": true,
    "input_cost_per_token": 0.000002,
    "output_cost_per_token": 0.000006,
    "max_input_tokens": 500000,
    "max_output_tokens": 500000,
    "cache_read_input_token_cost_above_200k_tokens": 0.000001,
    "input_cost_per_token_above_200k_tokens": 0.000004,
    "max_tokens": 500000,
    "output_cost_per_token_above_200k_tokens": 0.000012,
    "source": "https://docs.x.ai/docs/models",
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-4.5-latest",
    "model_name": "Grok 4.5 Latest",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 2,
    "output_cost_per_million": 6,
    "cache_read_cost_per_token": 5e-7,
    "cache_read_cost_per_million": 0.5,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": true,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "input_cost_per_token": 0.000005,
    "output_cost_per_token": 0.000015,
    "max_input_tokens": 131072,
    "max_output_tokens": 131072,
    "max_tokens": 131072,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-beta",
    "model_name": "Grok Beta",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 5,
    "output_cost_per_million": 15,
    "cache_read_cost_per_token": 0,
    "cache_read_cost_per_million": 0,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "input_cost_per_token": 2e-7,
    "output_cost_per_token": 0.0000015,
    "max_input_tokens": 256000,
    "max_output_tokens": 256000,
    "max_tokens": 256000,
    "source": "https://docs.x.ai/docs/models",
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "model_id": "grok-code-fast",
    "model_name": "Grok Code Fast",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 0.19999999999999998,
    "output_cost_per_million": 1.5,
    "cache_read_cost_per_token": 2e-8,
    "cache_read_cost_per_million": 0.02,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_vision": false,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "input_cost_per_token": 2e-7,
    "output_cost_per_token": 0.0000015,
    "max_input_tokens": 256000,
    "max_output_tokens": 256000,
    "deprecation_date": "2026-05-15",
    "max_tokens": 256000,
    "source": "https://docs.x.ai/docs/models",
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "model_id": "grok-code-fast-1",
    "model_name": "Grok Code Fast 1",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 0.19999999999999998,
    "output_cost_per_million": 1.5,
    "cache_read_cost_per_token": 2e-8,
    "cache_read_cost_per_million": 0.02,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "supports_vision": false,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "input_cost_per_token": 2e-7,
    "output_cost_per_token": 0.0000015,
    "max_input_tokens": 256000,
    "max_output_tokens": 256000,
    "deprecation_date": "2026-05-15",
    "max_tokens": 256000,
    "source": "https://docs.x.ai/docs/models",
    "supports_prompt_caching": true,
    "supports_reasoning": true,
    "supports_tool_choice": true,
    "model_id": "grok-code-fast-1-0825",
    "model_name": "Grok Code Fast 1 0825",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 0.19999999999999998,
    "output_cost_per_million": 1.5,
    "cache_read_cost_per_token": 2e-8,
    "cache_read_cost_per_million": 0.02,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "supports_vision": false,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  },
  {
    "supports_function_calling": true,
    "supports_vision": true,
    "input_cost_per_token": 0.000005,
    "output_cost_per_token": 0.000015,
    "max_input_tokens": 8192,
    "max_output_tokens": 8192,
    "input_cost_per_image": 0.000005,
    "max_tokens": 8192,
    "supports_tool_choice": true,
    "supports_web_search": true,
    "model_id": "grok-vision-beta",
    "model_name": "Grok Vision Beta",
    "provider_id": "xai",
    "provider_name": "xAI",
    "input_cost_per_million": 5,
    "output_cost_per_million": 15,
    "cache_read_cost_per_token": 0,
    "cache_read_cost_per_million": 0,
    "cache_write_cost_per_token": 0,
    "cache_write_cost_per_million": 0,
    "model_type": "chat",
    "deprecation_date": null,
    "supports_json_mode": false,
    "supports_parallel_functions": false
  }
]