Commit 7e210e0
committed
🤖 feat: update model pricing database and add GLM-4.6
Ran scripts/update_models.ts to pull latest model data from LiteLLM.
Added Z.AI GLM-4.6 to models-extra.ts with OpenRouter pricing:
- 200K context window (202,752 tokens)
- $0.40/M input, $1.75/M output
- Supports tool use, reasoning, and structured outputs
This fixes model stat lookups for:
- openrouter:z-ai/glm-4.6
- openrouter:anthropic/claude-3.7-sonnet:thinking (already in models.json)
Changes:
- Updated src/utils/tokens/models.json (3,379 additions from LiteLLM)
- Added openrouter/z-ai/glm-4.6 to models-extra.ts
_Generated with `cmux`_1 parent 51d19cd commit 7e210e0
2 files changed
+3394
-655
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
58 | 73 | | |
0 commit comments