name: OpenRouter
client_type: openai-completions
icon: openrouter
base_url: https://openrouter.ai/api/v1

models:
  - model_id: openrouter/auto
    name: Auto (best for prompt)
    type: chat
    config:
      context_window: 2000000

  - model_id: deepseek/deepseek-chat-v3.1
    name: DeepSeek V3.1
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 163840

  - model_id: google/gemini-2.5-flash-image-preview
    name: Nano Banana
    type: chat
    config:
      compatibilities: [vision, image-output]
      context_window: 40960

  - model_id: "qwen/qwen3-30b-a3b:free"
    name: Qwen3 30B A3B (Free)
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 40960

  - model_id: qwen/qwen3-30b-a3b
    name: Qwen3 30B A3B
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 40960

  - model_id: "qwen/qwen3-8b:free"
    name: Qwen3 8B (Free)
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 40960

  - model_id: "qwen/qwen3-14b:free"
    name: Qwen3 14B (Free)
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 40960

  - model_id: qwen/qwen3-14b
    name: Qwen3 14B
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 40960

  - model_id: "qwen/qwen3-32b:free"
    name: Qwen3 32B (Free)
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 40960

  - model_id: qwen/qwen3-32b
    name: Qwen3 32B
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 40960

  - model_id: "qwen/qwen3-235b-a22b:free"
    name: Qwen3 235B A22B (Free)
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 131072

  - model_id: qwen/qwen3-235b-a22b
    name: Qwen3 235B A22B
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 40960

  - model_id: "tngtech/deepseek-r1t-chimera:free"
    name: DeepSeek R1T Chimera (Free)
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 163840

  - model_id: thudm/glm-z1-rumination-32b
    name: GLM Z1 Rumination 32B
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 32000

  - model_id: thudm/glm-z1-32b
    name: GLM Z1 32B
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 32768

  - model_id: "thudm/glm-4-32b:free"
    name: GLM 4 32B (Free)
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 32000

  - model_id: thudm/glm-4-32b
    name: GLM 4 32B
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 32000

  - model_id: google/gemini-2.5-pro
    name: Gemini 2.5 Pro
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 1048576

  - model_id: google/gemini-2.5-pro-preview
    name: Gemini 2.5 Pro Preview
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 1048576

  - model_id: google/gemini-2.5-flash
    name: Gemini 2.5 Flash
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 1048576

  - model_id: google/gemini-2.5-flash-preview
    name: Gemini 2.5 Flash Preview
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 1048576

  - model_id: "google/gemini-2.5-flash-preview:thinking"
    name: Gemini 2.5 Flash Preview (thinking)
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 1048576

  - model_id: openai/o3
    name: o3
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 200000

  - model_id: openai/o4-mini-high
    name: o4-mini (high)
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 200000

  - model_id: openai/o4-mini
    name: o4-mini
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 200000

  - model_id: openai/gpt-4.1
    name: GPT-4.1
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 1047576

  - model_id: openai/gpt-4.1-mini
    name: GPT-4.1 mini
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 1047576

  - model_id: openai/gpt-4.1-nano
    name: GPT-4.1 nano
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 1047576

  - model_id: openai/o3-mini-high
    name: o3-mini (high)
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 200000

  - model_id: openai/o3-mini
    name: o3-mini
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 200000

  - model_id: openai/o1-mini
    name: o1-mini
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 128000

  - model_id: openai/o1-preview
    name: o1-preview
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 128000

  - model_id: openai/gpt-4o-mini
    name: GPT-4o mini
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 128000

  - model_id: openai/gpt-4o
    name: GPT-4o
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 128000

  - model_id: deepseek/deepseek-r1-0528
    name: DeepSeek R1 0528
    type: chat
    config:
      compatibilities: [tool-call, reasoning]
      context_window: 163840

  - model_id: "deepseek/deepseek-r1-0528:free"
    name: DeepSeek R1 0528 (Free)
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 163840

  - model_id: deepseek/deepseek-r1
    name: DeepSeek R1
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 163840

  - model_id: "deepseek/deepseek-r1:free"
    name: DeepSeek R1 (Free)
    type: chat
    config:
      compatibilities: [reasoning]
      context_window: 163840

  - model_id: deepseek/deepseek-chat-v3-0324
    name: DeepSeek V3 0324
    type: chat
    config:
      context_window: 163840

  - model_id: "deepseek/deepseek-chat-v3-0324:free"
    name: DeepSeek V3 0324 (Free)
    type: chat
    config:
      context_window: 163840

  - model_id: anthropic/claude-opus-4.5
    name: Claude Opus 4.5
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 200000

  - model_id: anthropic/claude-sonnet-4.5
    name: Claude Sonnet 4.5
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 200000

  - model_id: anthropic/claude-3-haiku
    name: Claude 3 Haiku
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 200000

  - model_id: anthropic/claude-3.5-haiku
    name: Claude 3.5 Haiku
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 200000

  - model_id: anthropic/claude-3.5-sonnet
    name: Claude 3.5 Sonnet
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 200000

  - model_id: anthropic/claude-3.7-sonnet
    name: Claude 3.7 Sonnet
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 200000

  - model_id: anthropic/claude-sonnet-4
    name: Claude Sonnet 4
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 200000

  - model_id: anthropic/claude-opus-4
    name: Claude Opus 4
    type: chat
    config:
      compatibilities: [vision, tool-call, reasoning]
      context_window: 200000

  - model_id: anthropic/claude-3-opus
    name: Claude 3 Opus
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 200000

  - model_id: google/gemini-flash-1.5
    name: Gemini 1.5 Flash
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 1008192

  - model_id: google/gemini-2.0-flash-001
    name: Gemini 2.0 Flash
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 1056768

  - model_id: google/gemini-pro-1.5
    name: Gemini 1.5 Pro
    type: chat
    config:
      compatibilities: [vision, tool-call]
      context_window: 2008192

  - model_id: meta-llama/llama-3.2-11b-vision-instruct
    name: Llama 3.2 11B Vision
    type: chat
    config:
      compatibilities: [vision]
      context_window: 131072

  - model_id: meta-llama/llama-3.3-70b-instruct
    name: Llama 3.3 70B Instruct
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 131072

  - model_id: "meta-llama/llama-3.3-70b-instruct:free"
    name: Llama 3.3 70B Instruct (Free)
    type: chat
    config:
      compatibilities: [tool-call]
      context_window: 65536

  - model_id: "qwen/qwen-2-7b-instruct:free"
    name: Qwen2 7B (Free)
    type: chat
    config:
      context_window: 32768

  - model_id: "meta-llama/llama-3.1-8b-instruct:free"
    name: Llama 3.1 8B (Free)
    type: chat
    config:
      context_window: 131072

  - model_id: "google/gemma-2-9b-it:free"
    name: Gemma 2 9B (Free)
    type: chat
    config:
      context_window: 8192
