File tree Expand file tree Collapse file tree
content/workers-ai-models Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,13 +141,9 @@ if (model.name.includes("@cf/openai/gpt-oss")) {
141141const author = authorData [model .author ];
142142const authorName = model .authorName ;
143143
144- // Models that require the Workers Paid plan (not available on Workers Free).
145- const workersPaidOnlyModels = [
146- " @cf/moonshotai/kimi-k2.6" ,
147- " @cf/moonshotai/kimi-k2.7-code" ,
148- " @cf/zai-org/glm-5.2" ,
149- ];
150- const isWorkersPaidOnly = workersPaidOnlyModels .includes (model .name );
144+ const requiresWorkersPaid =
145+ model .properties .require_workers_paid === true ||
146+ model .properties .require_workers_paid === " true" ;
151147
152148// `hasSchema`: input must have at least one key.
153149const hasSchema = Object .keys (model .schema .input ).length > 0 ;
@@ -340,7 +336,7 @@ const headings: MarkdownHeading[] = [
340336 }
341337
342338 {
343- isWorkersPaidOnly && (
339+ requiresWorkersPaid && (
344340 <Render file = " workers-paid-only-note" product = " workers-ai" />
345341 )
346342 }
Original file line number Diff line number Diff line change 11{
22 "name" : " @cf/zai-org/glm-5.2" ,
33 "properties" : [
4+ {
5+ "property_id" : " require_workers_paid" ,
6+ "value" : " true"
7+ },
48 {
59 "property_id" : " context_window" ,
610 "value" : " 262144"
47634767 }
47644768 },
47654769 "deprecated" : false
4766- }
4770+ }
Original file line number Diff line number Diff line change 1111 "created_at" : " 2026-04-20 01:40:35.001" ,
1212 "tags" : [],
1313 "properties" : [
14+ {
15+ "property_id" : " require_workers_paid" ,
16+ "value" : " true"
17+ },
1418 {
1519 "property_id" : " context_window" ,
1620 "value" : " 262144"
47524756 ]
47534757 }
47544758 }
4755- }
4759+ }
Original file line number Diff line number Diff line change 11{
22 "name" : " @cf/moonshotai/kimi-k2.7-code" ,
33 "properties" : [
4+ {
5+ "property_id" : " require_workers_paid" ,
6+ "value" : " true"
7+ },
48 {
59 "property_id" : " context_window" ,
610 "value" : " 262144"
You can’t perform that action at this time.
0 commit comments