Skip to content

Commit 3ea5946

Browse files
committed
Adds note per TODO
1 parent 0307ef0 commit 3ea5946

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

src/pages/workers-ai/models/[name].astro

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,10 @@ const isBeta = model.properties.find(
125125
let hasPlayground = model.task.name === "Text Generation";
126126
127127
// temporary workaround for playground limitations
128-
if (model.name.includes("@cf/openai/gpt-oss") ) {
128+
if (model.name.includes("@cf/openai/gpt-oss")) {
129129
hasPlayground = false;
130130
}
131131
132-
133132
const author = (authorData as any)[model.name.split("/")[1]];
134133
135134
// Strong type coercion needed due to Starlight's component override for hideTitle
@@ -213,6 +212,28 @@ const starlightPageProps = {
213212
}
214213

215214
<ModelFeatures model={model} />
215+
{
216+
model.name === "@cf/deepgram/nova-3" && (
217+
<Aside>
218+
<p>
219+
The <a href="/workers-ai/platform/pricing">pricing of this model</a>{" "}
220+
is different based on transport.
221+
</p>
222+
<p>
223+
<ul>
224+
<li>
225+
WebSocket: $0.0092 per audio minute output (836.36 neurons per
226+
audio minute output)
227+
</li>
228+
<li>
229+
Regular HTTP: $0.0052 per audio minute output (472.73 neurons per
230+
audio minute output)
231+
</li>
232+
</ul>
233+
</p>
234+
</Aside>
235+
)
236+
}
216237

217238
{
218239
hasPlayground && (

0 commit comments

Comments
 (0)