Compare commits
95
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
78e6c1a2dd | ||
|
|
477ccffee8 | ||
|
|
4501589a20 | ||
|
|
0b643efd17 | ||
|
|
8a0ea15aca | ||
|
|
b3676fd77d | ||
|
|
f97a02078c | ||
|
|
2a7153fcef | ||
|
|
3396f15854 | ||
|
|
ccfd99b5e9 | ||
|
|
ef6eb88216 | ||
|
|
94e128244a | ||
|
|
ec6d07d41c | ||
|
|
4efbe58af8 | ||
|
|
a4fe8fc36b | ||
|
|
b24b44ca0a | ||
|
|
466d664bf9 | ||
|
|
340ef131e9 | ||
|
|
6ce69a706a | ||
|
|
3505674a1b | ||
|
|
cfeaef8f77 | ||
|
|
f73a5d571b | ||
|
|
62d31abff8 | ||
|
|
ee71ea7181 | ||
|
|
b038f40b64 | ||
|
|
4b7bdd9692 | ||
|
|
b73ef1a634 | ||
|
|
c11b5bb00b | ||
|
|
01bc1785b4 | ||
|
|
36b5847fa4 | ||
|
|
040beaf818 | ||
|
|
9f8e1a3858 | ||
|
|
ce7a1c0218 | ||
|
|
55e6c7a2ee | ||
|
|
8bacf496fe | ||
|
|
ac12cf1f43 | ||
|
|
06c7ea2303 | ||
|
|
92b6e9da53 | ||
|
|
660ff026a0 | ||
|
|
9a910a1fb3 | ||
|
|
7dc5f787b0 | ||
|
|
c25ddce07c | ||
|
|
e73a82e44e | ||
|
|
7de9710b5a | ||
|
|
d1a8dbcdde | ||
|
|
556ef84d11 | ||
|
|
f2020553ea | ||
|
|
ca0a7e17cb | ||
|
|
d2468eafb2 | ||
|
|
96d0f9beff | ||
|
|
7989be9f34 | ||
|
|
f30e44f4b5 | ||
|
|
1383177893 | ||
|
|
2e58165af9 | ||
|
|
f3466affc0 | ||
|
|
3697c99297 | ||
|
|
796dda2fd1 | ||
|
|
1d363cbd7f | ||
|
|
3758725979 | ||
|
|
c039e82f12 | ||
|
|
1e90242cdb | ||
|
|
277ac8577e | ||
|
|
6e5f35546d | ||
|
|
aa69da14d6 | ||
|
|
c7af5ba9be | ||
|
|
d6e9e6735f | ||
|
|
a987719410 | ||
|
|
9528528f69 | ||
|
|
fbad40d863 | ||
|
|
84559b598b | ||
|
|
9d45730db9 | ||
|
|
791089e4aa | ||
|
|
fcc4387187 | ||
|
|
6aa32ba566 | ||
|
|
459a563d2b | ||
|
|
739e5a7c8e | ||
|
|
efc87afa3a | ||
|
|
f616aa6a0b | ||
|
|
f77e75a567 | ||
|
|
651bd4d91a | ||
|
|
30b9170106 | ||
|
|
81e42c653c | ||
|
|
11f2a38594 | ||
|
|
6621be978f | ||
|
|
c8d72661d6 | ||
|
|
21b7cacc33 | ||
|
|
ac1dc14439 | ||
|
|
63acb799da | ||
|
|
2e6ebb6750 | ||
|
|
d8c2e15632 | ||
|
|
8a70160200 | ||
|
|
7ea1d4e15c | ||
|
|
3df181411f | ||
|
|
9367cc1825 | ||
|
|
96b9a04c4b |
No files matched your search
@@ -117,6 +117,8 @@ export const ModelFamilyValues = [
|
||||
"minimax",
|
||||
"minimax-m2.5",
|
||||
"minimax-m2.7",
|
||||
"minimax-m3",
|
||||
"minimax-m3-free",
|
||||
"minimax-free",
|
||||
|
||||
// Hunyuan
|
||||
|
||||
@@ -81,6 +81,19 @@ export async function generate(directory: string) {
|
||||
result[providerID] = provider.data;
|
||||
}
|
||||
|
||||
const nameToProviderID = new Map<string, string>();
|
||||
for (const provider of Object.values(result)) {
|
||||
const nameKey = provider.name.toLowerCase();
|
||||
const existingID = nameToProviderID.get(nameKey);
|
||||
if (existingID !== undefined) {
|
||||
throw new Error(
|
||||
`Duplicate provider name "${provider.name}" used by both "${existingID}" and "${provider.id}". Provider names must be unique.`,
|
||||
{ cause: { providerIDs: [existingID, provider.id], name: provider.name } },
|
||||
);
|
||||
}
|
||||
nameToProviderID.set(nameKey, provider.id);
|
||||
}
|
||||
|
||||
for (const pendingModel of extendsModels) {
|
||||
const [providerID, modelID] = pendingModel.model.extends.from.split("/");
|
||||
const baseModel = result[providerID]?.models[modelID];
|
||||
|
||||
+54
-27
@@ -21,31 +21,53 @@ const JsonValue: z.ZodType<JsonValue> = z.lazy(() =>
|
||||
]),
|
||||
);
|
||||
|
||||
const Cost = z
|
||||
.object({
|
||||
input: z.number().min(0, "Input price cannot be negative"),
|
||||
output: z.number().min(0, "Output price cannot be negative"),
|
||||
reasoning: z
|
||||
.number()
|
||||
.min(0, "Reasoning price cannot be negative")
|
||||
.optional(),
|
||||
cache_read: z
|
||||
.number()
|
||||
.min(0, "Cache read price cannot be negative")
|
||||
.optional(),
|
||||
cache_write: z
|
||||
.number()
|
||||
.min(0, "Cache write price cannot be negative")
|
||||
.optional(),
|
||||
input_audio: z
|
||||
.number()
|
||||
.min(0, "Audio input price cannot be negative")
|
||||
.optional(),
|
||||
output_audio: z
|
||||
.number()
|
||||
.min(0, "Audio output price cannot be negative")
|
||||
.optional(),
|
||||
});
|
||||
const ReasoningOption = z.discriminatedUnion("type", [
|
||||
z
|
||||
.object({
|
||||
type: z.literal("effort"),
|
||||
values: z.array(z.enum(["none", "low", "medium", "high", "xhigh", "max"])),
|
||||
})
|
||||
.strict(),
|
||||
z
|
||||
.object({
|
||||
type: z.literal("budget_tokens"),
|
||||
min: z.number().min(0, "Minimum reasoning budget cannot be negative").optional(),
|
||||
max: z.number().min(0, "Maximum reasoning budget cannot be negative").optional(),
|
||||
})
|
||||
.strict(),
|
||||
]).refine(
|
||||
(data) =>
|
||||
data.type !== "budget_tokens" ||
|
||||
data.min === undefined ||
|
||||
data.max === undefined ||
|
||||
data.min <= data.max,
|
||||
{
|
||||
message: "Minimum reasoning budget cannot exceed maximum reasoning budget",
|
||||
path: ["min"],
|
||||
},
|
||||
);
|
||||
|
||||
const Cost = z.object({
|
||||
input: z.number().min(0, "Input price cannot be negative"),
|
||||
output: z.number().min(0, "Output price cannot be negative"),
|
||||
reasoning: z.number().min(0, "Reasoning price cannot be negative").optional(),
|
||||
cache_read: z
|
||||
.number()
|
||||
.min(0, "Cache read price cannot be negative")
|
||||
.optional(),
|
||||
cache_write: z
|
||||
.number()
|
||||
.min(0, "Cache write price cannot be negative")
|
||||
.optional(),
|
||||
input_audio: z
|
||||
.number()
|
||||
.min(0, "Audio input price cannot be negative")
|
||||
.optional(),
|
||||
output_audio: z
|
||||
.number()
|
||||
.min(0, "Audio output price cannot be negative")
|
||||
.optional(),
|
||||
});
|
||||
|
||||
const CostTier = Cost.extend({
|
||||
tier: z
|
||||
@@ -72,6 +94,7 @@ const ModelBase = z.object({
|
||||
family: ModelFamily.optional(),
|
||||
attachment: z.boolean(),
|
||||
reasoning: z.boolean(),
|
||||
reasoning_options: z.array(ReasoningOption).optional(),
|
||||
tool_call: z.boolean(),
|
||||
interleaved: z
|
||||
.union([
|
||||
@@ -140,7 +163,9 @@ function refineModel<T extends z.ZodTypeAny>(schema: T) {
|
||||
return schema
|
||||
.refine(
|
||||
(data) => {
|
||||
return !(data.reasoning === false && data.cost?.reasoning !== undefined);
|
||||
return !(
|
||||
data.reasoning === false && data.cost?.reasoning !== undefined
|
||||
);
|
||||
},
|
||||
{
|
||||
message: "Cannot set cost.reasoning when reasoning is false",
|
||||
@@ -152,7 +177,9 @@ function refineModel<T extends z.ZodTypeAny>(schema: T) {
|
||||
const tiers = data.cost?.tiers;
|
||||
if (tiers === undefined) return true;
|
||||
|
||||
const sizes = tiers.map((tier: { tier: { size: number } }) => tier.tier.size);
|
||||
const sizes = tiers.map(
|
||||
(tier: { tier: { size: number } }) => tier.tier.size,
|
||||
);
|
||||
return new Set(sizes).size === sizes.length;
|
||||
},
|
||||
{
|
||||
|
||||
@@ -6,6 +6,7 @@ import { AuthoredModel, AuthoredModelShape } from "../schema.js";
|
||||
import { cloudflareWorkersAi } from "./providers/cloudflare-workers-ai.js";
|
||||
import { google } from "./providers/google.js";
|
||||
import { openrouter } from "./providers/openrouter.js";
|
||||
import { ovhcloud } from "./providers/ovhcloud.js";
|
||||
import { xai } from "./providers/xai.js";
|
||||
|
||||
const ExtendsConfig = z
|
||||
@@ -73,18 +74,20 @@ export const providers: {
|
||||
"cloudflare-workers-ai": SyncProvider<any>;
|
||||
google: SyncProvider<any>;
|
||||
openrouter: SyncProvider<any>;
|
||||
ovhcloud: SyncProvider<any>;
|
||||
xai: SyncProvider<any>;
|
||||
} = {
|
||||
"cloudflare-workers-ai": cloudflareWorkersAi,
|
||||
google,
|
||||
openrouter,
|
||||
ovhcloud,
|
||||
xai,
|
||||
};
|
||||
|
||||
export const groups = {
|
||||
aggregators: ["openrouter"],
|
||||
cloudflare: ["cloudflare-workers-ai"],
|
||||
direct: ["google", "xai"],
|
||||
direct: ["google", "ovhcloud", "xai"],
|
||||
} as const;
|
||||
|
||||
type ProviderID = keyof typeof providers;
|
||||
|
||||
@@ -0,0 +1,137 @@
|
||||
import { z } from "zod";
|
||||
|
||||
import type { ExistingModel, SyncedFullModel, SyncProvider, SyncedModel } from "../index.js";
|
||||
|
||||
const API_ENDPOINT = "https://catalog.endpoints.ai.ovh.net/rest/v2/openrouter";
|
||||
|
||||
export const OvhcloudModel = z
|
||||
.object({
|
||||
id: z.string(),
|
||||
name: z.string(),
|
||||
created: z.number(),
|
||||
hugging_face_id: z.string().nullable().optional(),
|
||||
context_length: z.number(),
|
||||
max_output_length: z.number().optional(),
|
||||
input_modalities: z.array(z.string()).optional(),
|
||||
output_modalities: z.array(z.string()).optional(),
|
||||
pricing: z
|
||||
.object({
|
||||
prompt: z.string().optional(),
|
||||
completion: z.string().optional(),
|
||||
input_cache_reads: z.string().optional(),
|
||||
input_cache_writes: z.string().optional(),
|
||||
})
|
||||
.passthrough()
|
||||
.optional(),
|
||||
supported_features: z.array(z.string()).optional(),
|
||||
supported_sampling_parameters: z.array(z.string()).optional(),
|
||||
})
|
||||
.passthrough();
|
||||
|
||||
export const OvhcloudResponse = z
|
||||
.object({
|
||||
data: z.array(OvhcloudModel),
|
||||
})
|
||||
.passthrough();
|
||||
|
||||
export type OvhcloudModel = z.infer<typeof OvhcloudModel>;
|
||||
|
||||
export const ovhcloud = {
|
||||
id: "ovhcloud",
|
||||
name: "OVHcloud AI Endpoints",
|
||||
modelsDir: "providers/ovhcloud/models",
|
||||
async fetchModels() {
|
||||
const response = await fetch(API_ENDPOINT);
|
||||
if (!response.ok) {
|
||||
throw new Error(`OVHcloud request failed: ${response.status} ${response.statusText}`);
|
||||
}
|
||||
return response.json();
|
||||
},
|
||||
parseModels(raw) {
|
||||
return OvhcloudResponse.parse(raw).data;
|
||||
},
|
||||
translateModel(model, context) {
|
||||
return {
|
||||
id: model.id.toLowerCase(),
|
||||
model: buildOvhcloudModel(model, context.existing(model.id.toLowerCase())),
|
||||
};
|
||||
},
|
||||
} satisfies SyncProvider<OvhcloudModel>;
|
||||
|
||||
function dateFromTimestamp(timestamp: number) {
|
||||
return new Date(timestamp * 1000).toISOString().slice(0, 10);
|
||||
}
|
||||
|
||||
function price(value: string | undefined) {
|
||||
if (value === undefined) return undefined;
|
||||
const number = Number(value);
|
||||
return Number.isFinite(number) && number >= 0
|
||||
? Math.round(number * 1_000_000_000_000) / 1_000_000
|
||||
: undefined;
|
||||
}
|
||||
|
||||
type Modality = "text" | "audio" | "image" | "video" | "pdf";
|
||||
|
||||
function modalities(values: string[], fallback: Modality[]): Modality[] {
|
||||
const allowed = new Set<Modality>(["text", "audio", "image", "video", "pdf"]);
|
||||
const result = values
|
||||
.map((value) => value.toLowerCase())
|
||||
.map((value) => (value === "file" ? "pdf" : value))
|
||||
.filter((value): value is Modality => allowed.has(value as Modality));
|
||||
return [...new Set(result.length > 0 ? result : fallback)];
|
||||
}
|
||||
|
||||
export function buildOvhcloudModel(
|
||||
model: OvhcloudModel,
|
||||
existing: ExistingModel | undefined,
|
||||
): SyncedModel {
|
||||
const features = new Set(model.supported_features ?? []);
|
||||
const samplingParameters = new Set(model.supported_sampling_parameters ?? []);
|
||||
const input = modalities(model.input_modalities ?? ["text"], ["text"]);
|
||||
const output = modalities(model.output_modalities ?? ["text"], ["text"]);
|
||||
const attachment = input.some((value) => value !== "text");
|
||||
const reasoning = features.has("reasoning");
|
||||
const toolCall = features.has("tools");
|
||||
const structuredOutput = features.has("structured_outputs");
|
||||
const temperature = samplingParameters.has("temperature");
|
||||
const openWeights = Boolean(model.hugging_face_id);
|
||||
const releaseDate = existing?.release_date ?? dateFromTimestamp(model.created);
|
||||
const lastUpdated = existing?.last_updated ?? releaseDate;
|
||||
|
||||
const inputCost = price(model.pricing?.prompt);
|
||||
const outputCost = price(model.pricing?.completion);
|
||||
const cacheRead = price(model.pricing?.input_cache_reads);
|
||||
const cacheWrite = price(model.pricing?.input_cache_writes);
|
||||
const cost =
|
||||
(inputCost ?? 0) > 0 || (outputCost ?? 0) > 0
|
||||
? {
|
||||
input: inputCost ?? 0,
|
||||
output: outputCost ?? 0,
|
||||
cache_read: cacheRead !== undefined && cacheRead > 0 ? cacheRead : undefined,
|
||||
cache_write: cacheWrite !== undefined && cacheWrite > 0 ? cacheWrite : undefined,
|
||||
}
|
||||
: undefined;
|
||||
|
||||
return {
|
||||
name: model.name,
|
||||
family: existing?.family,
|
||||
release_date: releaseDate,
|
||||
last_updated: lastUpdated,
|
||||
attachment,
|
||||
reasoning,
|
||||
temperature: temperature || undefined,
|
||||
tool_call: toolCall,
|
||||
structured_output: structuredOutput || undefined,
|
||||
knowledge: existing?.knowledge,
|
||||
open_weights: openWeights,
|
||||
status: existing?.status,
|
||||
interleaved: existing?.interleaved,
|
||||
cost,
|
||||
limit: {
|
||||
context: model.context_length,
|
||||
input: existing?.limit?.input,
|
||||
output: model.max_output_length ?? existing?.limit?.output ?? model.context_length,
|
||||
},
|
||||
modalities: { input, output },
|
||||
} satisfies SyncedFullModel;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
name = "Claude Opus 4.8 (AU)"
|
||||
|
||||
[extends]
|
||||
from = "anthropic/claude-opus-4-8"
|
||||
omit = ["experimental.modes.fast"]
|
||||
@@ -4,3 +4,9 @@ structured_output = true
|
||||
[extends]
|
||||
from = "anthropic/claude-opus-4-6"
|
||||
omit = ["experimental.modes.fast"]
|
||||
|
||||
[cost]
|
||||
input = 5.50
|
||||
output = 27.50
|
||||
cache_read = 0.55
|
||||
cache_write = 6.875
|
||||
@@ -10,10 +10,10 @@ knowledge = "2026-01-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 5.00
|
||||
output = 25.00
|
||||
cache_read = 0.50
|
||||
cache_write = 6.25
|
||||
input = 5.50
|
||||
output = 27.50
|
||||
cache_read = 0.55
|
||||
cache_write = 6.875
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
name = "Claude Opus 4.8 (EU)"
|
||||
|
||||
[extends]
|
||||
from = "anthropic/claude-opus-4-8"
|
||||
omit = ["experimental.modes.fast"]
|
||||
|
||||
[cost]
|
||||
input = 5.50
|
||||
output = 27.50
|
||||
cache_read = 0.55
|
||||
cache_write = 6.875
|
||||
@@ -11,10 +11,10 @@ knowledge = "2025-07-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
cache_read = 0.30
|
||||
cache_write = 3.75
|
||||
input = 3.30
|
||||
output = 16.50
|
||||
cache_read = 0.33
|
||||
cache_write = 4.125
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
|
||||
@@ -3,3 +3,9 @@ structured_output = true
|
||||
|
||||
[extends]
|
||||
from = "anthropic/claude-sonnet-4-6"
|
||||
|
||||
[cost]
|
||||
input = 3.30
|
||||
output = 16.50
|
||||
cache_read = 0.33
|
||||
cache_write = 4.125
|
||||
@@ -0,0 +1,5 @@
|
||||
name = "Claude Opus 4.8 (Global)"
|
||||
|
||||
[extends]
|
||||
from = "anthropic/claude-opus-4-8"
|
||||
omit = ["experimental.modes.fast"]
|
||||
@@ -0,0 +1,5 @@
|
||||
name = "Claude Opus 4.8 (JP)"
|
||||
|
||||
[extends]
|
||||
from = "anthropic/claude-opus-4-8"
|
||||
omit = ["experimental.modes.fast"]
|
||||
@@ -0,0 +1,5 @@
|
||||
name = "Claude Opus 4.8 (US)"
|
||||
|
||||
[extends]
|
||||
from = "anthropic/claude-opus-4-8"
|
||||
omit = ["experimental.modes.fast"]
|
||||
@@ -9,6 +9,10 @@ tool_call = true
|
||||
knowledge = "2024-10-31"
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "budget_tokens"
|
||||
min = 1_024
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
|
||||
@@ -9,6 +9,10 @@ tool_call = true
|
||||
knowledge = "2025-02-28"
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "budget_tokens"
|
||||
min = 1_024
|
||||
|
||||
[cost]
|
||||
input = 1.00
|
||||
output = 5.00
|
||||
|
||||
@@ -9,6 +9,10 @@ tool_call = true
|
||||
knowledge = "2025-02-28"
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "budget_tokens"
|
||||
min = 1_024
|
||||
|
||||
[cost]
|
||||
input = 1.00
|
||||
output = 5.00
|
||||
|
||||
@@ -9,6 +9,10 @@ tool_call = true
|
||||
knowledge = "2025-03-31"
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "budget_tokens"
|
||||
min = 1_024
|
||||
|
||||
[cost]
|
||||
input = 15.00
|
||||
output = 75.00
|
||||
|
||||
@@ -9,6 +9,10 @@ tool_call = true
|
||||
knowledge = "2025-03-31"
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "budget_tokens"
|
||||
min = 1_024
|
||||
|
||||
[cost]
|
||||
input = 15.00
|
||||
output = 75.00
|
||||
|
||||
@@ -9,6 +9,10 @@ tool_call = true
|
||||
knowledge = "2025-03-31"
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "budget_tokens"
|
||||
min = 1_024
|
||||
|
||||
[cost]
|
||||
input = 15.00
|
||||
output = 75.00
|
||||
|
||||
@@ -9,6 +9,10 @@ tool_call = true
|
||||
knowledge = "2025-03-31"
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "budget_tokens"
|
||||
min = 1_024
|
||||
|
||||
[cost]
|
||||
input = 15.00
|
||||
output = 75.00
|
||||
|
||||
@@ -9,6 +9,14 @@ tool_call = true
|
||||
knowledge = "2025-03-31"
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "effort"
|
||||
values = ["low", "medium", "high"]
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "budget_tokens"
|
||||
min = 1_024
|
||||
|
||||
[cost]
|
||||
input = 5.00
|
||||
output = 25.00
|
||||
|
||||
@@ -9,6 +9,14 @@ tool_call = true
|
||||
knowledge = "2025-03-31"
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "effort"
|
||||
values = ["low", "medium", "high"]
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "budget_tokens"
|
||||
min = 1_024
|
||||
|
||||
[cost]
|
||||
input = 5.00
|
||||
output = 25.00
|
||||
|
||||
@@ -9,6 +9,14 @@ tool_call = true
|
||||
knowledge = "2025-05-31"
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "effort"
|
||||
values = ["low", "medium", "high", "max"]
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "budget_tokens"
|
||||
min = 1_024
|
||||
|
||||
[cost]
|
||||
input = 5.00
|
||||
output = 25.00
|
||||
|
||||
@@ -9,6 +9,10 @@ tool_call = true
|
||||
knowledge = "2026-01-31"
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "effort"
|
||||
values = ["low", "medium", "high", "xhigh", "max"]
|
||||
|
||||
[cost]
|
||||
input = 5.00
|
||||
output = 25.00
|
||||
|
||||
@@ -8,6 +8,10 @@ temperature = false
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "effort"
|
||||
values = ["low", "medium", "high", "xhigh", "max"]
|
||||
|
||||
[cost]
|
||||
input = 5.00
|
||||
output = 25.00
|
||||
|
||||
@@ -9,6 +9,10 @@ tool_call = true
|
||||
knowledge = "2025-03-31"
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "budget_tokens"
|
||||
min = 1_024
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
|
||||
@@ -9,6 +9,10 @@ tool_call = true
|
||||
knowledge = "2025-03-31"
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "budget_tokens"
|
||||
min = 1_024
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
|
||||
@@ -9,6 +9,10 @@ tool_call = true
|
||||
knowledge = "2025-07-31"
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "budget_tokens"
|
||||
min = 1_024
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
|
||||
@@ -9,6 +9,10 @@ tool_call = true
|
||||
knowledge = "2025-07-31"
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "budget_tokens"
|
||||
min = 1_024
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
|
||||
@@ -9,6 +9,14 @@ tool_call = true
|
||||
knowledge = "2025-08-31"
|
||||
open_weights = false
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "effort"
|
||||
values = ["low", "medium", "high", "max"]
|
||||
|
||||
[[reasoning_options]]
|
||||
type = "budget_tokens"
|
||||
min = 1_024
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[extends]
|
||||
from = "anthropic/claude-opus-4-8"
|
||||
omit = ["experimental.modes.fast"]
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "Gemma 3 12B It"
|
||||
family = "gemma"
|
||||
release_date = "2025-03-18"
|
||||
last_updated = "2025-03-18"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = false
|
||||
structured_output = false
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.345
|
||||
output = 0.556
|
||||
|
||||
[limit]
|
||||
context = 80_000
|
||||
output = 80_000
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "Llama 2 7B Chat fp16"
|
||||
family = "llama"
|
||||
release_date = "2023-11-07"
|
||||
last_updated = "2023-11-07"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = false
|
||||
structured_output = false
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.556
|
||||
output = 6.667
|
||||
|
||||
[limit]
|
||||
context = 4_096
|
||||
output = 4_096
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "Llama 3 8B Instruct Awq"
|
||||
family = "llama"
|
||||
release_date = "2024-05-09"
|
||||
last_updated = "2024-05-09"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = false
|
||||
structured_output = false
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.123
|
||||
output = 0.266
|
||||
|
||||
[limit]
|
||||
context = 8_192
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "Llama 3 8B Instruct"
|
||||
family = "llama"
|
||||
release_date = "2024-04-18"
|
||||
last_updated = "2024-04-18"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = false
|
||||
structured_output = false
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.282
|
||||
output = 0.827
|
||||
|
||||
[limit]
|
||||
context = 7_968
|
||||
output = 7_968
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "Llama 3.1 8B Instruct Awq"
|
||||
family = "llama"
|
||||
release_date = "2024-07-25"
|
||||
last_updated = "2024-07-25"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = false
|
||||
structured_output = false
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.123
|
||||
output = 0.266
|
||||
|
||||
[limit]
|
||||
context = 8_192
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "Mistral 7B Instruct V0.1"
|
||||
family = "mistral"
|
||||
release_date = "2023-11-07"
|
||||
last_updated = "2023-11-07"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = false
|
||||
structured_output = false
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.11
|
||||
output = 0.19
|
||||
|
||||
[limit]
|
||||
context = 2_824
|
||||
output = 2_824
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,27 +0,0 @@
|
||||
name = "Kimi K2.5"
|
||||
family = "kimi"
|
||||
release_date = "2026-01-27"
|
||||
last_updated = "2026-01-27"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
structured_output = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-01"
|
||||
open_weights = true
|
||||
|
||||
[interleaved]
|
||||
field = "reasoning_content"
|
||||
|
||||
[cost]
|
||||
input = 0.60
|
||||
output = 3.00
|
||||
cache_read = 0.10
|
||||
|
||||
[limit]
|
||||
context = 256_000
|
||||
output = 256_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -9,9 +9,9 @@ tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.28
|
||||
output = 0.38
|
||||
cache_read = 0.06
|
||||
input = 0.18
|
||||
output = 0.35
|
||||
cache_read = 0.04
|
||||
|
||||
[limit]
|
||||
context = 163_840
|
||||
|
||||
@@ -4,7 +4,7 @@ from = "deepseek/deepseek-v4-flash"
|
||||
[cost]
|
||||
input = 0.12
|
||||
output = 0.21
|
||||
cache_read = 0.02
|
||||
cache_read = 0.003
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
[extends]
|
||||
from = "deepseek/deepseek-v4-pro"
|
||||
|
||||
[cost]
|
||||
input = 0.80
|
||||
output = 1.60
|
||||
cache_read = 0.02
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 131_072
|
||||
|
||||
[provider]
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
@@ -2,8 +2,8 @@
|
||||
from = "deepseek/deepseek-v4-pro"
|
||||
|
||||
[cost]
|
||||
input = 0.40
|
||||
output = 0.85
|
||||
input = 0.35
|
||||
output = 0.80
|
||||
cache_read = 0.003
|
||||
|
||||
[limit]
|
||||
|
||||
@@ -6,5 +6,9 @@ input = 0.04
|
||||
output = 0.30
|
||||
cache_read = 0.008
|
||||
|
||||
[limit]
|
||||
context = 202_752
|
||||
output = 131_072
|
||||
|
||||
[provider]
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
@@ -1,26 +0,0 @@
|
||||
name = "GLM 5.1 (Precision)"
|
||||
family = "glm"
|
||||
release_date = "2026-03-27"
|
||||
last_updated = "2026-03-27"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = false
|
||||
|
||||
[interleaved]
|
||||
field = "reasoning_content"
|
||||
|
||||
[cost]
|
||||
input = 0.75
|
||||
output = 2.90
|
||||
cache_read = 0.15
|
||||
|
||||
[limit]
|
||||
context = 202_752
|
||||
output = 202_752
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -3,8 +3,8 @@ from = "zhipuai/glm-5.1"
|
||||
|
||||
[cost]
|
||||
input = 0.45
|
||||
output = 2.10
|
||||
cache_read = 0.09
|
||||
output = 2.15
|
||||
cache_read = 0.08
|
||||
|
||||
[limit]
|
||||
context = 202_752
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Greg 1 Mini"
|
||||
release_date = "2026-01-27"
|
||||
last_updated = "2026-01-27"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = false
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.07
|
||||
output = 0.15
|
||||
cache_read = 0.01
|
||||
|
||||
[limit]
|
||||
context = 229_376
|
||||
output = 229_376
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Greg 1 Super"
|
||||
release_date = "2026-01-27"
|
||||
last_updated = "2026-01-27"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = false
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 1.00
|
||||
output = 5.00
|
||||
cache_read = 0.20
|
||||
|
||||
[limit]
|
||||
context = 229_376
|
||||
output = 229_376
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,4 +1,4 @@
|
||||
name = "Experiment!: Greg"
|
||||
name = "Greg 1 Normal"
|
||||
release_date = "2026-01-27"
|
||||
last_updated = "2026-01-27"
|
||||
attachment = false
|
||||
@@ -9,7 +9,7 @@ open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.10
|
||||
output = 0.20
|
||||
output = 0.30
|
||||
cache_read = 0.02
|
||||
|
||||
[limit]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "Greg (Roleplay)"
|
||||
release_date = "2026-01-27"
|
||||
last_updated = "2026-01-27"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = false
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.10
|
||||
output = 0.30
|
||||
cache_read = 0.02
|
||||
|
||||
[limit]
|
||||
context = 229_376
|
||||
output = 229_376
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -6,5 +6,9 @@ input = 0.35
|
||||
output = 1.70
|
||||
cache_read = 0.07
|
||||
|
||||
[limit]
|
||||
context = 262_144
|
||||
output = 262_144
|
||||
|
||||
[provider]
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
@@ -1,26 +0,0 @@
|
||||
name = "Kimi K2.6 (Precision)"
|
||||
family = "kimi-k2.6"
|
||||
release_date = "2026-04-21"
|
||||
last_updated = "2026-04-21"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[interleaved]
|
||||
field = "reasoning_content"
|
||||
|
||||
[cost]
|
||||
input = 0.55
|
||||
output = 2.70
|
||||
cache_read = 0.11
|
||||
|
||||
[limit]
|
||||
context = 262_144
|
||||
output = 262_144
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "video"]
|
||||
output = ["text"]
|
||||
@@ -4,7 +4,7 @@ from = "moonshotai/kimi-k2.6"
|
||||
[cost]
|
||||
input = 0.50
|
||||
output = 1.99
|
||||
cache_read = 0.10
|
||||
cache_read = 0.05
|
||||
|
||||
[provider]
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
@@ -1,25 +0,0 @@
|
||||
name = "MiMo-V2.5-Pro (Precision)"
|
||||
family = "mimo"
|
||||
release_date = "2026-04-22"
|
||||
last_updated = "2026-04-22"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
[interleaved]
|
||||
field = "reasoning_content"
|
||||
|
||||
[cost]
|
||||
input = 0.80
|
||||
output = 2.50
|
||||
cache_read = 0.16
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -2,9 +2,9 @@
|
||||
from = "xiaomi/mimo-v2.5-pro"
|
||||
|
||||
[cost]
|
||||
input = 0.50
|
||||
output = 1.50
|
||||
cache_read = 0.10
|
||||
input = 0.40
|
||||
output = 0.80
|
||||
cache_read = 0.003
|
||||
|
||||
[provider]
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
@@ -8,5 +8,9 @@ input = 0.11
|
||||
output = 0.95
|
||||
cache_read = 0.02
|
||||
|
||||
[limit]
|
||||
context = 204_800
|
||||
output = 131_072
|
||||
|
||||
[provider]
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
@@ -0,0 +1,23 @@
|
||||
name = "Claude Opus 4.8"
|
||||
family = "claude-opus"
|
||||
release_date = "2026-05-28"
|
||||
last_updated = "2026-05-29"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 5.00
|
||||
output = 25.00
|
||||
cache_read = 0.50
|
||||
cache_write = 6.25
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,17 @@
|
||||
name = "Deepseek V4 Flash"
|
||||
family = "deepseek"
|
||||
release_date = "2026-05-27"
|
||||
last_updated = "2026-05-29"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[limit]
|
||||
context = 262_144
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,23 +1,7 @@
|
||||
name = "Claude Haiku 4.5"
|
||||
family = "claude-haiku"
|
||||
release_date = "2025-10-15"
|
||||
last_updated = "2025-10-15"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-02-28"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "anthropic/claude-haiku-4-5"
|
||||
|
||||
[limit]
|
||||
context = 144_000
|
||||
output = 32_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
context = 200_000
|
||||
input = 136_000
|
||||
output = 64_000
|
||||
@@ -1,23 +1,7 @@
|
||||
name = "Claude Opus 4.5"
|
||||
family = "claude-opus"
|
||||
release_date = "2025-11-24"
|
||||
last_updated = "2025-08-01"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-03-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "anthropic/claude-opus-4-5"
|
||||
|
||||
[limit]
|
||||
context = 160_000
|
||||
context = 200_000
|
||||
input = 168_000
|
||||
output = 32_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,23 +1,7 @@
|
||||
name = "Claude Opus 4.6"
|
||||
family = "claude-opus"
|
||||
release_date = "2026-02-05"
|
||||
last_updated = "2026-02-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-05-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "anthropic/claude-opus-4-6"
|
||||
|
||||
[limit]
|
||||
context = 144_000
|
||||
output = 64_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
context = 200_000
|
||||
input = 168_000
|
||||
output = 32_000
|
||||
@@ -1,23 +1,7 @@
|
||||
name = "Claude Opus 4.7"
|
||||
family = "claude-opus"
|
||||
release_date = "2026-04-16"
|
||||
last_updated = "2026-04-16"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = false
|
||||
tool_call = true
|
||||
knowledge = "2026-01-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "anthropic/claude-opus-4-7"
|
||||
|
||||
[limit]
|
||||
context = 144_000
|
||||
output = 64_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
context = 200_000
|
||||
input = 168_000
|
||||
output = 32_000
|
||||
@@ -0,0 +1,7 @@
|
||||
[extends]
|
||||
from = "anthropic/claude-opus-4-8"
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
input = 168_000
|
||||
output = 64_000
|
||||
@@ -1,23 +0,0 @@
|
||||
name = "Claude Opus 4.1"
|
||||
family = "claude-opus"
|
||||
status = "deprecated"
|
||||
release_date = "2025-08-05"
|
||||
last_updated = "2025-08-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = false
|
||||
knowledge = "2025-03-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
|
||||
[limit]
|
||||
context = 80_000
|
||||
output = 16_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,23 +1,7 @@
|
||||
name = "Claude Sonnet 4.5"
|
||||
family = "claude-sonnet"
|
||||
release_date = "2025-09-29"
|
||||
last_updated = "2025-09-29"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2025-03-31"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "anthropic/claude-sonnet-4-5"
|
||||
|
||||
[limit]
|
||||
context = 144_000
|
||||
context = 200_000
|
||||
input = 168_000
|
||||
output = 32_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,23 +1,7 @@
|
||||
name = "Claude Sonnet 4.6"
|
||||
family = "claude-sonnet"
|
||||
release_date = "2026-02-17"
|
||||
last_updated = "2026-02-17"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-08-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "anthropic/claude-sonnet-4-6"
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
input = 168_000
|
||||
output = 32_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,24 +1,7 @@
|
||||
name = "Claude Sonnet 4"
|
||||
family = "claude-sonnet"
|
||||
status = "deprecated"
|
||||
release_date = "2025-05-22"
|
||||
last_updated = "2025-05-22"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2025-03-31"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "anthropic/claude-sonnet-4-0"
|
||||
|
||||
[limit]
|
||||
context = 216_000
|
||||
output = 16_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
output = 16_000
|
||||
@@ -1,23 +1,7 @@
|
||||
name = "Gemini 2.5 Pro"
|
||||
family = "gemini-pro"
|
||||
release_date = "2025-03-20"
|
||||
last_updated = "2025-06-05"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2025-01"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "google/gemini-2.5-pro"
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 64_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "audio", "video"]
|
||||
output = ["text"]
|
||||
output = 64_000
|
||||
@@ -1,24 +1,7 @@
|
||||
name = "Gemini 3 Flash"
|
||||
family = "gemini-flash"
|
||||
release_date = "2025-12-17"
|
||||
last_updated = "2025-12-17"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-01"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "google/gemini-3-flash-preview"
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 64_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "audio", "video"]
|
||||
output = ["text"]
|
||||
output = 64_000
|
||||
@@ -1,25 +0,0 @@
|
||||
name = "Gemini 3 Pro Preview"
|
||||
family = "gemini-pro"
|
||||
status = "deprecated"
|
||||
release_date = "2025-11-18"
|
||||
last_updated = "2025-11-18"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-01"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 64_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "audio", "video"]
|
||||
output = ["text"]
|
||||
@@ -1,24 +1,7 @@
|
||||
name = "Gemini 3.1 Pro Preview"
|
||||
family = "gemini-pro"
|
||||
release_date = "2026-02-19"
|
||||
last_updated = "2026-02-19"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-01"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "google/gemini-3.1-pro-preview"
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
context = 200_000
|
||||
input = 136_000
|
||||
output = 64_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,24 +1,7 @@
|
||||
name = "Gemini 3.5 Flash"
|
||||
family = "gemini-flash"
|
||||
release_date = "2026-05-19"
|
||||
last_updated = "2026-05-19"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-01"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "google/gemini-3.5-flash"
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 64_000
|
||||
context = 200_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "audio", "video"]
|
||||
output = ["text"]
|
||||
output = 64_000
|
||||
@@ -1,23 +1,7 @@
|
||||
name = "GPT-4.1"
|
||||
family = "gpt"
|
||||
release_date = "2025-04-14"
|
||||
last_updated = "2025-04-14"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2024-04"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "openai/gpt-4.1"
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
input = 128_000
|
||||
output = 16_384
|
||||
input = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,23 +0,0 @@
|
||||
name = "GPT-4o"
|
||||
family = "gpt"
|
||||
release_date = "2024-05-13"
|
||||
last_updated = "2024-05-13"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2023-09"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 4_096
|
||||
input = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,23 +1,7 @@
|
||||
name = "GPT-5-mini"
|
||||
family = "gpt-mini"
|
||||
release_date = "2025-08-13"
|
||||
last_updated = "2025-08-13"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2024-06"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "openai/gpt-5-mini"
|
||||
|
||||
[limit]
|
||||
context = 264_000
|
||||
output = 64_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
output = 64_000
|
||||
@@ -1,24 +0,0 @@
|
||||
name = "GPT-5.1-Codex-max"
|
||||
family = "gpt-codex"
|
||||
status = "deprecated"
|
||||
release_date = "2025-12-04"
|
||||
last_updated = "2025-12-04"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = false
|
||||
knowledge = "2024-09-30"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
|
||||
[limit]
|
||||
context = 400_000
|
||||
output = 128_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,24 +0,0 @@
|
||||
name = "GPT-5.1-Codex-mini"
|
||||
family = "gpt-codex"
|
||||
status = "deprecated"
|
||||
release_date = "2025-11-13"
|
||||
last_updated = "2025-11-13"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = false
|
||||
knowledge = "2024-09-30"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
|
||||
[limit]
|
||||
context = 400_000
|
||||
output = 128_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,24 +0,0 @@
|
||||
name = "GPT-5.1-Codex"
|
||||
family = "gpt-codex"
|
||||
status = "deprecated"
|
||||
release_date = "2025-11-13"
|
||||
last_updated = "2025-11-13"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = false
|
||||
knowledge = "2024-09-30"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
|
||||
[limit]
|
||||
context = 400_000
|
||||
output = 128_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,24 +0,0 @@
|
||||
name = "GPT-5.1"
|
||||
family = "gpt"
|
||||
status = "deprecated"
|
||||
release_date = "2025-11-13"
|
||||
last_updated = "2025-11-13"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = false
|
||||
knowledge = "2024-09-30"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
|
||||
[limit]
|
||||
context = 264_000
|
||||
output = 64_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,23 +1,7 @@
|
||||
name = "GPT-5.2-Codex"
|
||||
family = "gpt-codex"
|
||||
release_date = "2025-12-11"
|
||||
last_updated = "2025-12-11"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = false
|
||||
knowledge = "2025-08-31"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "openai/gpt-5.2-codex"
|
||||
|
||||
[limit]
|
||||
context = 400_000
|
||||
input = 272_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,23 +1,7 @@
|
||||
name = "GPT-5.2"
|
||||
family = "gpt"
|
||||
release_date = "2025-12-11"
|
||||
last_updated = "2025-12-11"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = false
|
||||
knowledge = "2025-08-31"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "openai/gpt-5.2"
|
||||
|
||||
[limit]
|
||||
context = 264_000
|
||||
input = 128_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
context = 400_000
|
||||
input = 272_000
|
||||
output = 128_000
|
||||
@@ -1,23 +1,7 @@
|
||||
name = "GPT-5.3-Codex"
|
||||
family = "gpt-codex"
|
||||
release_date = "2026-02-24"
|
||||
last_updated = "2026-02-24"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = false
|
||||
knowledge = "2025-08-31"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "openai/gpt-5.3-codex"
|
||||
|
||||
[limit]
|
||||
context = 400_000
|
||||
input = 272_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,24 +1,7 @@
|
||||
name = "GPT-5.4 Mini"
|
||||
family = "gpt-mini"
|
||||
release_date = "2026-03-17"
|
||||
last_updated = "2026-03-17"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = false
|
||||
knowledge = "2025-08-31"
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "openai/gpt-5.4-mini"
|
||||
|
||||
[limit]
|
||||
context = 400_000
|
||||
input = 272_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,7 @@
|
||||
[extends]
|
||||
from = "openai/gpt-5.4-nano"
|
||||
|
||||
[limit]
|
||||
context = 400_000
|
||||
input = 272_000
|
||||
output = 128_000
|
||||
@@ -1,23 +1,7 @@
|
||||
name = "GPT-5.4"
|
||||
family = "gpt"
|
||||
release_date = "2026-03-05"
|
||||
last_updated = "2026-03-05"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = false
|
||||
knowledge = "2025-08-31"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "openai/gpt-5.4"
|
||||
|
||||
[limit]
|
||||
context = 400_000
|
||||
input = 272_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,23 +1,7 @@
|
||||
name = "GPT-5.5"
|
||||
family = "gpt"
|
||||
release_date = "2026-04-22"
|
||||
last_updated = "2026-04-22"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = false
|
||||
knowledge = "2025-08-31"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
[extends]
|
||||
from = "openai/gpt-5.5"
|
||||
|
||||
[limit]
|
||||
context = 400_000
|
||||
input = 272_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,23 +0,0 @@
|
||||
name = "Grok Code Fast 1"
|
||||
family = "grok"
|
||||
release_date = "2025-08-27"
|
||||
last_updated = "2025-08-27"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2025-08"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 64_000
|
||||
input = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
+10
-8
@@ -1,21 +1,23 @@
|
||||
name = "GPT-5"
|
||||
family = "gpt"
|
||||
status = "deprecated"
|
||||
name = "Raptor mini"
|
||||
family = "gpt-mini"
|
||||
release_date = "2025-08-07"
|
||||
last_updated = "2025-08-07"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2024-10"
|
||||
temperature = false
|
||||
knowledge = "2024-05-30"
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
input = 0.25
|
||||
output = 2.00
|
||||
cache_read = 0.025
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
context = 400_000
|
||||
input = 272_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
@@ -0,0 +1,24 @@
|
||||
name = "Agentic Chat (Claude Opus 4.8)"
|
||||
family = "claude-opus"
|
||||
release_date = "2026-05-28"
|
||||
last_updated = "2026-05-28"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = false
|
||||
tool_call = true
|
||||
knowledge = "2026-01-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0
|
||||
output = 0
|
||||
cache_read = 0
|
||||
cache_write = 0
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -1,7 +1,7 @@
|
||||
name = "MiniMax M2.5"
|
||||
family = "minimax-m2.5"
|
||||
release_date = "2026-02-12"
|
||||
last_updated = "2026-03-25"
|
||||
last_updated = "2026-06-01"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
@@ -10,9 +10,9 @@ structured_output = false
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.14
|
||||
output = 0.56
|
||||
cache_read = 0.014
|
||||
input = 0.30
|
||||
output = 1.20
|
||||
cache_read = 0.03
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name = "Kimi K2.5"
|
||||
family = "kimi"
|
||||
release_date = "2026-01-01"
|
||||
last_updated = "2026-03-25"
|
||||
last_updated = "2026-06-01"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
structured_output = true
|
||||
@@ -14,9 +14,9 @@ open_weights = true
|
||||
field = "reasoning_content"
|
||||
|
||||
[cost]
|
||||
input = 0.21
|
||||
output = 1.00
|
||||
cache_read = 0.03
|
||||
input = 0.30
|
||||
output = 1.50
|
||||
cache_read = 0.05
|
||||
|
||||
[limit]
|
||||
context = 262_144
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name = "GLM 5.1"
|
||||
family = "glm"
|
||||
release_date = "2026-04-08"
|
||||
last_updated = "2026-04-08"
|
||||
last_updated = "2026-06-01"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
@@ -13,9 +13,9 @@ open_weights = true
|
||||
field = "reasoning_content"
|
||||
|
||||
[cost]
|
||||
input = 0.66
|
||||
output = 2.00
|
||||
cache_read = 0.12
|
||||
input = 0.615
|
||||
output = 2.46
|
||||
cache_read = 0.133
|
||||
|
||||
[limit]
|
||||
context = 202_000
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[extends]
|
||||
from = "anthropic/claude-opus-4-8"
|
||||
omit = ["experimental.modes.fast"]
|
||||
@@ -11,8 +11,8 @@ open_weights = true
|
||||
status = "beta"
|
||||
|
||||
[cost]
|
||||
input = 0.80
|
||||
output = 2.40
|
||||
input = 0.55
|
||||
output = 2.19
|
||||
|
||||
[limit]
|
||||
context = 64_000
|
||||
@@ -20,4 +20,4 @@ output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
output = ["text"]
|
||||
@@ -12,7 +12,7 @@ open_weights = true
|
||||
[cost]
|
||||
input = 0.56
|
||||
output = 1.68
|
||||
cache_read = 0.11
|
||||
cache_read = 0.07
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
@@ -20,4 +20,4 @@ output = 32_768
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
output = ["text"]
|
||||
@@ -12,7 +12,7 @@ open_weights = true
|
||||
[cost]
|
||||
input = 0.28
|
||||
output = 0.42
|
||||
cache_read = 0.03
|
||||
cache_read = 0.056
|
||||
|
||||
[limit]
|
||||
context = 163_840
|
||||
@@ -20,4 +20,4 @@ output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
output = ["text"]
|
||||
@@ -12,7 +12,7 @@ open_weights = false
|
||||
[cost]
|
||||
input = 0.04
|
||||
output = 0.40
|
||||
cache_read = 0.00
|
||||
cache_read = 0.004
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
@@ -20,4 +20,4 @@ output = 16_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
output = ["text"]
|
||||
@@ -10,8 +10,8 @@ structured_output = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.15
|
||||
output = 0.75
|
||||
input = 0.05
|
||||
output = 0.25
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
@@ -19,4 +19,4 @@ output = 32_766
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
output = ["text"]
|
||||
@@ -10,8 +10,8 @@ structured_output = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.10
|
||||
output = 0.50
|
||||
input = 0.04
|
||||
output = 0.15
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
@@ -19,4 +19,4 @@ output = 32_766
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
output = ["text"]
|
||||
@@ -10,9 +10,9 @@ structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 1.00
|
||||
output = 3.00
|
||||
cache_read = 0.50
|
||||
input = 0.60
|
||||
output = 2.50
|
||||
cache_read = 0.12
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
|
||||
Loaded 100 of 291 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user