@oh-my-pi/pi-catalog 18.4.0 → 18.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,8 +37,8 @@ provider "cursor" {
37
37
  }
38
38
  class "xai" {
39
39
  family "grok" {
40
- revision ">=4.5 <4.7" {
41
- // Cursor advertised Grok 4.5/4.6 Context window 256k (product
40
+ revision ">=4.5 <4.8" {
41
+ // Cursor advertised Grok 4.5/4.6/4.7 Context window 256k (product
42
42
  // cap; not xAI native 500k). Max context is unmarked.
43
43
  context-window-floor 256000
44
44
  }
@@ -63,6 +63,10 @@ provider "cursor" {
63
63
  models "cursor-grok-4" "cursor-grok-4.*" "cursor-grok-4-*" "cursor-grok-4:*" "cursor-grok-4_*" {
64
64
  input-modalities "text" "image"
65
65
  }
66
+ // Grok 4.7 wire ids drop the cursor- prefix (grok-4.7-low, grok-4.7-xhigh-fast).
67
+ models "grok-4" "grok-4.*" "grok-4-*" "grok-4:*" "grok-4_*" {
68
+ input-modalities "text" "image"
69
+ }
66
70
  models "composer-2.5" "composer-2.5.*" "composer-2.5-*" "composer-2.5:*" "composer-2.5_*" {
67
71
  input-modalities "text" "image"
68
72
  }
@@ -87,4 +91,591 @@ provider "cursor" {
87
91
  models "gemini-3.7-flash*" {
88
92
  thinking-efforts "low" "medium" "high"
89
93
  }
94
+
95
+ // Cursor API-equivalent pricing, direct from
96
+ // https://cursor.com/docs/models-and-pricing (per million tokens).
97
+ // GetUsableModels carries no pricing, so these cost-patch rules are the
98
+ // only source — never mirrored from another provider's card.
99
+ // Ids absent from the Cursor docs (composer-1/1.5, gpt-5.1 non-Codex,
100
+ // kimi-k2.5, grok-code-fast-1, default/Auto) stay unpriced rather than
101
+ // proxied. Teams/Enterprise $0.25/M token rate, 10% residency uplift,
102
+ // and legacy Max Mode +20% are plan-specific and excluded.
103
+
104
+ // Claude 4 Sonnet: $3/$15, cache $0.30/$3.75.
105
+ models "claude-4-sonnet" {
106
+ cost-patch {
107
+ input 3.0
108
+ output 15.0
109
+ cache-read 0.3
110
+ cache-write 3.75
111
+ }
112
+ }
113
+ // Claude 4.5 Opus: $5/$25, cache $0.50/$6.25.
114
+ models "claude-4.5-opus-high" {
115
+ cost-patch {
116
+ input 5.0
117
+ output 25.0
118
+ cache-read 0.5
119
+ cache-write 6.25
120
+ }
121
+ }
122
+ // Claude 4.5 Sonnet: $3/$15, cache $0.30/$3.75.
123
+ models "claude-4.5-sonnet" {
124
+ cost-patch {
125
+ input 3.0
126
+ output 15.0
127
+ cache-read 0.3
128
+ cache-write 3.75
129
+ }
130
+ }
131
+ // Claude 4.6 Opus: $5/$25, cache $0.50/$6.25. Up to 1M same rates.
132
+ models "claude-4.6-opus-high" "claude-4.6-opus-max" {
133
+ cost-patch {
134
+ input 5.0
135
+ output 25.0
136
+ cache-read 0.5
137
+ cache-write 6.25
138
+ }
139
+ }
140
+ // Claude 4.6 Sonnet: $3/$15, cache $0.30/$3.75. Up to 1M same rates.
141
+ models "claude-4.6-sonnet-medium" {
142
+ cost-patch {
143
+ input 3.0
144
+ output 15.0
145
+ cache-read 0.3
146
+ cache-write 3.75
147
+ }
148
+ }
149
+ // Claude Fable 5: $10/$50, cache $1.00/$12.50. About 2x Opus 5.
150
+ models "claude-fable-5-high" "claude-fable-5-low" "claude-fable-5-max" "claude-fable-5-medium" "claude-fable-5-xhigh" {
151
+ cost-patch {
152
+ input 10.0
153
+ output 50.0
154
+ cache-read 1.0
155
+ cache-write 12.5
156
+ }
157
+ }
158
+ // Claude Fable 5.1: $10/$50, cache reads discounted to $0.25/M.
159
+ models "claude-fable-5-1-high" "claude-fable-5-1-low" "claude-fable-5-1-max" "claude-fable-5-1-medium" "claude-fable-5-1-xhigh" {
160
+ cost-patch {
161
+ input 10.0
162
+ output 50.0
163
+ cache-read 0.25
164
+ cache-write 12.5
165
+ }
166
+ }
167
+ // Claude 4.7 Opus: $5/$25, cache $0.50/$6.25. Up to 1M same rates.
168
+ models "claude-opus-4-7-high" "claude-opus-4-7-low" "claude-opus-4-7-max" "claude-opus-4-7-medium" "claude-opus-4-7-xhigh" {
169
+ cost-patch {
170
+ input 5.0
171
+ output 25.0
172
+ cache-read 0.5
173
+ cache-write 6.25
174
+ }
175
+ }
176
+ // Claude Opus 4.7 fast mode: $30/$150, cache $3.00/$37.50. Research preview.
177
+ models "claude-opus-4-7-high-fast" "claude-opus-4-7-low-fast" "claude-opus-4-7-max-fast" "claude-opus-4-7-medium-fast" "claude-opus-4-7-xhigh-fast" {
178
+ cost-patch {
179
+ input 30.0
180
+ output 150.0
181
+ cache-read 3.0
182
+ cache-write 37.5
183
+ }
184
+ }
185
+ // Claude Opus 4.8: $5/$25, cache $0.50/$6.25. Up to 1M same rates.
186
+ models "claude-opus-4-8-high" "claude-opus-4-8-low" "claude-opus-4-8-max" "claude-opus-4-8-medium" "claude-opus-4-8-xhigh" {
187
+ cost-patch {
188
+ input 5.0
189
+ output 25.0
190
+ cache-read 0.5
191
+ cache-write 6.25
192
+ }
193
+ }
194
+ // Claude Opus 4.8 Fast: 3x below Opus 4.7 fast mode per the docs note,
195
+ // i.e. $10/$50, cache $1.00/$12.50.
196
+ models "claude-opus-4-8-high-fast" "claude-opus-4-8-low-fast" "claude-opus-4-8-max-fast" "claude-opus-4-8-medium-fast" "claude-opus-4-8-xhigh-fast" {
197
+ cost-patch {
198
+ input 10.0
199
+ output 50.0
200
+ cache-read 1.0
201
+ cache-write 12.5
202
+ }
203
+ }
204
+ // Claude Opus 5: $5/$25, cache $0.50/$6.25. Up to 1M same rates.
205
+ models "claude-opus-5-high" "claude-opus-5-low" "claude-opus-5-medium" "claude-opus-5-thinking-max" "claude-opus-5-thinking-xhigh" {
206
+ cost-patch {
207
+ input 5.0
208
+ output 25.0
209
+ cache-read 0.5
210
+ cache-write 6.25
211
+ }
212
+ }
213
+ // Claude Opus 5 Fast: the docs name the fast wire ids but publish no
214
+ // fast multiplier, so fast bills at the base Opus 5 card.
215
+ models "claude-opus-5-high-fast" "claude-opus-5-low-fast" "claude-opus-5-medium-fast" "claude-opus-5-thinking-max-fast" "claude-opus-5-thinking-xhigh-fast" {
216
+ cost-patch {
217
+ input 5.0
218
+ output 25.0
219
+ cache-read 0.5
220
+ cache-write 6.25
221
+ }
222
+ }
223
+ // Claude Opus 5.5: $4/$20, cache $0.20/$5.00. 20% cheaper than Opus 5;
224
+ // up to 1M same rates. Regional +10% endpoints excluded.
225
+ models "claude-opus-5-5" {
226
+ cost-patch {
227
+ input 4.0
228
+ output 20.0
229
+ cache-read 0.2
230
+ cache-write 5.0
231
+ }
232
+ }
233
+ // Claude Opus 5.5 Fast: the docs name the fast wire id but publish no
234
+ // fast multiplier, so fast bills at the base Opus 5.5 card.
235
+ models "claude-opus-5-5-fast" {
236
+ cost-patch {
237
+ input 4.0
238
+ output 20.0
239
+ cache-read 0.2
240
+ cache-write 5.0
241
+ }
242
+ }
243
+ // Claude Sonnet 5: $2/$10, cache $0.20/$2.50. Up to 1M same rates.
244
+ models "claude-sonnet-5-high" "claude-sonnet-5-low" "claude-sonnet-5-max" "claude-sonnet-5-medium" "claude-sonnet-5-xhigh" {
245
+ cost-patch {
246
+ input 2.0
247
+ output 10.0
248
+ cache-read 0.2
249
+ cache-write 2.5
250
+ }
251
+ }
252
+ // Composer 2.5: $0.50/$2.50, cache read $0.20, no write fee.
253
+ models "composer-2.5" {
254
+ cost-patch {
255
+ input 0.5
256
+ output 2.5
257
+ cache-read 0.2
258
+ cache-write 0
259
+ }
260
+ }
261
+ // Composer 2.5 Fast: $3/$15, cache read $0.50, no write fee.
262
+ models "composer-2.5-fast" {
263
+ cost-patch {
264
+ input 3.0
265
+ output 15.0
266
+ cache-read 0.5
267
+ cache-write 0
268
+ }
269
+ }
270
+ // Grok 4.5: $2/$6, cache read $0.50, no write fee.
271
+ models "cursor-grok-4.5" {
272
+ cost-patch {
273
+ input 2.0
274
+ output 6.0
275
+ cache-read 0.5
276
+ cache-write 0
277
+ }
278
+ }
279
+ // Grok 4.5 Fast: $4/$18, cache read $1.00. Output is 3x base per docs.
280
+ models "cursor-grok-4.5-fast" {
281
+ cost-patch {
282
+ input 4.0
283
+ output 18.0
284
+ cache-read 1.0
285
+ cache-write 0
286
+ }
287
+ }
288
+ // Grok 4.6: $2/$6, cache read $0.50, no write fee.
289
+ models "cursor-grok-4.6" {
290
+ cost-patch {
291
+ input 2.0
292
+ output 6.0
293
+ cache-read 0.5
294
+ cache-write 0
295
+ }
296
+ }
297
+ // Grok 4.6 Fast: $4/$12, cache read $1.00.
298
+ models "cursor-grok-4.6-fast" {
299
+ cost-patch {
300
+ input 4.0
301
+ output 12.0
302
+ cache-read 1.0
303
+ cache-write 0
304
+ }
305
+ }
306
+ // Grok 4.7: $2/$6, cache read $0.50. Long context (>256k) bills at 2x
307
+ // standard rates up to 500k. Covers both the legacy cursor-grok-4.7
308
+ // prefix and the observed grok-4.7-<effort> wire ids. Absolute tier
309
+ // rates: the multiplier form derives from the row's live base price,
310
+ // which is still zero when GetUsableModels specs build in one pass.
311
+ models "grok-4.7*" "cursor-grok-4.7*" {
312
+ cost-patch {
313
+ input 2.0
314
+ output 6.0
315
+ cache-read 0.5
316
+ cache-write 0
317
+ }
318
+ long-context-cost {
319
+ input-threshold 256000
320
+ input 4.0
321
+ output 12.0
322
+ cache-read 1.0
323
+ cache-write 0
324
+ }
325
+ }
326
+ // Grok 4.7 Fast: $4/$12, cache read $1.00. Fast mode for long context
327
+ // (>256k) bills at 3x standard rates.
328
+ models "grok-4.7*-fast" "cursor-grok-4.7*-fast" priority=1 {
329
+ cost-patch {
330
+ input 4.0
331
+ output 12.0
332
+ cache-read 1.0
333
+ cache-write 0
334
+ }
335
+ long-context-cost {
336
+ input-threshold 256000
337
+ input 6.0
338
+ output 18.0
339
+ cache-read 1.5
340
+ cache-write 0
341
+ }
342
+ }
343
+ // Gemini 3 Flash: $0.50/$3.00, cache read $0.05.
344
+ models "gemini-3-flash" {
345
+ cost-patch {
346
+ input 0.5
347
+ output 3.0
348
+ cache-read 0.05
349
+ cache-write 0
350
+ }
351
+ }
352
+ // Gemini 3 Pro: $2/$12, cache read $0.20.
353
+ models "gemini-3-pro" {
354
+ cost-patch {
355
+ input 2.0
356
+ output 12.0
357
+ cache-read 0.2
358
+ cache-write 0
359
+ }
360
+ }
361
+ // Gemini 3.1 Pro: $2/$12, cache read $0.20.
362
+ models "gemini-3.1-pro" {
363
+ cost-patch {
364
+ input 2.0
365
+ output 12.0
366
+ cache-read 0.2
367
+ cache-write 0
368
+ }
369
+ }
370
+ // Gemini 3.5 Flash: $1.50/$9.00, cache read $0.15.
371
+ models "gemini-3.5-flash" {
372
+ cost-patch {
373
+ input 1.5
374
+ output 9.0
375
+ cache-read 0.15
376
+ cache-write 0
377
+ }
378
+ }
379
+ // Gemini 3.6 Flash: $1.50/$7.50, cache read $0.15.
380
+ models "gemini-3.6-flash" {
381
+ cost-patch {
382
+ input 1.5
383
+ output 7.5
384
+ cache-read 0.15
385
+ cache-write 0
386
+ }
387
+ }
388
+ // Gemini 3.7 Flash: $0.75/$3.50, cache read $0.075.
389
+ models "gemini-3.7-flash" {
390
+ cost-patch {
391
+ input 0.75
392
+ output 3.5
393
+ cache-read 0.075
394
+ cache-write 0
395
+ }
396
+ }
397
+ // Gemini 3.8 Flash: $0.75/$3.50, cache read $0.075.
398
+ models "gemini-3.8-flash" {
399
+ cost-patch {
400
+ input 0.75
401
+ output 3.5
402
+ cache-read 0.075
403
+ cache-write 0
404
+ }
405
+ }
406
+ // GLM 5.2: $1.40/$4.40, cache read $0.26.
407
+ models "glm-5.2" {
408
+ cost-patch {
409
+ input 1.4
410
+ output 4.4
411
+ cache-read 0.26
412
+ cache-write 0
413
+ }
414
+ }
415
+ // GPT-5 Mini: $0.25/$2.00, cache read $0.025.
416
+ models "gpt-5-mini" {
417
+ cost-patch {
418
+ input 0.25
419
+ output 2.0
420
+ cache-read 0.025
421
+ cache-write 0
422
+ }
423
+ }
424
+ // GPT-5.1 Codex Max: $1.25/$10.00, cache read $0.125.
425
+ models "gpt-5.1-codex-max" "gpt-5.1-codex-max-high" {
426
+ cost-patch {
427
+ input 1.25
428
+ output 10.0
429
+ cache-read 0.125
430
+ cache-write 0
431
+ }
432
+ }
433
+ // GPT-5.1 Codex Mini: $0.25/$2.00, cache read $0.025.
434
+ models "gpt-5.1-codex-mini" {
435
+ cost-patch {
436
+ input 0.25
437
+ output 2.0
438
+ cache-read 0.025
439
+ cache-write 0
440
+ }
441
+ }
442
+ // GPT-5.2: $1.75/$14.00, cache read $0.175.
443
+ models "gpt-5.2" "gpt-5.2-high" "gpt-5.2-low" "gpt-5.2-xhigh" {
444
+ cost-patch {
445
+ input 1.75
446
+ output 14.0
447
+ cache-read 0.175
448
+ cache-write 0
449
+ }
450
+ }
451
+ // GPT-5.2 Fast: the docs publish no fast multiplier, so fast bills at
452
+ // the base GPT-5.2 card.
453
+ models "gpt-5.2-fast" "gpt-5.2-high-fast" "gpt-5.2-low-fast" "gpt-5.2-xhigh-fast" {
454
+ cost-patch {
455
+ input 1.75
456
+ output 14.0
457
+ cache-read 0.175
458
+ cache-write 0
459
+ }
460
+ }
461
+ // GPT-5.2 Codex: $1.75/$14.00, cache read $0.175.
462
+ models "gpt-5.2-codex" "gpt-5.2-codex-high" "gpt-5.2-codex-low" "gpt-5.2-codex-xhigh" {
463
+ cost-patch {
464
+ input 1.75
465
+ output 14.0
466
+ cache-read 0.175
467
+ cache-write 0
468
+ }
469
+ }
470
+ // GPT-5.2 Codex Fast: no fast multiplier published; base card applies.
471
+ models "gpt-5.2-codex-fast" "gpt-5.2-codex-high-fast" "gpt-5.2-codex-low-fast" "gpt-5.2-codex-xhigh-fast" {
472
+ cost-patch {
473
+ input 1.75
474
+ output 14.0
475
+ cache-read 0.175
476
+ cache-write 0
477
+ }
478
+ }
479
+ // GPT-5.3 Codex: $1.75/$14.00, cache read $0.175. The spark preview SKU
480
+ // has no separate Cursor card, so it bills at the base Codex rate.
481
+ models "gpt-5.3-codex" "gpt-5.3-codex-high" "gpt-5.3-codex-low" "gpt-5.3-codex-xhigh" "gpt-5.3-codex-spark-preview" {
482
+ cost-patch {
483
+ input 1.75
484
+ output 14.0
485
+ cache-read 0.175
486
+ cache-write 0
487
+ }
488
+ }
489
+ // GPT-5.3 Codex Fast: no fast multiplier published; base card applies.
490
+ models "gpt-5.3-codex-fast" "gpt-5.3-codex-high-fast" "gpt-5.3-codex-low-fast" "gpt-5.3-codex-xhigh-fast" {
491
+ cost-patch {
492
+ input 1.75
493
+ output 14.0
494
+ cache-read 0.175
495
+ cache-write 0
496
+ }
497
+ }
498
+ // GPT-5.4: $2.50/$15.00, cache read $0.25. The 2x long-context input
499
+ // tariff has no published threshold, so no long tier is modeled.
500
+ models "gpt-5.4" {
501
+ cost-patch {
502
+ input 2.5
503
+ output 15.0
504
+ cache-read 0.25
505
+ cache-write 0
506
+ }
507
+ }
508
+ // GPT-5.4 Fast: 2x pricing per docs, i.e. $5/$30, cache read $0.50.
509
+ models "gpt-5.4-fast" {
510
+ cost-patch {
511
+ input 5.0
512
+ output 30.0
513
+ cache-read 0.5
514
+ cache-write 0
515
+ }
516
+ }
517
+ // GPT-5.4 Mini: $0.75/$4.50, cache read $0.075.
518
+ models "gpt-5.4-mini" {
519
+ cost-patch {
520
+ input 0.75
521
+ output 4.5
522
+ cache-read 0.075
523
+ cache-write 0
524
+ }
525
+ }
526
+ // GPT-5.4 Nano: $0.20/$1.25, cache read $0.02.
527
+ models "gpt-5.4-nano" {
528
+ cost-patch {
529
+ input 0.2
530
+ output 1.25
531
+ cache-read 0.02
532
+ cache-write 0
533
+ }
534
+ }
535
+ // GPT-5.5: $5/$30, cache read $0.50. Fast runs higher at unpublished
536
+ // rates and the 2x long-context input tariff has no published
537
+ // threshold, so neither is modeled beyond the base card.
538
+ models "gpt-5.5" {
539
+ cost-patch {
540
+ input 5.0
541
+ output 30.0
542
+ cache-read 0.5
543
+ cache-write 0
544
+ }
545
+ }
546
+ // GPT-5.5 Fast: higher fast rates are unpublished; base card applies.
547
+ models "gpt-5.5-fast" {
548
+ cost-patch {
549
+ input 5.0
550
+ output 30.0
551
+ cache-read 0.5
552
+ cache-write 0
553
+ }
554
+ }
555
+ // GPT-5.6 Luna: $0.20/$1.20, cache $0.02/$0.25. Long context (>272k)
556
+ // bills 2x input pricing; output stays at the base rate per the docs
557
+ // wording, while cache rates double with input.
558
+ models "gpt-5.6-luna" {
559
+ cost-patch {
560
+ input 0.2
561
+ output 1.2
562
+ cache-read 0.02
563
+ cache-write 0.25
564
+ }
565
+ long-context-cost {
566
+ input-threshold 272000
567
+ input 0.4
568
+ output 1.2
569
+ cache-read 0.04
570
+ cache-write 0.5
571
+ }
572
+ }
573
+ // GPT-5.6 Luna Fast: 2x pricing, i.e. $0.40/$2.40, cache $0.04/$0.50.
574
+ models "gpt-5.6-luna-fast" {
575
+ cost-patch {
576
+ input 0.4
577
+ output 2.4
578
+ cache-read 0.04
579
+ cache-write 0.5
580
+ }
581
+ long-context-cost {
582
+ input-threshold 272000
583
+ input 0.8
584
+ output 2.4
585
+ cache-read 0.08
586
+ cache-write 1.0
587
+ }
588
+ }
589
+ // GPT-5.6 Sol: $4/$20, cache $0.40/$5.00. Promotional base through
590
+ // 2026-11-21 per docs; the card below is the published promo rate.
591
+ models "gpt-5.6-sol" {
592
+ cost-patch {
593
+ input 4.0
594
+ output 20.0
595
+ cache-read 0.4
596
+ cache-write 5.0
597
+ }
598
+ long-context-cost {
599
+ input-threshold 272000
600
+ input 8.0
601
+ output 20.0
602
+ cache-read 0.8
603
+ cache-write 10.0
604
+ }
605
+ }
606
+ // GPT-5.6 Sol Fast: 2x pricing, i.e. $8/$40, cache $0.80/$10.00.
607
+ models "gpt-5.6-sol-fast" {
608
+ cost-patch {
609
+ input 8.0
610
+ output 40.0
611
+ cache-read 0.8
612
+ cache-write 10.0
613
+ }
614
+ long-context-cost {
615
+ input-threshold 272000
616
+ input 16.0
617
+ output 40.0
618
+ cache-read 1.6
619
+ cache-write 20.0
620
+ }
621
+ }
622
+ // GPT-5.6 Terra: $2/$12, cache $0.20/$2.50.
623
+ models "gpt-5.6-terra" {
624
+ cost-patch {
625
+ input 2.0
626
+ output 12.0
627
+ cache-read 0.2
628
+ cache-write 2.5
629
+ }
630
+ long-context-cost {
631
+ input-threshold 272000
632
+ input 4.0
633
+ output 12.0
634
+ cache-read 0.4
635
+ cache-write 5.0
636
+ }
637
+ }
638
+ // GPT-5.6 Terra Fast: 2x pricing, i.e. $4/$24, cache $0.40/$5.00.
639
+ models "gpt-5.6-terra-fast" {
640
+ cost-patch {
641
+ input 4.0
642
+ output 24.0
643
+ cache-read 0.4
644
+ cache-write 5.0
645
+ }
646
+ long-context-cost {
647
+ input-threshold 272000
648
+ input 8.0
649
+ output 24.0
650
+ cache-read 0.8
651
+ cache-write 10.0
652
+ }
653
+ }
654
+ // Kimi K2.7 Code: $0.95/$4.00, cache read $0.19.
655
+ models "kimi-k2.7-code" {
656
+ cost-patch {
657
+ input 0.95
658
+ output 4.0
659
+ cache-read 0.19
660
+ cache-write 0
661
+ }
662
+ }
663
+ // Kimi K3: $3/$15, cache read $0.30. Up to 1M same rates, no write fee.
664
+ models "kimi-k3-high" "kimi-k3-low" "kimi-k3-max" {
665
+ cost-patch {
666
+ input 3.0
667
+ output 15.0
668
+ cache-read 0.3
669
+ cache-write 0
670
+ }
671
+ }
672
+ // Muse Spark 1.3: $1.25/$4.25, cached input $0.15, no write charge.
673
+ models "muse-spark-1.3" {
674
+ cost-patch {
675
+ input 1.25
676
+ output 4.25
677
+ cache-read 0.15
678
+ cache-write 0
679
+ }
680
+ }
90
681
  }
@@ -62,4 +62,18 @@ provider "github-copilot" {
62
62
  models "grok-4.6" "grok-4.6-1m" {
63
63
  thinking-efforts "minimal" "low" "medium" "high" "xhigh"
64
64
  }
65
+ // Copilot bills these OpenAI flagships in two tiers: the default tier ends
66
+ // at 272K prompt tokens and the long tier is served as the opt-in `-1m`
67
+ // sibling synthesized from `billing.token_prices.long_context`. Bundled and
68
+ // cached rows carry the long tier's 1.05M ceiling as the base window, and
69
+ // the Copilot rows carry no `cost.longContext`, so the standard-pricing cap
70
+ // had nothing to key on and every session started on the premium tier.
71
+ // Keep the default tier explicit; `/extended-context on` restores the full
72
+ // window. Exact ids only — the `-1m` siblings are the long tier itself.
73
+ models "gpt-5.6-sol" "gpt-5.6-luna" "gpt-5.6-terra" "gpt-6-astra" {
74
+ limits-patch {
75
+ context-window 272000
76
+ }
77
+ max-context-window 1050000
78
+ }
65
79
  }
@@ -47,6 +47,14 @@ behavior {
47
47
  // A bare composer-2.5 request defaults to the Fast lane server-side.
48
48
  cursor-model-parameter model="composer-2.5" id="fast" value="false"
49
49
 
50
+ // Cursor's dashboard splits native Grok/Composer traffic from all other
51
+ // models. Substring fallbacks cover newly discovered family revisions.
52
+ quota-tiers provider="cursor" default="api" {
53
+ tier "auto" "composer-2.5"
54
+ fallback "auto" substring="grok"
55
+ fallback "auto" substring="composer"
56
+ }
57
+
50
58
  // Exact quota bucket memberships reported by Google Gemini CLI.
51
59
  quota-tiers provider="google-gemini-cli" {
52
60
  tier "3-Flash" "gemini-3-flash-preview" "gemini-3-flash" "gemini-3.5-flash"
@@ -3,10 +3,12 @@ class "xai" {
3
3
  prefix "cursor-grok-"
4
4
  bounded "grok"
5
5
  namespace "x-ai"
6
- namespace "xai"
6
+ // Bedrock Converse ids are dotted (`us.xai.grok-4.6`). Unbounded
7
+ // namespace only splits on `/`, so `xai` never matched those rows.
8
+ namespace "xai" bounded=#true
7
9
 
8
10
  family "grok" glob="*grok*"
9
11
 
10
12
  revision prefix="cursor-grok-"
11
- revision prefix="grok-"
13
+ revision prefix="grok-" anywhere=#true
12
14
  }