{
  "schema_version": "1.1",
  "generated_at": "2026-05-05T10:03:14.395Z",
  "source": "https://routerbase.dev",
  "category": {
    "slug": "coding",
    "label": "Best for Coding",
    "description": "Top models for coding, ranked by SWE-Bench. Prefers bash-only leaderboard scores (model + shell, no agent scaffolding) for fair model-vs-model comparison; falls back to Verified, then Arena ELO when SWE-Bench data is missing."
  },
  "total_count": 12,
  "models": [
    {
      "id": "anthropic/claude-opus-4.6",
      "name": "Claude Opus 4.6",
      "developer": "anthropic",
      "openrouter_url": "https://openrouter.ai/anthropic/claude-opus-4.6",
      "identifiers": {
        "openrouter_id": "anthropic/claude-opus-4.6",
        "canonical_slug": "anthropic/claude-opus-4.6"
      },
      "pricing": {
        "prompt_per_million": 5,
        "completion_per_million": 25
      },
      "context_length": 1000000,
      "capabilities": [
        "vision",
        "tool-calling",
        "structured-output",
        "long-context"
      ],
      "capability_details": {
        "vision": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_modalities"
        },
        "tool-calling": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "structured-output": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "audio": {
          "support": "no",
          "verification": null,
          "source": null
        },
        "long-context": {
          "support": "yes",
          "verification": "listed",
          "source": "derived_context_length"
        }
      }
    },
    {
      "id": "google/gemini-3-flash-preview",
      "name": "Gemini 3 Flash Preview",
      "developer": "google",
      "openrouter_url": "https://openrouter.ai/google/gemini-3-flash-preview",
      "identifiers": {
        "openrouter_id": "google/gemini-3-flash-preview",
        "canonical_slug": "google/gemini-3-flash-preview"
      },
      "pricing": {
        "prompt_per_million": 0.5,
        "completion_per_million": 3
      },
      "context_length": 1048576,
      "capabilities": [
        "vision",
        "tool-calling",
        "structured-output",
        "audio",
        "long-context"
      ],
      "capability_details": {
        "vision": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_modalities"
        },
        "tool-calling": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "structured-output": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "audio": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_modalities"
        },
        "long-context": {
          "support": "yes",
          "verification": "listed",
          "source": "derived_context_length"
        }
      }
    },
    {
      "id": "anthropic/claude-opus-4.5",
      "name": "Claude Opus 4.5",
      "developer": "anthropic",
      "openrouter_url": "https://openrouter.ai/anthropic/claude-opus-4.5",
      "identifiers": {
        "openrouter_id": "anthropic/claude-opus-4.5",
        "canonical_slug": "anthropic/claude-opus-4.5"
      },
      "pricing": {
        "prompt_per_million": 5,
        "completion_per_million": 25
      },
      "context_length": 200000,
      "capabilities": [
        "vision",
        "tool-calling",
        "structured-output",
        "long-context"
      ],
      "capability_details": {
        "vision": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_modalities"
        },
        "tool-calling": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "structured-output": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "audio": {
          "support": "no",
          "verification": null,
          "source": null
        },
        "long-context": {
          "support": "yes",
          "verification": "listed",
          "source": "derived_context_length"
        }
      }
    },
    {
      "id": "openai/gpt-5.1-codex-max",
      "name": "GPT-5.1-Codex-Max",
      "developer": "openai",
      "openrouter_url": "https://openrouter.ai/openai/gpt-5.1-codex-max",
      "identifiers": {
        "openrouter_id": "openai/gpt-5.1-codex-max",
        "canonical_slug": "openai/gpt-5.1-codex-max"
      },
      "pricing": {
        "prompt_per_million": 1.25,
        "completion_per_million": 10
      },
      "context_length": 400000,
      "capabilities": [
        "vision",
        "tool-calling",
        "structured-output",
        "long-context"
      ],
      "capability_details": {
        "vision": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_modalities"
        },
        "tool-calling": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "structured-output": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "audio": {
          "support": "no",
          "verification": null,
          "source": null
        },
        "long-context": {
          "support": "yes",
          "verification": "listed",
          "source": "derived_context_length"
        }
      }
    },
    {
      "id": "anthropic/claude-sonnet-4.5",
      "name": "Claude Sonnet 4.5",
      "developer": "anthropic",
      "openrouter_url": "https://openrouter.ai/anthropic/claude-sonnet-4.5",
      "identifiers": {
        "openrouter_id": "anthropic/claude-sonnet-4.5",
        "canonical_slug": "anthropic/claude-sonnet-4.5"
      },
      "pricing": {
        "prompt_per_million": 3,
        "completion_per_million": 15
      },
      "context_length": 1000000,
      "capabilities": [
        "vision",
        "tool-calling",
        "structured-output",
        "long-context"
      ],
      "capability_details": {
        "vision": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_modalities"
        },
        "tool-calling": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "structured-output": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "audio": {
          "support": "no",
          "verification": null,
          "source": null
        },
        "long-context": {
          "support": "yes",
          "verification": "listed",
          "source": "derived_context_length"
        }
      }
    },
    {
      "id": "google/gemini-2.5-pro",
      "name": "Gemini 2.5 Pro",
      "developer": "google",
      "openrouter_url": "https://openrouter.ai/google/gemini-2.5-pro",
      "identifiers": {
        "openrouter_id": "google/gemini-2.5-pro",
        "canonical_slug": "google/gemini-2.5-pro"
      },
      "pricing": {
        "prompt_per_million": 1.25,
        "completion_per_million": 10
      },
      "context_length": 1048576,
      "capabilities": [
        "vision",
        "tool-calling",
        "structured-output",
        "audio",
        "long-context"
      ],
      "capability_details": {
        "vision": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_modalities"
        },
        "tool-calling": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "structured-output": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "audio": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_modalities"
        },
        "long-context": {
          "support": "yes",
          "verification": "listed",
          "source": "derived_context_length"
        }
      }
    },
    {
      "id": "google/gemini-2.5-pro-preview-05-06",
      "name": "Gemini 2.5 Pro Preview 05-06",
      "developer": "google",
      "openrouter_url": "https://openrouter.ai/google/gemini-2.5-pro-preview-05-06",
      "identifiers": {
        "openrouter_id": "google/gemini-2.5-pro-preview-05-06",
        "canonical_slug": "google/gemini-2.5-pro-preview-05-06"
      },
      "pricing": {
        "prompt_per_million": 1.25,
        "completion_per_million": 10
      },
      "context_length": 1048576,
      "capabilities": [
        "vision",
        "tool-calling",
        "structured-output",
        "audio",
        "long-context"
      ],
      "capability_details": {
        "vision": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_modalities"
        },
        "tool-calling": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "structured-output": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "audio": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_modalities"
        },
        "long-context": {
          "support": "yes",
          "verification": "listed",
          "source": "derived_context_length"
        }
      }
    },
    {
      "id": "anthropic/claude-opus-4.1",
      "name": "Claude Opus 4.1",
      "developer": "anthropic",
      "openrouter_url": "https://openrouter.ai/anthropic/claude-opus-4.1",
      "identifiers": {
        "openrouter_id": "anthropic/claude-opus-4.1",
        "canonical_slug": "anthropic/claude-opus-4.1"
      },
      "pricing": {
        "prompt_per_million": 15,
        "completion_per_million": 75
      },
      "context_length": 200000,
      "capabilities": [
        "vision",
        "tool-calling",
        "structured-output",
        "long-context"
      ],
      "capability_details": {
        "vision": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_modalities"
        },
        "tool-calling": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "structured-output": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "audio": {
          "support": "no",
          "verification": null,
          "source": null
        },
        "long-context": {
          "support": "yes",
          "verification": "listed",
          "source": "derived_context_length"
        }
      }
    },
    {
      "id": "z-ai/glm-4.7",
      "name": "GLM 4.7",
      "developer": "z-ai",
      "openrouter_url": "https://openrouter.ai/z-ai/glm-4.7",
      "identifiers": {
        "openrouter_id": "z-ai/glm-4.7",
        "canonical_slug": "z-ai/glm-4.7"
      },
      "pricing": {
        "prompt_per_million": 0.38,
        "completion_per_million": 1.74
      },
      "context_length": 202752,
      "capabilities": [
        "tool-calling",
        "structured-output",
        "long-context"
      ],
      "capability_details": {
        "vision": {
          "support": "no",
          "verification": null,
          "source": null
        },
        "tool-calling": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "structured-output": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "audio": {
          "support": "no",
          "verification": null,
          "source": null
        },
        "long-context": {
          "support": "yes",
          "verification": "listed",
          "source": "derived_context_length"
        }
      }
    },
    {
      "id": "openai/gpt-5.2",
      "name": "GPT-5.2",
      "developer": "openai",
      "openrouter_url": "https://openrouter.ai/openai/gpt-5.2",
      "identifiers": {
        "openrouter_id": "openai/gpt-5.2",
        "canonical_slug": "openai/gpt-5.2"
      },
      "pricing": {
        "prompt_per_million": 1.75,
        "completion_per_million": 14
      },
      "context_length": 400000,
      "capabilities": [
        "vision",
        "tool-calling",
        "structured-output",
        "long-context"
      ],
      "capability_details": {
        "vision": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_modalities"
        },
        "tool-calling": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "structured-output": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "audio": {
          "support": "no",
          "verification": null,
          "source": null
        },
        "long-context": {
          "support": "yes",
          "verification": "listed",
          "source": "derived_context_length"
        }
      }
    },
    {
      "id": "openai/gpt-5.1",
      "name": "GPT-5.1",
      "developer": "openai",
      "openrouter_url": "https://openrouter.ai/openai/gpt-5.1",
      "identifiers": {
        "openrouter_id": "openai/gpt-5.1",
        "canonical_slug": "openai/gpt-5.1"
      },
      "pricing": {
        "prompt_per_million": 1.25,
        "completion_per_million": 10
      },
      "context_length": 400000,
      "capabilities": [
        "vision",
        "tool-calling",
        "structured-output",
        "long-context"
      ],
      "capability_details": {
        "vision": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_modalities"
        },
        "tool-calling": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "structured-output": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "audio": {
          "support": "no",
          "verification": null,
          "source": null
        },
        "long-context": {
          "support": "yes",
          "verification": "listed",
          "source": "derived_context_length"
        }
      }
    },
    {
      "id": "openai/gpt-5.2-chat",
      "name": "GPT-5.2 Chat",
      "developer": "openai",
      "openrouter_url": "https://openrouter.ai/openai/gpt-5.2-chat",
      "identifiers": {
        "openrouter_id": "openai/gpt-5.2-chat",
        "canonical_slug": "openai/gpt-5.2-chat"
      },
      "pricing": {
        "prompt_per_million": 1.75,
        "completion_per_million": 14
      },
      "context_length": 128000,
      "capabilities": [
        "vision",
        "tool-calling",
        "structured-output",
        "long-context"
      ],
      "capability_details": {
        "vision": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_modalities"
        },
        "tool-calling": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "structured-output": {
          "support": "yes",
          "verification": "listed",
          "source": "openrouter_supported_parameters"
        },
        "audio": {
          "support": "no",
          "verification": null,
          "source": null
        },
        "long-context": {
          "support": "yes",
          "verification": "listed",
          "source": "derived_context_length"
        }
      }
    }
  ]
}