Repository navigation
Expand file tree
/
Copy pathcursor.yml
More file actions
180 lines (171 loc) · 4.99 KB
/
Copy pathcursor.yml
File metadata and controls
180 lines (171 loc) · 4.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
# yaml-language-server: $schema=.schema.json
id: cursor
name: Cursor
description: Agentic coding models available through Cursor's editor, SDK, and Cloud Agents API.
pricing_urls:
- https://cursor.com/docs/models-and-pricing
- https://cursor.com/docs/models/grok-4-6
- https://cursor.com/docs/models/grok-4-5
- https://cursor.com/docs/models/cursor-composer-2-5
api_pattern: 'https://api\.cursor\.com'
model_match:
starts_with: composer-
# https://cursor.com/docs/account/teams/admin-api#team-filtered-usage-events
extractors:
- api_flavor: usage-event
root: tokenUsage
model_path: model
mappings:
- path: inputTokens
dest: input_tokens
- path: cacheWriteTokens
dest: input_tokens
- path: cacheReadTokens
dest: input_tokens
- path: cacheWriteTokens
dest: cache_write_tokens
- path: cacheReadTokens
dest: cache_read_tokens
- path: outputTokens
dest: output_tokens
models:
- id: composer-2.5
name: Composer 2.5
description: Cursor's agentic coding model, optimized for long-running tasks and tool use.
match:
or:
- equals: composer-2.5
- regex: '^composer-2\.5\[fast=false\]$'
context_window: 200000
prices_checked: 2026-08-28
price_comments: Standard on-demand usage. Fast is a separately priced variant.
prices:
input_mtok: 0.5
cache_read_mtok: 0.2
output_mtok: 2.5
- id: composer-2.5-fast
name: Composer 2.5 Fast
description: Faster Composer 2.5 speed tier with the same model intelligence.
match:
or:
- equals: composer-2.5-fast
- regex: '^composer-2\.5\[fast=true\]$'
context_window: 200000
prices_checked: 2026-08-28
price_comments: Fast on-demand usage.
prices:
input_mtok: 3
cache_read_mtok: 0.5
output_mtok: 15
- id: grok-4.5
name: Grok 4.5
description: Cursor and SpaceXAI's agentic model for long-running coding and knowledge work.
match:
or:
- equals: grok-4.5
- regex: '^grok-4\.5\[fast=false\]$'
context_window: 256000
prices_checked: 2026-08-28
price_comments: Standard on-demand usage. Fast is a separately priced variant.
prices:
input_mtok: 2
cache_read_mtok: 0.5
output_mtok: 6
- id: grok-4.5-fast
name: Grok 4.5 Fast
description: Faster Grok 4.5 speed tier for agentic coding and knowledge work.
match:
or:
- equals: grok-4.5-fast
- regex: '^grok-4\.5\[fast=true\]$'
context_window: 256000
prices_checked: 2026-08-28
price_comments: Fast on-demand usage.
prices:
input_mtok: 4
cache_read_mtok: 1
output_mtok: 18
- id: grok-4.6
name: Grok 4.6
description: Cursor and SpaceXAI's frontier model for complex coding and knowledge work.
match:
or:
- equals: grok-4.6
- regex: '^grok-4\.6\[fast=false\]$'
context_window: 256000
prices_checked: 2026-08-28
price_comments: Standard on-demand usage. Fast is a separately priced variant.
prices:
input_mtok: 2
cache_read_mtok: 0.5
output_mtok: 6
- id: grok-4.6-fast
name: Grok 4.6 Fast
description: Faster Grok 4.6 speed tier for complex coding and knowledge work.
match:
or:
- equals: grok-4.6-fast
- regex: '^grok-4\.6\[fast=true\]$'
context_window: 256000
prices_checked: 2026-08-28
price_comments: Fast on-demand usage.
prices:
input_mtok: 4
cache_read_mtok: 1
output_mtok: 12
- id: grok-4.7
name: Grok 4.7
description: Cursor and SpaceXAI's frontier model for complex coding and knowledge work.
match:
or:
- equals: grok-4.7
- regex: '^grok-4\.7\[fast=false\]$'
context_window: 500000
prices_checked: 2026-10-12
price_comments: >-
Standard rates apply through 256k input tokens; longer requests use the 500k rates for all tokens.
https://cursor.com/docs/models/grok-4-7
prices:
input_mtok:
base: 2
tiers:
- start: 256000
price: 4
cache_read_mtok:
base: 0.5
tiers:
- start: 256000
price: 1
output_mtok:
base: 6
tiers:
- start: 256000
price: 12
- id: grok-4.7-fast
name: Grok 4.7 Fast
description: Faster Grok 4.7 speed tier for complex coding and knowledge work.
match:
or:
- equals: grok-4.7-fast
- regex: '^grok-4\.7\[fast=true\]$'
context_window: 500000
prices_checked: 2026-10-12
price_comments: >-
Fast rates apply through 256k input tokens; longer requests use the 500k Fast rates for all tokens.
https://cursor.com/docs/models/grok-4-7
prices:
input_mtok:
base: 4
tiers:
- start: 256000
price: 6
cache_read_mtok:
base: 1
tiers:
- start: 256000
price: 1.5
output_mtok:
base: 12
tiers:
- start: 256000
price: 18