{
  "requested": [
    "codex-cli",
    "opencode"
  ],
  "compared": [
    "codex-cli",
    "opencode"
  ],
  "missing": [],
  "caveats": [],
  "tools": [
    {
      "slug": "codex-cli",
      "name": "OpenAI Codex CLI",
      "layer": "cli_agent",
      "vendor": "OpenAI",
      "homepage": "https://openai.com/codex",
      "pricing_url": "https://openai.com/chatgpt/pricing",
      "docs_url": "https://developers.openai.com/codex/cli",
      "github_full_name": "openai/codex",
      "openrouter_app_slug": "codex",
      "status": "active",
      "status_note": null,
      "status_changed_on": null,
      "acquired_by": null,
      "default_model": "openai/gpt-5.5",
      "default_model_note": "Bundled with ChatGPT plans; a dedicated higher tier exists for heavy usage.",
      "byo_key": true,
      "open_source": true,
      "license": "Apache-2.0",
      "pricing_model": "subscription",
      "description": "OpenAI's open-source terminal coding agent, distributed through ChatGPT subscriptions.",
      "tags": [
        "terminal",
        "agent",
        "openai",
        "open-source"
      ],
      "gh_stars": 103507,
      "gh_forks": 15623,
      "gh_archived": false,
      "gh_pushed_at": "2026-08-03T09:48:59+00:00",
      "gh_days_since_push": 0,
      "gh_maintenance": 100,
      "gh_dead": false,
      "gh_star_delta_30d": null,
      "or_rank": 15,
      "or_tokens_week": 253943489971,
      "last_pricing_check": "2026-08-03T09:50:20.065+00:00",
      "last_change_at": null,
      "curated_on": "2026-08-02",
      "created_at": "2026-08-01T14:15:16.205602+00:00",
      "updated_at": "2026-08-03T09:51:09.112+00:00",
      "plans": [],
      "top_models": [
        {
          "id": 1948,
          "captured_on": "2026-08-03",
          "scope": "tool",
          "scope_key": "codex-cli",
          "rank": 1,
          "model_id": "openai/gpt-5.5",
          "score": 100,
          "price_blended_per_m": 11.25,
          "usage_tokens": 54301877489,
          "usage_rank": 42,
          "rationale": "OpenAI Codex CLI ships with this model, so it is what you get without configuring anything, though you can supply your own key and use a different one. Bundled with ChatGPT plans; a dedicated higher tier exists for heavy usage.",
          "evidence": {
            "permaslug": "openai/gpt-5.5-20260423",
            "selection": "bundled-default-then-measured",
            "model_name": "OpenAI: GPT-5.5",
            "population": "OpenRouter bring-your-own-key traffic for this tool",
            "coding_tokens": 54301877489,
            "context_length": 1050000,
            "openrouter_app": "codex",
            "overall_tokens": 189556079417,
            "tools_measured": [
              "codex-cli"
            ]
          }
        },
        {
          "id": 1949,
          "captured_on": "2026-08-03",
          "scope": "tool",
          "scope_key": "codex-cli",
          "rank": 2,
          "model_id": "openai/gpt-5.6-sol",
          "score": 34.5,
          "price_blended_per_m": 11.25,
          "usage_tokens": 241757044436,
          "usage_rank": 25,
          "rationale": "34.5% of the tokens OpenAI Codex CLI sends through OpenRouter go to this model, at $11.25 per million blended. This measures OpenAI Codex CLI users who supplied their own OpenRouter key, not those on the bundled subscription.",
          "evidence": {
            "permaslug": "openai/gpt-5.6-sol-20260709",
            "selection": "bundled-default-then-measured",
            "model_name": "OpenAI: GPT-5.6 Sol",
            "population": "OpenRouter bring-your-own-key traffic for this tool",
            "coding_tokens": 241757044436,
            "context_length": 1050000,
            "openrouter_app": "codex",
            "overall_tokens": 430425137962,
            "tools_measured": [
              "codex-cli"
            ]
          }
        },
        {
          "id": 1950,
          "captured_on": "2026-08-03",
          "scope": "tool",
          "scope_key": "codex-cli",
          "rank": 3,
          "model_id": "openai/gpt-5.6-sol-pro",
          "score": 12.93,
          "price_blended_per_m": 11.25,
          "usage_tokens": 90600341713,
          "usage_rank": 77,
          "rationale": "12.9% of the tokens OpenAI Codex CLI sends through OpenRouter go to this model, at $11.25 per million blended. This measures OpenAI Codex CLI users who supplied their own OpenRouter key, not those on the bundled subscription.",
          "evidence": {
            "permaslug": "openai/gpt-5.6-sol-pro-20260709",
            "selection": "bundled-default-then-measured",
            "model_name": "OpenAI: GPT-5.6 Sol Pro",
            "population": "OpenRouter bring-your-own-key traffic for this tool",
            "coding_tokens": 90600341713,
            "context_length": 1050000,
            "openrouter_app": "codex",
            "overall_tokens": 50003882854,
            "tools_measured": [
              "codex-cli"
            ]
          }
        }
      ]
    },
    {
      "slug": "opencode",
      "name": "opencode",
      "layer": "cli_agent",
      "vendor": "SST",
      "homepage": "https://opencode.ai",
      "pricing_url": "https://opencode.ai",
      "docs_url": "https://opencode.ai/docs",
      "github_full_name": "anomalyco/opencode",
      "openrouter_app_slug": null,
      "status": "active",
      "status_note": null,
      "status_changed_on": null,
      "acquired_by": null,
      "default_model": null,
      "default_model_note": "Provider-agnostic across 75+ providers; the user picks. This is why its model mix tracks price, not brand.",
      "byo_key": true,
      "open_source": true,
      "license": "MIT",
      "pricing_model": "free",
      "description": "Provider-agnostic open-source terminal agent. The largest OSS star count in the ecosystem.",
      "tags": [
        "terminal",
        "agent",
        "open-source",
        "byo-key"
      ],
      "gh_stars": 192643,
      "gh_forks": 24601,
      "gh_archived": false,
      "gh_pushed_at": "2026-08-03T09:50:05+00:00",
      "gh_days_since_push": 0,
      "gh_maintenance": 100,
      "gh_dead": false,
      "gh_star_delta_30d": null,
      "or_rank": null,
      "or_tokens_week": null,
      "last_pricing_check": "2026-08-03T09:50:20.57+00:00",
      "last_change_at": null,
      "curated_on": "2026-08-02",
      "created_at": "2026-08-01T14:15:16.205602+00:00",
      "updated_at": "2026-08-03T09:51:09.112+00:00",
      "plans": [],
      "top_models": []
    }
  ],
  "recent_changes": []
}