Update zen models

This commit is contained in:
Frank
2025-10-08 14:53:21 -04:00
parent e9fddf9844
commit 11e2efd78d
5 changed files with 20 additions and 32 deletions
+3 -1
View File
@@ -55,7 +55,9 @@ export const Model = z
context: z.number().min(0, "Context window must be positive"),
output: z.number().min(0, "Output tokens must be positive"),
}),
experimental: z.boolean().optional(),
experimental: z.boolean().optional(), // deprecated
alpha: z.boolean().optional(),
beta: z.boolean().optional(),
provider: z
.object({
npm: z.string().optional(),
+15 -5
View File
@@ -15,7 +15,9 @@ export const Providers = await generate(
const loadProviderSvg = async (providerId: string): Promise<string | null> => {
const providerLogoPath = path.join(
import.meta.dir,
"..", "..", "..",
"..",
"..",
"..",
"providers",
providerId,
"logo.svg"
@@ -23,7 +25,9 @@ const loadProviderSvg = async (providerId: string): Promise<string | null> => {
const defaultLogoPath = path.join(
import.meta.dir,
"..", "..", "..",
"..",
"..",
"..",
"providers",
"logo.svg"
);
@@ -336,7 +340,7 @@ export const Rendered = renderToString(
)
.flatMap(([providerId, provider]) =>
Object.entries(provider.models)
.filter(([, model]) => !model.experimental)
.filter(([, model]) => !model.alpha && !model.beta)
.sort(([, modelA], [, modelB]) =>
modelA.name.localeCompare(modelB.name)
)
@@ -498,10 +502,16 @@ export const Rendered = renderToString(
.
</p>
<h2>Logos</h2>
<p>Provider logos are available at <code>/logos/{`{provider}`}.svg</code> where <code>{`{provider}`}</code> is the <b>Provider ID</b>.</p>
<p>
Provider logos are available at <code>/logos/{`{provider}`}.svg</code>{" "}
where <code>{`{provider}`}</code> is the <b>Provider ID</b>.
</p>
<div class="code-block">
<code>
curl <a href="/logos/anthropic.svg">https://models.dev/logos/anthropic.svg</a>
curl{" "}
<a href="/logos/anthropic.svg">
https://models.dev/logos/anthropic.svg
</a>
</code>
</div>
<p>
@@ -7,7 +7,6 @@ temperature = false
knowledge = "2025-01"
tool_call = true
open_weights = false
experimental = true
[cost]
input = 0.50
+2 -3
View File
@@ -8,12 +8,11 @@ tool_call = true
knowledge = "2025-04"
open_weights = true
experimental = true
beta = true
[cost]
input = 0.6
output = 2.2
cache_read = 0.11
cache_write = 0
output = 1.9
[limit]
context = 204800
-22
View File
@@ -1,22 +0,0 @@
name = "Qwen3 Max"
release_date = "2025-09-05"
last_updated = "2025-09-05"
attachment = false
reasoning = true
temperature = true
knowledge = "2025-04"
tool_call = true
open_weights = true
experimental = true
[cost]
input = 1.6
output = 6.4
[limit]
context = 262_144
output = 65_536
[modalities]
input = ["text"]
output = ["text"]