Skip to content

Add alias for github copilot model names #802

@petertriho

Description

@petertriho
❯ ccusage-opencode monthly                                                                                                                                                                                                          at 10:08:59

 WARN  Fetching latest model pricing from LiteLLM...                                                                                                                                                             @ccusage/opencode 10:09:09 AM

ℹ Loaded pricing for 2418 models                                                                                                                                                                                @ccusage/opencode 10:09:09 AM

📊 OpenCode Token Usage Report - Monthly

┌──────────┬─────────────────────────────────────────────────────────────────────┬──────────────┬────────────┬───────────────┬──────────────┬───────────────┬─────────────┐
│ Month    │ Models                                                              │        Input │     Output │  Cache Create │   Cache Read │  Total Tokens │  Cost (USD) │
├──────────┼─────────────────────────────────────────────────────────────────────┼──────────────┼────────────┼───────────────┼──────────────┼───────────────┼─────────────┤
│ 2025-09  │ - claude-sonnet-4.5                                                 │   52,359,178 │    305,068 │         1,408 │   28,312,132 │    80,977,786 │      $45.00 │
│          │ - glm-4.5                                                           │              │            │               │              │               │             │
│          │ - glm-4.5v                                                          │              │            │               │              │               │             │
│          │ - sonnet-4                                                          │              │            │               │              │               │             │
├──────────┼─────────────────────────────────────────────────────────────────────┼──────────────┼────────────┼───────────────┼──────────────┼───────────────┼─────────────┤
│ 2025-10  │ - claude-sonnet-4.5                                                 │   65,595,937 │    482,280 │             0 │   51,654,391 │   117,732,608 │      $73.28 │
│          │ - glm-4.5v                                                          │              │            │               │              │               │             │
│          │ - glm-4.6                                                           │              │            │               │              │               │             │
├──────────┼─────────────────────────────────────────────────────────────────────┼──────────────┼────────────┼───────────────┼──────────────┼───────────────┼─────────────┤
│ 2025-11  │ - claude-sonnet-4.5                                                 │   44,998,932 │    524,645 │             0 │   58,244,054 │   103,767,631 │       $6.44 │
│          │ - glm-4.6                                                           │              │            │               │              │               │             │
├──────────┼─────────────────────────────────────────────────────────────────────┼──────────────┼────────────┼───────────────┼──────────────┼───────────────┼─────────────┤
│ 2025-12  │ - big-pickle                                                        │   28,627,220 │  2,176,058 │             0 │  295,166,221 │   325,969,499 │       $0.18 │
│          │ - claude-opus-4.5                                                   │              │            │               │              │               │             │
│          │ - claude-sonnet-4.5                                                 │              │            │               │              │               │             │
│          │ - glm-4.6                                                           │              │            │               │              │               │             │
├──────────┼─────────────────────────────────────────────────────────────────────┼──────────────┼────────────┼───────────────┼──────────────┼───────────────┼─────────────┤
│ 2026-01  │ - antigravity-claude-sonnet-4-5                                     │    5,143,905 │    431,276 │             0 │   59,034,778 │    64,609,959 │       $0.10 │
│          │ - claude-opus-4.5                                                   │              │            │               │              │               │             │
│          │ - claude-sonnet-4.5                                                 │              │            │               │              │               │             │
├──────────┼─────────────────────────────────────────────────────────────────────┼──────────────┼────────────┼───────────────┼──────────────┼───────────────┼─────────────┤
│ Total    │                                                                     │  196,725,172 │  3,919,327 │         1,408 │  492,411,576 │   693,057,483 │     $124.99 │
└──────────┴─────────────────────────────────────────────────────────────────────┴──────────────┴────────────┴───────────────┴──────────────┴───────────────┴─────────────┘

Looks like claude-sonnet-4.5 and claude-opus-4.5 are showing cost as $0.00

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions