Compare commits
34
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
589619e2aa | ||
|
|
041b6a3aef | ||
|
|
1a41934e55 | ||
|
|
aeb4caec9f | ||
|
|
ccb8dcc65f | ||
|
|
435ec1df7b | ||
|
|
7c9d609143 | ||
|
|
add7947164 | ||
|
|
dd0c1af12a | ||
|
|
0c93cc03be | ||
|
|
62e25b73f8 | ||
|
|
17093e0031 | ||
|
|
ae542978f0 | ||
|
|
7f16117bba | ||
|
|
2b96a2d3d6 | ||
|
|
9799a841c6 | ||
|
|
71c59b4235 | ||
|
|
0568b412aa | ||
|
|
812612465a | ||
|
|
ac8a79dd74 | ||
|
|
9460d981d4 | ||
|
|
91db9d81ec | ||
|
|
d8d5f08df6 | ||
|
|
11d5443ab1 | ||
|
|
90558e9eed | ||
|
|
cb7d258e33 | ||
|
|
2af43dc4f8 | ||
|
|
93ddb6b131 | ||
|
|
04bf671f18 | ||
|
|
1f3ba4ba21 | ||
|
|
bb1c08dd41 | ||
|
|
86d0f14397 | ||
|
|
73b81ac027 | ||
|
|
ac7e35af4e |
No files matched your search
@@ -120,6 +120,31 @@ output = ["text"] # Supported output modalities
|
||||
field = "reasoning_content" # Name of the interleaved field "reasoning_content" or "reasoning_details"
|
||||
```
|
||||
|
||||
#### 3a. Reuse an Existing Model with `extends`
|
||||
|
||||
For wrapper providers that mirror a model from another provider, prefer reusing the canonical model definition instead of duplicating the whole file.
|
||||
|
||||
Use `extends` only for non-first-party wrappers and mirrors. Do not use it inside the actual lab provider directories that act as the canonical source for a model family, for example `providers/anthropic/`, `providers/openai/`, `providers/google/`, `providers/xai/`, `providers/minimax/`, or `providers/moonshot/`.
|
||||
|
||||
```toml
|
||||
[extends]
|
||||
from = "anthropic/claude-opus-4-6"
|
||||
omit = ["experimental.modes.fast"]
|
||||
|
||||
[provider]
|
||||
npm = "@ai-sdk/anthropic"
|
||||
```
|
||||
|
||||
Rules:
|
||||
|
||||
- `from` must point to another model using `<provider>/<model-id>`.
|
||||
- `omit` is optional and removes fields after the inherited model and local overrides are merged.
|
||||
- You can override any top-level model field locally.
|
||||
- If you override a nested table like `[cost]`, `[limit]`, or `[modalities]`, include the full values needed for that table.
|
||||
- `id` still comes from the filename; do not add it to the TOML.
|
||||
|
||||
Use `extends` when the wrapper model is materially the same as the source model and only differs by a small set of overrides or omitted fields.
|
||||
|
||||
#### 4. Submit a Pull Request
|
||||
|
||||
1. Fork this repo
|
||||
@@ -136,9 +161,17 @@ There's a GitHub Action that will automatically validate your submission against
|
||||
- Values are within acceptable ranges
|
||||
- TOML syntax is valid
|
||||
|
||||
When converting existing wrapper models to `extends`, compare generated output before and after the change:
|
||||
|
||||
```bash
|
||||
bun run compare:migrations
|
||||
```
|
||||
|
||||
This prints a diff for each changed model TOML so you can confirm the generated JSON only changed where you intended.
|
||||
|
||||
### Schema Reference
|
||||
|
||||
Models must conform to the following schema, as defined in `app/schemas.ts`.
|
||||
Models must conform to the following schema, as defined in `packages/core/src/schema.ts`.
|
||||
|
||||
**Provider Schema:**
|
||||
|
||||
|
||||
@@ -115,6 +115,9 @@ export const ModelFamilyValues = [
|
||||
// Hunyuan
|
||||
"hunyuan",
|
||||
|
||||
// HY
|
||||
"HY",
|
||||
|
||||
// Yi
|
||||
"yi",
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env bun
|
||||
|
||||
import { Rendered, Providers } from "../src/render";
|
||||
import { normalizeLogoSvg } from "../src/logo.js";
|
||||
import fs from "fs/promises";
|
||||
import path from "path";
|
||||
import { $ } from "bun";
|
||||
@@ -23,7 +24,10 @@ await fs.mkdir("./dist/logos", { recursive: true });
|
||||
const defaultLogoPath = "../../providers/logo.svg";
|
||||
const defaultLogo = Bun.file(defaultLogoPath);
|
||||
if (await defaultLogo.exists()) {
|
||||
await Bun.write("./dist/logos/default.svg", defaultLogo);
|
||||
await Bun.write(
|
||||
"./dist/logos/default.svg",
|
||||
normalizeLogoSvg(await defaultLogo.text())
|
||||
);
|
||||
}
|
||||
|
||||
// Then copy provider-specific logos
|
||||
@@ -36,7 +40,10 @@ for (const entry of entries) {
|
||||
const logoFile = Bun.file(logoPath);
|
||||
|
||||
if (await logoFile.exists()) {
|
||||
await Bun.write(`./dist/logos/${provider}.svg`, logoFile);
|
||||
await Bun.write(
|
||||
`./dist/logos/${provider}.svg`,
|
||||
normalizeLogoSvg(await logoFile.text())
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -319,15 +319,12 @@ tbody {
|
||||
gap: 0.375rem;
|
||||
}
|
||||
|
||||
.provider-cell span:first-child {
|
||||
.provider-logo {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.provider-cell svg {
|
||||
display: block;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
color: var(--color-text-secondary);
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.model-id-cell {
|
||||
@@ -416,6 +413,17 @@ tbody {
|
||||
.modality-icon:hover::after {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
tr.loading-row td,
|
||||
tr.error-row td {
|
||||
padding: 1rem 0.75rem;
|
||||
text-align: center;
|
||||
font-family: inherit;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 400;
|
||||
text-transform: none;
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
}
|
||||
|
||||
dialog::backdrop {
|
||||
@@ -546,4 +554,4 @@ dialog {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
+367
-65
@@ -1,7 +1,248 @@
|
||||
interface ApiCost {
|
||||
input?: number;
|
||||
output?: number;
|
||||
reasoning?: number;
|
||||
cache_read?: number;
|
||||
cache_write?: number;
|
||||
input_audio?: number;
|
||||
output_audio?: number;
|
||||
}
|
||||
|
||||
interface ApiLimit {
|
||||
context: number;
|
||||
input?: number;
|
||||
output: number;
|
||||
}
|
||||
|
||||
interface ApiModel {
|
||||
name: string;
|
||||
family?: string;
|
||||
status?: string;
|
||||
tool_call: boolean;
|
||||
reasoning: boolean;
|
||||
modalities: {
|
||||
input: string[];
|
||||
output: string[];
|
||||
};
|
||||
cost?: ApiCost;
|
||||
limit: ApiLimit;
|
||||
structured_output?: boolean;
|
||||
temperature: boolean;
|
||||
open_weights: boolean;
|
||||
knowledge?: string;
|
||||
release_date: string;
|
||||
last_updated: string;
|
||||
}
|
||||
|
||||
interface ApiProvider {
|
||||
name: string;
|
||||
models: Record<string, ApiModel>;
|
||||
}
|
||||
|
||||
type ApiResponse = Record<string, ApiProvider>;
|
||||
|
||||
const COLUMN_COUNT = 25;
|
||||
const modal = document.getElementById("modal") as HTMLDialogElement;
|
||||
const modalClose = document.getElementById("close")!;
|
||||
const help = document.getElementById("help")!;
|
||||
const search = document.getElementById("search")! as HTMLInputElement;
|
||||
const tableBody = document.getElementById("table-body")! as HTMLTableSectionElement;
|
||||
|
||||
const copyIcon = `
|
||||
<svg
|
||||
class="copy-icon"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="14"
|
||||
height="14"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<rect width="14" height="14" x="8" y="8" rx="2" ry="2"></rect>
|
||||
<path d="m4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"></path>
|
||||
</svg>
|
||||
`;
|
||||
|
||||
const checkIcon = `
|
||||
<svg
|
||||
class="check-icon"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="14"
|
||||
height="14"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
style="display: none;"
|
||||
>
|
||||
<polyline points="20,6 9,17 4,12"></polyline>
|
||||
</svg>
|
||||
`;
|
||||
|
||||
const modalityIcons: Record<string, { label: string; svg: string }> = {
|
||||
text: {
|
||||
label: "Text",
|
||||
svg: `
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<polyline points="4,7 4,4 20,4 20,7"></polyline>
|
||||
<line x1="9" y1="20" x2="15" y2="20"></line>
|
||||
<line x1="12" y1="4" x2="12" y2="20"></line>
|
||||
</svg>
|
||||
`,
|
||||
},
|
||||
image: {
|
||||
label: "Image",
|
||||
svg: `
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<rect width="18" height="18" x="3" y="3" rx="2" ry="2"></rect>
|
||||
<circle cx="9" cy="9" r="2"></circle>
|
||||
<path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"></path>
|
||||
</svg>
|
||||
`,
|
||||
},
|
||||
audio: {
|
||||
label: "Audio",
|
||||
svg: `
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon>
|
||||
<path d="m19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"></path>
|
||||
</svg>
|
||||
`,
|
||||
},
|
||||
video: {
|
||||
label: "Video",
|
||||
svg: `
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="m22 8-6 4 6 4V8Z"></path>
|
||||
<rect width="14" height="12" x="2" y="6" rx="2" ry="2"></rect>
|
||||
</svg>
|
||||
`,
|
||||
},
|
||||
pdf: {
|
||||
label: "PDF",
|
||||
svg: `
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path>
|
||||
<polyline points="14,2 14,8 20,8"></polyline>
|
||||
<line x1="16" y1="13" x2="8" y2="13"></line>
|
||||
<line x1="16" y1="17" x2="8" y2="17"></line>
|
||||
<polyline points="10,9 9,9 8,9"></polyline>
|
||||
</svg>
|
||||
`,
|
||||
},
|
||||
};
|
||||
|
||||
function escapeHtml(value: string) {
|
||||
return value
|
||||
.replaceAll("&", "&")
|
||||
.replaceAll("<", "<")
|
||||
.replaceAll(">", ">")
|
||||
.replaceAll('"', """)
|
||||
.replaceAll("'", "'");
|
||||
}
|
||||
|
||||
function renderCost(cost?: number) {
|
||||
return cost === undefined ? "-" : `$${cost.toFixed(2)}`;
|
||||
}
|
||||
|
||||
function renderModalityIcon(modality: string) {
|
||||
const icon = modalityIcons[modality];
|
||||
if (!icon) return "";
|
||||
|
||||
return `<span class="modality-icon" data-tooltip="${icon.label}">${icon.svg}</span>`;
|
||||
}
|
||||
|
||||
function renderModalities(modalities: string[]) {
|
||||
return `<div class="modalities">${modalities.map(renderModalityIcon).join("")}</div>`;
|
||||
}
|
||||
|
||||
function renderProviderLogo(providerId: string) {
|
||||
return `<img class="provider-logo" src="/logos/${encodeURIComponent(providerId)}.svg" alt="" width="16" height="16" loading="lazy" decoding="async" />`;
|
||||
}
|
||||
|
||||
function renderRow(
|
||||
providerId: string,
|
||||
providerName: string,
|
||||
modelId: string,
|
||||
model: ApiModel
|
||||
) {
|
||||
const safeProviderId = escapeHtml(providerId);
|
||||
const safeProviderName = escapeHtml(providerName);
|
||||
const safeModelId = escapeHtml(modelId);
|
||||
const safeModelName = escapeHtml(model.name);
|
||||
const safeFamily = escapeHtml(model.family ?? "-");
|
||||
const safeKnowledge = escapeHtml(model.knowledge?.substring(0, 7) ?? "-");
|
||||
const safeReleaseDate = escapeHtml(model.release_date);
|
||||
const safeLastUpdated = escapeHtml(model.last_updated);
|
||||
|
||||
return `
|
||||
<tr data-model-row="true">
|
||||
<td>
|
||||
<div class="provider-cell">
|
||||
${renderProviderLogo(providerId)}
|
||||
<span>${safeProviderName}</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>${safeModelName}</td>
|
||||
<td>${safeFamily}</td>
|
||||
<td>${safeProviderId}</td>
|
||||
<td>
|
||||
<div class="model-id-cell">
|
||||
<span class="model-id-text">${safeModelId}</span>
|
||||
<button class="copy-button" type="button" data-model-id="${safeModelId}" aria-label="Copy model ID">
|
||||
${copyIcon}
|
||||
${checkIcon}
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
<td>${model.tool_call ? "Yes" : "No"}</td>
|
||||
<td>${model.reasoning ? "Yes" : "No"}</td>
|
||||
<td>${renderModalities(model.modalities.input)}</td>
|
||||
<td>${renderModalities(model.modalities.output)}</td>
|
||||
<td>${renderCost(model.cost?.input)}</td>
|
||||
<td>${renderCost(model.cost?.output)}</td>
|
||||
<td>${renderCost(model.cost?.reasoning)}</td>
|
||||
<td>${renderCost(model.cost?.cache_read)}</td>
|
||||
<td>${renderCost(model.cost?.cache_write)}</td>
|
||||
<td>${renderCost(model.cost?.input_audio)}</td>
|
||||
<td>${renderCost(model.cost?.output_audio)}</td>
|
||||
<td>${model.limit.context.toLocaleString()}</td>
|
||||
<td>${model.limit.input?.toLocaleString() ?? "-"}</td>
|
||||
<td>${model.limit.output.toLocaleString()}</td>
|
||||
<td>${model.structured_output === undefined ? "-" : model.structured_output ? "Yes" : "No"}</td>
|
||||
<td>${model.temperature ? "Yes" : "No"}</td>
|
||||
<td>${model.open_weights ? "Open" : "Closed"}</td>
|
||||
<td>${safeKnowledge}</td>
|
||||
<td>${safeReleaseDate}</td>
|
||||
<td>${safeLastUpdated}</td>
|
||||
</tr>
|
||||
`;
|
||||
}
|
||||
|
||||
function renderTableRows(providers: ApiResponse) {
|
||||
return Object.entries(providers)
|
||||
.sort(([, providerA], [, providerB]) =>
|
||||
providerA.name.localeCompare(providerB.name)
|
||||
)
|
||||
.flatMap(([providerId, provider]) =>
|
||||
Object.entries(provider.models)
|
||||
.filter(([, model]) => model.status !== "alpha")
|
||||
.sort(([, modelA], [, modelB]) => modelA.name.localeCompare(modelB.name))
|
||||
.map(([modelId, model]) =>
|
||||
renderRow(providerId, provider.name, modelId, model)
|
||||
)
|
||||
)
|
||||
.join("");
|
||||
}
|
||||
|
||||
function setStatusRow(message: string, className = "loading-row") {
|
||||
tableBody.innerHTML = `<tr class="${className}"><td colspan="${COLUMN_COUNT}">${escapeHtml(message)}</td></tr>`;
|
||||
}
|
||||
|
||||
/////////////////////////
|
||||
// URL State Management
|
||||
@@ -10,7 +251,10 @@ function getQueryParams() {
|
||||
return new URLSearchParams(window.location.search);
|
||||
}
|
||||
|
||||
function updateQueryParams(updates: Record<string, string | null>) {
|
||||
function updateQueryParams(
|
||||
updates: Record<string, string | null>,
|
||||
historyMode: "push" | "replace" = "push"
|
||||
) {
|
||||
const params = getQueryParams();
|
||||
for (const [key, value] of Object.entries(updates)) {
|
||||
if (value) {
|
||||
@@ -19,9 +263,18 @@ function updateQueryParams(updates: Record<string, string | null>) {
|
||||
params.delete(key);
|
||||
}
|
||||
}
|
||||
|
||||
const newPath = params.toString()
|
||||
? `${window.location.pathname}?${params.toString()}`
|
||||
: window.location.pathname;
|
||||
|
||||
if (newPath === `${window.location.pathname}${window.location.search}`) return;
|
||||
|
||||
if (historyMode === "replace") {
|
||||
window.history.replaceState({}, "", newPath);
|
||||
return;
|
||||
}
|
||||
|
||||
window.history.pushState({}, "", newPath);
|
||||
}
|
||||
|
||||
@@ -65,66 +318,71 @@ modal.addEventListener("click", (e) => {
|
||||
////////////////////
|
||||
// Handle Sorting
|
||||
////////////////////
|
||||
let currentSort = { column: -1, direction: "asc" };
|
||||
let currentSort = { column: -1, direction: "asc" as "asc" | "desc" };
|
||||
|
||||
function sortTable(column: number, direction: "asc" | "desc") {
|
||||
function updateSortIndicators(column: number, direction: "asc" | "desc") {
|
||||
const headers = document.querySelectorAll("th.sortable");
|
||||
headers.forEach((header, i) => {
|
||||
const indicator = header.querySelector(".sort-indicator")!;
|
||||
indicator.textContent = i === column ? (direction === "asc" ? "↑" : "↓") : "";
|
||||
});
|
||||
}
|
||||
|
||||
function clearSortIndicators() {
|
||||
updateSortIndicators(-1, "asc");
|
||||
}
|
||||
|
||||
function sortTable(
|
||||
column: number,
|
||||
direction: "asc" | "desc",
|
||||
syncUrl = true
|
||||
) {
|
||||
const header = document.querySelectorAll("th.sortable")[column];
|
||||
const columnType = header.getAttribute("data-type");
|
||||
const columnType = header?.getAttribute("data-type");
|
||||
if (!columnType) return;
|
||||
|
||||
// update state
|
||||
currentSort = { column, direction };
|
||||
updateQueryParams({
|
||||
sort: getColumnNameForURL(header),
|
||||
order: direction,
|
||||
});
|
||||
if (syncUrl) {
|
||||
updateQueryParams(
|
||||
{
|
||||
sort: getColumnNameForURL(header),
|
||||
order: direction,
|
||||
},
|
||||
"push"
|
||||
);
|
||||
}
|
||||
|
||||
// sort rows
|
||||
const tbody = document.querySelector("table tbody")!;
|
||||
const rows = Array.from(
|
||||
tbody.querySelectorAll("tr")
|
||||
tableBody.querySelectorAll('tr[data-model-row="true"]')
|
||||
) as HTMLTableRowElement[];
|
||||
|
||||
rows.sort((a, b) => {
|
||||
const aValue = getCellValue(a.cells[column], columnType);
|
||||
const bValue = getCellValue(b.cells[column], columnType);
|
||||
|
||||
// Handle undefined values - always sort to bottom
|
||||
if (aValue === undefined && bValue === undefined) return 0;
|
||||
if (aValue === undefined) return 1;
|
||||
if (bValue === undefined) return -1;
|
||||
|
||||
let comparison = 0;
|
||||
if (columnType === "number" || columnType === "modalities") {
|
||||
comparison = (aValue as number) - (bValue as number);
|
||||
} else if (columnType === "boolean") {
|
||||
comparison = (aValue as string).localeCompare(bValue as string);
|
||||
} else {
|
||||
comparison = (aValue as string).localeCompare(bValue as string);
|
||||
}
|
||||
const comparison =
|
||||
columnType === "number" || columnType === "modalities"
|
||||
? (aValue as number) - (bValue as number)
|
||||
: (aValue as string).localeCompare(bValue as string);
|
||||
|
||||
return direction === "asc" ? comparison : -comparison;
|
||||
});
|
||||
rows.forEach((row) => tbody.appendChild(row));
|
||||
|
||||
// update sort indicators
|
||||
const headers = document.querySelectorAll("th.sortable");
|
||||
headers.forEach((header, i) => {
|
||||
const indicator = header.querySelector(".sort-indicator")!;
|
||||
|
||||
if (i === column) {
|
||||
indicator.textContent = direction === "asc" ? "↑" : "↓";
|
||||
} else {
|
||||
indicator.textContent = "";
|
||||
}
|
||||
});
|
||||
rows.forEach((row) => tableBody.appendChild(row));
|
||||
updateSortIndicators(column, direction);
|
||||
}
|
||||
|
||||
function getCellValue(
|
||||
cell: HTMLTableCellElement,
|
||||
type: string
|
||||
): string | number | undefined {
|
||||
if (type === "modalities")
|
||||
if (type === "modalities") {
|
||||
return cell.querySelectorAll(".modality-icon").length;
|
||||
}
|
||||
|
||||
const text = cell.textContent?.trim() || "";
|
||||
if (text === "-") return;
|
||||
@@ -146,22 +404,31 @@ document.querySelectorAll("th.sortable").forEach((header) => {
|
||||
///////////////////
|
||||
// Handle Search
|
||||
///////////////////
|
||||
function filterTable(value: string) {
|
||||
const lowerCaseValues = value.toLowerCase().split(",").filter(str => str.trim() !== "");
|
||||
const rows = document.querySelectorAll(
|
||||
"table tbody tr"
|
||||
function filterTable(value: string, syncUrl = true) {
|
||||
const lowerCaseValues = value
|
||||
.toLowerCase()
|
||||
.split(",")
|
||||
.map((part) => part.trim())
|
||||
.filter(Boolean);
|
||||
const rows = tableBody.querySelectorAll(
|
||||
'tr[data-model-row="true"]'
|
||||
) as NodeListOf<HTMLTableRowElement>;
|
||||
|
||||
rows.forEach((row) => {
|
||||
const cellTexts = Array.from(row.cells).map((cell) =>
|
||||
cell.textContent!.toLowerCase()
|
||||
);
|
||||
const isVisible = lowerCaseValues.length === 0 ||
|
||||
lowerCaseValues.some((lowerCaseValue) => cellTexts.some((text) => text.includes(lowerCaseValue)));
|
||||
const isVisible =
|
||||
lowerCaseValues.length === 0 ||
|
||||
lowerCaseValues.some((lowerCaseValue) =>
|
||||
cellTexts.some((text) => text.includes(lowerCaseValue))
|
||||
);
|
||||
row.style.display = isVisible ? "" : "none";
|
||||
});
|
||||
|
||||
updateQueryParams({ search: value || null });
|
||||
if (syncUrl) {
|
||||
updateQueryParams({ search: value || null }, "replace");
|
||||
}
|
||||
}
|
||||
|
||||
search.addEventListener("input", () => {
|
||||
@@ -185,22 +452,22 @@ search.addEventListener("keydown", (e) => {
|
||||
///////////////////////////////////
|
||||
// Handle Copy model ID function
|
||||
///////////////////////////////////
|
||||
(window as any).copyModelId = async (
|
||||
button: HTMLButtonElement,
|
||||
modelId: string
|
||||
) => {
|
||||
tableBody.addEventListener("click", async (event) => {
|
||||
const target = event.target as HTMLElement;
|
||||
const button = target.closest(".copy-button") as HTMLButtonElement | null;
|
||||
const modelId = button?.dataset.modelId;
|
||||
if (!button || !modelId) return;
|
||||
|
||||
try {
|
||||
if (navigator.clipboard) {
|
||||
await navigator.clipboard.writeText(modelId);
|
||||
|
||||
// Switch to check icon
|
||||
const copyIcon = button.querySelector(".copy-icon") as HTMLElement;
|
||||
const checkIcon = button.querySelector(".check-icon") as HTMLElement;
|
||||
|
||||
copyIcon.style.display = "none";
|
||||
checkIcon.style.display = "block";
|
||||
|
||||
// Switch back after 1 second
|
||||
setTimeout(() => {
|
||||
copyIcon.style.display = "block";
|
||||
checkIcon.style.display = "none";
|
||||
@@ -209,32 +476,67 @@ search.addEventListener("keydown", (e) => {
|
||||
} catch (err) {
|
||||
console.error("Failed to copy text: ", err);
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
///////////////////////////////////
|
||||
// Initialize State from URL
|
||||
///////////////////////////////////
|
||||
let tableLoaded = false;
|
||||
|
||||
function initializeFromURL() {
|
||||
if (!tableLoaded) return;
|
||||
|
||||
const params = getQueryParams();
|
||||
const searchQuery = params.get("search") ?? "";
|
||||
search.value = searchQuery;
|
||||
filterTable(searchQuery, false);
|
||||
|
||||
(() => {
|
||||
const searchQuery = params.get("search");
|
||||
if (!searchQuery) return;
|
||||
search.value = searchQuery;
|
||||
filterTable(searchQuery);
|
||||
})();
|
||||
const columnName = params.get("sort");
|
||||
if (!columnName) {
|
||||
currentSort = { column: -1, direction: "asc" };
|
||||
clearSortIndicators();
|
||||
return;
|
||||
}
|
||||
|
||||
(() => {
|
||||
const columnName = params.get("sort");
|
||||
if (!columnName) return;
|
||||
const columnIndex = getColumnIndexByUrlName(columnName);
|
||||
if (columnIndex === -1) return;
|
||||
|
||||
const columnIndex = getColumnIndexByUrlName(columnName);
|
||||
if (columnIndex === -1) return;
|
||||
|
||||
const direction = (params.get("order") as "asc" | "desc") || "asc";
|
||||
sortTable(columnIndex, direction);
|
||||
})();
|
||||
const direction = (params.get("order") as "asc" | "desc") || "asc";
|
||||
sortTable(columnIndex, direction, false);
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", initializeFromURL);
|
||||
window.addEventListener("popstate", initializeFromURL);
|
||||
async function loadTable() {
|
||||
try {
|
||||
const response = await fetch("/api.json");
|
||||
if (!response.ok) {
|
||||
throw new Error(`Failed to fetch models: ${response.status}`);
|
||||
}
|
||||
|
||||
const providers = (await response.json()) as ApiResponse;
|
||||
const rows = renderTableRows(providers);
|
||||
tableBody.innerHTML = rows || "";
|
||||
|
||||
if (!rows) {
|
||||
setStatusRow("No models found.");
|
||||
return;
|
||||
}
|
||||
|
||||
tableLoaded = true;
|
||||
initializeFromURL();
|
||||
window.addEventListener("popstate", initializeFromURL);
|
||||
} catch (error) {
|
||||
console.error("Failed to load model data:", error);
|
||||
setStatusRow("Failed to load models.", "loading-row error-row");
|
||||
}
|
||||
}
|
||||
|
||||
function initializeApp() {
|
||||
search.value = getQueryParams().get("search") ?? "";
|
||||
void loadTable();
|
||||
}
|
||||
|
||||
if (document.readyState === "loading") {
|
||||
document.addEventListener("DOMContentLoaded", initializeApp);
|
||||
} else {
|
||||
initializeApp();
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
const LOGO_THEME_MARKER = "models-dev-logo-theme";
|
||||
const LOGO_THEME_STYLE = `<style id="${LOGO_THEME_MARKER}">:root{color:#666}@media (prefers-color-scheme: dark){:root{color:#AAA}}</style>`;
|
||||
|
||||
export function normalizeLogoSvg(svgText: string) {
|
||||
if (svgText.includes(LOGO_THEME_MARKER)) {
|
||||
return svgText;
|
||||
}
|
||||
|
||||
return svgText.replace(/<svg\b[^>]*>/i, (svgTag) => {
|
||||
const themedTag = svgTag.includes("fill=")
|
||||
? svgTag
|
||||
: svgTag.replace("<svg", '<svg fill="currentColor"');
|
||||
|
||||
return `${themedTag}${LOGO_THEME_STYLE}`;
|
||||
});
|
||||
}
|
||||
+5
-282
@@ -1,184 +1,15 @@
|
||||
/** @jsx jsx */
|
||||
/** @jsxImportSource hono/jsx */
|
||||
|
||||
import { generate } from "models.dev";
|
||||
import { Fragment } from "hono/jsx";
|
||||
import { renderToString } from "hono/jsx/dom/server";
|
||||
import { existsSync } from "fs";
|
||||
import { generate } from "models.dev";
|
||||
import path from "path";
|
||||
|
||||
export const Providers = await generate(
|
||||
path.join(import.meta.dir, "..", "..", "..", "providers")
|
||||
);
|
||||
|
||||
// Function to load SVG content
|
||||
const loadProviderSvg = async (providerId: string): Promise<string | null> => {
|
||||
const providerLogoPath = path.join(
|
||||
import.meta.dir,
|
||||
"..",
|
||||
"..",
|
||||
"..",
|
||||
"providers",
|
||||
providerId,
|
||||
"logo.svg"
|
||||
);
|
||||
|
||||
const defaultLogoPath = path.join(
|
||||
import.meta.dir,
|
||||
"..",
|
||||
"..",
|
||||
"..",
|
||||
"providers",
|
||||
"logo.svg"
|
||||
);
|
||||
|
||||
try {
|
||||
// Try provider-specific logo first
|
||||
if (existsSync(providerLogoPath)) {
|
||||
const file = Bun.file(providerLogoPath);
|
||||
return await file.text();
|
||||
}
|
||||
//
|
||||
// Fall back to default logo
|
||||
if (existsSync(defaultLogoPath)) {
|
||||
const file = Bun.file(defaultLogoPath);
|
||||
return await file.text();
|
||||
}
|
||||
return null;
|
||||
} catch (error) {
|
||||
console.warn(`Failed to load logo for provider ${providerId}:`, error);
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
// Create a cache of loaded SVGs at build time
|
||||
const providerLogos = new Map<string, string>();
|
||||
|
||||
// Pre-load all provider logos
|
||||
for (const [providerId] of Object.entries(Providers)) {
|
||||
const svgContent = await loadProviderSvg(providerId);
|
||||
if (svgContent) {
|
||||
providerLogos.set(providerId, svgContent);
|
||||
}
|
||||
}
|
||||
|
||||
function renderProviderLogo(providerId: string) {
|
||||
const svgContent = providerLogos.get(providerId) || "";
|
||||
|
||||
return <span dangerouslySetInnerHTML={{ __html: svgContent }} />;
|
||||
}
|
||||
|
||||
const getModalityIcon = (modality: string) => {
|
||||
switch (modality) {
|
||||
case "text":
|
||||
return (
|
||||
<span class="modality-icon" data-tooltip="Text">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="16"
|
||||
height="16"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<polyline points="4,7 4,4 20,4 20,7"></polyline>
|
||||
<line x1="9" y1="20" x2="15" y2="20"></line>
|
||||
<line x1="12" y1="4" x2="12" y2="20"></line>
|
||||
</svg>
|
||||
</span>
|
||||
);
|
||||
case "image":
|
||||
return (
|
||||
<span class="modality-icon" data-tooltip="Image">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="16"
|
||||
height="16"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<rect width="18" height="18" x="3" y="3" rx="2" ry="2"></rect>
|
||||
<circle cx="9" cy="9" r="2"></circle>
|
||||
<path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"></path>
|
||||
</svg>
|
||||
</span>
|
||||
);
|
||||
case "audio":
|
||||
return (
|
||||
<span class="modality-icon" data-tooltip="Audio">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="16"
|
||||
height="16"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon>
|
||||
<path d="m19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"></path>
|
||||
</svg>
|
||||
</span>
|
||||
);
|
||||
case "video":
|
||||
return (
|
||||
<span class="modality-icon" data-tooltip="Video">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="16"
|
||||
height="16"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="m22 8-6 4 6 4V8Z"></path>
|
||||
<rect width="14" height="12" x="2" y="6" rx="2" ry="2"></rect>
|
||||
</svg>
|
||||
</span>
|
||||
);
|
||||
case "pdf":
|
||||
return (
|
||||
<span class="modality-icon" data-tooltip="PDF">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="16"
|
||||
height="16"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path>
|
||||
<polyline points="14,2 14,8 20,8"></polyline>
|
||||
<line x1="16" y1="13" x2="8" y2="13"></line>
|
||||
<line x1="16" y1="17" x2="8" y2="17"></line>
|
||||
<polyline points="10,9 9,9 8,9"></polyline>
|
||||
</svg>
|
||||
</span>
|
||||
);
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
const renderCost = (cost?: number) => {
|
||||
return cost === undefined ? "-" : `$${cost.toFixed(2)}`;
|
||||
};
|
||||
|
||||
export const Rendered = renderToString(
|
||||
<Fragment>
|
||||
<header>
|
||||
@@ -342,118 +173,10 @@ export const Rendered = renderToString(
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{Object.entries(Providers)
|
||||
.sort(([, providerA], [, providerB]) =>
|
||||
providerA.name.localeCompare(providerB.name)
|
||||
)
|
||||
.flatMap(([providerId, provider]) =>
|
||||
Object.entries(provider.models)
|
||||
.filter(([, model]) => model.status !== "alpha")
|
||||
.sort(([, modelA], [, modelB]) =>
|
||||
modelA.name.localeCompare(modelB.name)
|
||||
)
|
||||
.map(([modelId, model]) => (
|
||||
<tr key={`${providerId}-${modelId}`}>
|
||||
<td>
|
||||
<div class="provider-cell">
|
||||
{renderProviderLogo(providerId)}
|
||||
<span>{provider.name}</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>{model.name}</td>
|
||||
<td>{model.family ?? "-"}</td>
|
||||
<td>{providerId}</td>
|
||||
<td>
|
||||
<div class="model-id-cell">
|
||||
<span class="model-id-text">{modelId}</span>
|
||||
<button
|
||||
class="copy-button"
|
||||
onclick={`copyModelId(this, '${modelId}')`}
|
||||
>
|
||||
<svg
|
||||
class="copy-icon"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="14"
|
||||
height="14"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<rect
|
||||
width="14"
|
||||
height="14"
|
||||
x="8"
|
||||
y="8"
|
||||
rx="2"
|
||||
ry="2"
|
||||
/>
|
||||
<path d="m4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" />
|
||||
</svg>
|
||||
<svg
|
||||
class="check-icon"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="14"
|
||||
height="14"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
style="display: none;"
|
||||
>
|
||||
<polyline points="20,6 9,17 4,12" />
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
<td>{model.tool_call ? "Yes" : "No"}</td>
|
||||
<td>{model.reasoning ? "Yes" : "No"}</td>
|
||||
<td>
|
||||
<div class="modalities">
|
||||
{model.modalities.input.map((modality) =>
|
||||
getModalityIcon(modality)
|
||||
)}
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="modalities">
|
||||
{model.modalities.output.map((modality) =>
|
||||
getModalityIcon(modality)
|
||||
)}
|
||||
</div>
|
||||
</td>
|
||||
<td>{renderCost(model.cost?.input)}</td>
|
||||
<td>{renderCost(model.cost?.output)}</td>
|
||||
<td>{renderCost(model.cost?.reasoning)}</td>
|
||||
<td>{renderCost(model.cost?.cache_read)}</td>
|
||||
<td>{renderCost(model.cost?.cache_write)}</td>
|
||||
<td>{renderCost(model.cost?.input_audio)}</td>
|
||||
<td>{renderCost(model.cost?.output_audio)}</td>
|
||||
<td>{model.limit.context.toLocaleString()}</td>
|
||||
<td>{model.limit.input?.toLocaleString() ?? "-"}</td>
|
||||
<td>{model.limit.output.toLocaleString()}</td>
|
||||
<td>
|
||||
{model.structured_output === undefined
|
||||
? "-"
|
||||
: model.structured_output
|
||||
? "Yes"
|
||||
: "No"}
|
||||
</td>
|
||||
<td>{model.temperature ? "Yes" : "No"}</td>
|
||||
<td>{model.open_weights ? "Open" : "Closed"}</td>
|
||||
<td>
|
||||
{model.knowledge ? model.knowledge.substring(0, 7) : "-"}
|
||||
</td>
|
||||
<td>{model.release_date}</td>
|
||||
<td>{model.last_updated}</td>
|
||||
</tr>
|
||||
))
|
||||
)}
|
||||
<tbody id="table-body">
|
||||
<tr class="loading-row">
|
||||
<td colspan={25}>Loading models...</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<dialog id="modal">
|
||||
|
||||
@@ -1,11 +1,19 @@
|
||||
import Index from "../index.html";
|
||||
import { Rendered } from "./render";
|
||||
import { normalizeLogoSvg } from "./logo.js";
|
||||
import { Providers, Rendered } from "./render";
|
||||
import path from "path";
|
||||
|
||||
Bun.serve({
|
||||
port: 16_000,
|
||||
routes: {
|
||||
"/": Index,
|
||||
"/api.json": () => {
|
||||
return Response.json(Providers, {
|
||||
headers: {
|
||||
"Cache-Control": "public, max-age=3600",
|
||||
},
|
||||
});
|
||||
},
|
||||
"/assets/*": (req) => {
|
||||
const file = Bun.file(
|
||||
path.join(import.meta.dir, new URL(req.url).pathname)
|
||||
@@ -38,7 +46,7 @@ Bun.serve({
|
||||
file = Bun.file(defaultLogoPath);
|
||||
}
|
||||
|
||||
return new Response(file, {
|
||||
return new Response(normalizeLogoSvg(await file.text()), {
|
||||
headers: {
|
||||
"Content-Type": "image/svg+xml",
|
||||
"Cache-Control": "public, max-age=3600",
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "MiniMax-M2.7-highspeed"
|
||||
release_date = "2026-03-19"
|
||||
last_updated = "2026-03-19"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.600
|
||||
output = 4.800
|
||||
|
||||
[limit]
|
||||
context = 204_800
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "MiniMax-M2.7"
|
||||
release_date = "2026-03-19"
|
||||
last_updated = "2026-03-19"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.300
|
||||
output = 1.200
|
||||
|
||||
[limit]
|
||||
context = 204_800
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "claude-3-5-haiku-20241022"
|
||||
release_date = "2024-10-22"
|
||||
last_updated = "2024-10-22"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2024-07"
|
||||
|
||||
[cost]
|
||||
input = 0.800
|
||||
output = 4.000
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "claude-3-5-haiku-latest"
|
||||
release_date = "2024-10-22"
|
||||
last_updated = "2024-10-22"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2024-07"
|
||||
|
||||
[cost]
|
||||
input = 0.800
|
||||
output = 4.000
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -2,7 +2,7 @@ name = "claude-haiku-4-5-20251001"
|
||||
release_date = "2025-10-16"
|
||||
last_updated = "2025-10-16"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
@@ -17,5 +17,5 @@ context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "claude-haiku-4-5"
|
||||
release_date = "2025-10-16"
|
||||
last_updated = "2025-10-16"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-02"
|
||||
|
||||
[cost]
|
||||
input = 1.000
|
||||
output = 5.000
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "claude-opus-4-20250514"
|
||||
release_date = "2025-05-22"
|
||||
last_updated = "2025-05-22"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-03"
|
||||
|
||||
[cost]
|
||||
input = 15.000
|
||||
output = 75.000
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 32_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -2,7 +2,7 @@ name = "claude-opus-4-5-20251101"
|
||||
release_date = "2025-11-25"
|
||||
last_updated = "2025-11-25"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
@@ -17,5 +17,5 @@ context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "claude-opus-4-5"
|
||||
release_date = "2025-11-25"
|
||||
last_updated = "2025-11-25"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-03"
|
||||
|
||||
[cost]
|
||||
input = 5.000
|
||||
output = 25.000
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "claude-opus-4-6-thinking"
|
||||
release_date = "2026-02-06"
|
||||
last_updated = "2026-03-13"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-05"
|
||||
|
||||
[cost]
|
||||
input = 5.000
|
||||
output = 25.000
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "claude-opus-4-6"
|
||||
release_date = "2026-02-06"
|
||||
last_updated = "2026-03-13"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-05"
|
||||
|
||||
[cost]
|
||||
input = 5.000
|
||||
output = 25.000
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,29 @@
|
||||
name = "claude-opus-4-7"
|
||||
release_date = "2026-04-17"
|
||||
last_updated = "2026-04-17"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-05"
|
||||
|
||||
[cost]
|
||||
input = 5.000
|
||||
output = 25.000
|
||||
cache_read = 0.500
|
||||
cache_write = 6.250
|
||||
|
||||
[cost.context_over_200k]
|
||||
input = 10.000
|
||||
output = 37.500
|
||||
cache_read = 1.000
|
||||
cache_write = 12.500
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "claude-sonnet-4-20250514"
|
||||
release_date = "2025-05-22"
|
||||
last_updated = "2025-05-22"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-03"
|
||||
|
||||
[cost]
|
||||
input = 3.000
|
||||
output = 15.000
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -17,5 +17,5 @@ context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -1,6 +1,6 @@
|
||||
name = "claude-sonnet-4-5-20250929"
|
||||
release_date = "2025-09-29"
|
||||
last_updated = "2025-09-29"
|
||||
release_date = "2025-09-30"
|
||||
last_updated = "2025-09-30"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
@@ -17,5 +17,5 @@ context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "claude-sonnet-4-5"
|
||||
release_date = "2025-09-30"
|
||||
last_updated = "2025-09-30"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-07"
|
||||
|
||||
[cost]
|
||||
input = 3.000
|
||||
output = 15.000
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "claude-sonnet-4-6-thinking"
|
||||
release_date = "2026-02-18"
|
||||
last_updated = "2026-03-13"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-08"
|
||||
|
||||
[cost]
|
||||
input = 3.000
|
||||
output = 15.000
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "claude-sonnet-4-6"
|
||||
release_date = "2026-02-18"
|
||||
last_updated = "2026-03-13"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-08"
|
||||
|
||||
[cost]
|
||||
input = 3.000
|
||||
output = 15.000
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "gemini-3.1-flash-image-preview"
|
||||
release_date = "2026-02-27"
|
||||
last_updated = "2026-02-27"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = false
|
||||
open_weights = false
|
||||
knowledge = "2025-01"
|
||||
|
||||
[cost]
|
||||
input = 0.500
|
||||
output = 60.000
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
output = 32_768
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text", "image"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "glm-4.5-air"
|
||||
release_date = "2025-07-29"
|
||||
last_updated = "2025-07-29"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-04"
|
||||
|
||||
[cost]
|
||||
input = 0.1143
|
||||
output = 0.286
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 98_304
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "glm-4.5-airx"
|
||||
release_date = "2025-07-29"
|
||||
last_updated = "2025-07-29"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-04"
|
||||
|
||||
[cost]
|
||||
input = 0.572
|
||||
output = 1.714
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "glm-4.5-x"
|
||||
release_date = "2025-07-29"
|
||||
last_updated = "2025-07-29"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-04"
|
||||
|
||||
[cost]
|
||||
input = 1.143
|
||||
output = 2.290
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 16_384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,6 +1,6 @@
|
||||
name = "GLM-4.5V"
|
||||
release_date = "2025-07-29"
|
||||
last_updated = "2025-07-29"
|
||||
release_date = "2025-08-12"
|
||||
last_updated = "2025-08-12"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
|
||||
@@ -2,7 +2,7 @@ name = "glm-4.6"
|
||||
release_date = "2025-09-30"
|
||||
last_updated = "2025-09-30"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "glm-4.7-flashx"
|
||||
release_date = "2026-01-20"
|
||||
last_updated = "2026-01-20"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-04"
|
||||
|
||||
[cost]
|
||||
input = 0.0715
|
||||
output = 0.429
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -2,7 +2,7 @@ name = "glm-4.7"
|
||||
release_date = "2025-12-22"
|
||||
last_updated = "2025-12-22"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "glm-5-turbo"
|
||||
release_date = "2026-03-16"
|
||||
last_updated = "2026-03-16"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.720
|
||||
output = 3.200
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "glm-5.1"
|
||||
release_date = "2026-04-10"
|
||||
last_updated = "2026-04-10"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.860
|
||||
output = 3.500
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "glm-5"
|
||||
release_date = "2026-02-12"
|
||||
last_updated = "2026-02-12"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.600
|
||||
output = 2.600
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "glm-5v-turbo"
|
||||
release_date = "2026-04-02"
|
||||
last_updated = "2026-04-02"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.720
|
||||
output = 3.200
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "video", "audio", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "glm-for-coding"
|
||||
release_date = "2025-09-30"
|
||||
last_updated = "2025-09-30"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.086
|
||||
output = 0.343
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 131_072
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "gpt-5.4-mini-2026-03-17"
|
||||
release_date = "2026-03-19"
|
||||
last_updated = "2026-03-19"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-08"
|
||||
|
||||
[cost]
|
||||
input = 0.750
|
||||
output = 4.500
|
||||
|
||||
[limit]
|
||||
context = 400_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "gpt-5.4-mini"
|
||||
release_date = "2026-03-19"
|
||||
last_updated = "2026-03-19"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-08"
|
||||
|
||||
[cost]
|
||||
input = 0.750
|
||||
output = 4.500
|
||||
|
||||
[limit]
|
||||
context = 400_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "gpt-5.4-nano-2026-03-17"
|
||||
release_date = "2026-03-19"
|
||||
last_updated = "2026-03-19"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-08"
|
||||
|
||||
[cost]
|
||||
input = 0.200
|
||||
output = 1.250
|
||||
|
||||
[limit]
|
||||
context = 400_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "gpt-5.4-nano"
|
||||
release_date = "2026-03-19"
|
||||
last_updated = "2026-03-19"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
knowledge = "2025-08"
|
||||
|
||||
[cost]
|
||||
input = 0.200
|
||||
output = 1.250
|
||||
|
||||
[limit]
|
||||
context = 400_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "grok-4.20-beta-0309-non-reasoning"
|
||||
release_date = "2026-03-16"
|
||||
last_updated = "2026-03-16"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 2.000
|
||||
output = 6.000
|
||||
|
||||
[limit]
|
||||
context = 2_000_000
|
||||
output = 30_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "grok-4.20-beta-0309-reasoning"
|
||||
release_date = "2026-03-16"
|
||||
last_updated = "2026-03-16"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 2.000
|
||||
output = 6.000
|
||||
|
||||
[limit]
|
||||
context = 2_000_000
|
||||
output = 30_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,20 @@
|
||||
name = "grok-4.20-multi-agent-beta-0309"
|
||||
release_date = "2026-03-16"
|
||||
last_updated = "2026-03-16"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 2.000
|
||||
output = 6.000
|
||||
|
||||
[limit]
|
||||
context = 2_000_000
|
||||
output = 30_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
@@ -1,24 +1,2 @@
|
||||
name = "Claude Sonnet 3.5"
|
||||
family = "claude-sonnet"
|
||||
release_date = "2024-06-20"
|
||||
last_updated = "2024-06-20"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2024-04"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
cache_read = 0.30
|
||||
cache_write = 3.75
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "anthropic/claude-3-5-sonnet-20240620"
|
||||
@@ -1,24 +1,2 @@
|
||||
name = "Claude Opus 4.1"
|
||||
family = "claude-opus"
|
||||
release_date = "2025-08-05"
|
||||
last_updated = "2025-08-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-03-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 15.00
|
||||
output = 75.00
|
||||
cache_read = 1.50
|
||||
cache_write = 18.75
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 32_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "anthropic/claude-opus-4-1-20250805"
|
||||
@@ -1,24 +1,2 @@
|
||||
name = "Claude Opus 4"
|
||||
family = "claude-opus"
|
||||
release_date = "2025-05-22"
|
||||
last_updated = "2025-05-22"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2024-04"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 15.00
|
||||
output = 75.00
|
||||
cache_read = 1.50
|
||||
cache_write = 18.75
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 32_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "anthropic/claude-opus-4-20250514"
|
||||
@@ -1,24 +1,2 @@
|
||||
name = "Claude Sonnet 4"
|
||||
family = "claude-sonnet"
|
||||
release_date = "2025-05-22"
|
||||
last_updated = "2025-05-22"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2024-04"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
cache_read = 0.30
|
||||
cache_write = 3.75
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "anthropic/claude-sonnet-4-20250514"
|
||||
@@ -1,24 +1,2 @@
|
||||
name = "Claude Sonnet 4.6"
|
||||
family = "claude-sonnet"
|
||||
release_date = "2026-02-17"
|
||||
last_updated = "2026-03-18"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-08-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
cache_read = 0.30
|
||||
cache_write = 3.75
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "anthropic/claude-sonnet-4-6"
|
||||
@@ -1,24 +1,4 @@
|
||||
name = "Claude Sonnet 4 (EU)"
|
||||
family = "claude-sonnet"
|
||||
release_date = "2025-05-22"
|
||||
last_updated = "2025-05-22"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2024-04"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
cache_read = 0.30
|
||||
cache_write = 3.75
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "anthropic/claude-sonnet-4-20250514"
|
||||
@@ -1,24 +1,4 @@
|
||||
name = "Claude Sonnet 4.6 (EU)"
|
||||
family = "claude-sonnet"
|
||||
release_date = "2026-02-17"
|
||||
last_updated = "2026-03-18"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-08-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
cache_read = 0.30
|
||||
cache_write = 3.75
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "anthropic/claude-sonnet-4-6"
|
||||
+2
-22
@@ -1,24 +1,4 @@
|
||||
name = "Claude Sonnet 4 (Global)"
|
||||
family = "claude-sonnet"
|
||||
release_date = "2025-05-22"
|
||||
last_updated = "2025-05-22"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2024-04"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
cache_read = 0.30
|
||||
cache_write = 3.75
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "anthropic/claude-sonnet-4-20250514"
|
||||
@@ -1,24 +1,4 @@
|
||||
name = "Claude Sonnet 4.6 (Global)"
|
||||
family = "claude-sonnet"
|
||||
release_date = "2026-02-17"
|
||||
last_updated = "2026-03-18"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-08-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
cache_read = 0.30
|
||||
cache_write = 3.75
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "anthropic/claude-sonnet-4-6"
|
||||
@@ -1,24 +1,4 @@
|
||||
name = "Claude Opus 4.1 (US)"
|
||||
family = "claude-opus"
|
||||
release_date = "2025-08-05"
|
||||
last_updated = "2025-08-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-03-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 15.00
|
||||
output = 75.00
|
||||
cache_read = 1.50
|
||||
cache_write = 18.75
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 32_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "anthropic/claude-opus-4-1-20250805"
|
||||
@@ -1,24 +1,4 @@
|
||||
name = "Claude Opus 4 (US)"
|
||||
family = "claude-opus"
|
||||
release_date = "2025-05-22"
|
||||
last_updated = "2025-05-22"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2024-04"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 15.00
|
||||
output = 75.00
|
||||
cache_read = 1.50
|
||||
cache_write = 18.75
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 32_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "anthropic/claude-opus-4-20250514"
|
||||
@@ -1,24 +1,4 @@
|
||||
name = "Claude Sonnet 4 (US)"
|
||||
family = "claude-sonnet"
|
||||
release_date = "2025-05-22"
|
||||
last_updated = "2025-05-22"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2024-04"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
cache_read = 0.30
|
||||
cache_write = 3.75
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "anthropic/claude-sonnet-4-20250514"
|
||||
@@ -1,24 +1,4 @@
|
||||
name = "Claude Sonnet 4.6 (US)"
|
||||
family = "claude-sonnet"
|
||||
release_date = "2026-02-17"
|
||||
last_updated = "2026-03-18"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-08-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
cache_read = 0.30
|
||||
cache_write = 3.75
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "anthropic/claude-sonnet-4-6"
|
||||
@@ -1,22 +1,2 @@
|
||||
name = "Command R"
|
||||
family = "command-r"
|
||||
release_date = "2024-08-30"
|
||||
last_updated = "2024-08-30"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2024-06-01"
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.15
|
||||
output = 0.60
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 4_000
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "cohere/command-r-08-2024"
|
||||
@@ -1,22 +1,2 @@
|
||||
name = "Command R+"
|
||||
family = "command-r"
|
||||
release_date = "2024-08-30"
|
||||
last_updated = "2024-08-30"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2024-06-01"
|
||||
tool_call = true
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 2.50
|
||||
output = 10.00
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 4_000
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "cohere/command-r-plus-08-2024"
|
||||
@@ -1,22 +1,3 @@
|
||||
name = "GPT-4 Turbo"
|
||||
family = "gpt"
|
||||
release_date = "2023-11-06"
|
||||
last_updated = "2024-04-09"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2023-11"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 10.00
|
||||
output = 30.00
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 4_096
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "openai/gpt-4-turbo"
|
||||
omit = ["structured_output"]
|
||||
@@ -1,22 +1,6 @@
|
||||
name = "GPT-4.1 mini"
|
||||
family = "gpt-mini"
|
||||
release_date = "2025-04-14"
|
||||
last_updated = "2025-04-14"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2024-05"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.40
|
||||
output = 1.60
|
||||
cache_read = 0.10
|
||||
|
||||
[limit]
|
||||
context = 1047576
|
||||
output = 32768
|
||||
[extends]
|
||||
from = "openai/gpt-4.1-mini"
|
||||
omit = ["structured_output"]
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
|
||||
@@ -1,23 +1,3 @@
|
||||
name = "GPT-4.1 nano"
|
||||
family = "gpt-nano"
|
||||
release_date = "2025-04-14"
|
||||
last_updated = "2025-04-14"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2024-05"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.10
|
||||
output = 0.40
|
||||
cache_read = 0.03
|
||||
|
||||
[limit]
|
||||
context = 1047576
|
||||
output = 32768
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "openai/gpt-4.1-nano"
|
||||
omit = ["structured_output"]
|
||||
@@ -1,22 +1,6 @@
|
||||
name = "GPT-4.1"
|
||||
family = "gpt"
|
||||
release_date = "2025-04-14"
|
||||
last_updated = "2025-04-14"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2024-05"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 2.00
|
||||
output = 8.00
|
||||
cache_read = 0.50
|
||||
|
||||
[limit]
|
||||
context = 1_047_576
|
||||
output = 32_768
|
||||
[extends]
|
||||
from = "openai/gpt-4.1"
|
||||
omit = ["structured_output"]
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
|
||||
@@ -1,22 +1,6 @@
|
||||
name = "GPT-4o mini"
|
||||
family = "gpt-mini"
|
||||
release_date = "2024-07-18"
|
||||
last_updated = "2024-07-18"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2023-09"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.15
|
||||
output = 0.60
|
||||
cache_read = 0.08
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 16_384
|
||||
[extends]
|
||||
from = "openai/gpt-4o-mini"
|
||||
omit = ["structured_output"]
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
|
||||
@@ -1,22 +1,6 @@
|
||||
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 = 2.50
|
||||
output = 10.00
|
||||
cache_read = 1.25
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 16_384
|
||||
[extends]
|
||||
from = "openai/gpt-4o"
|
||||
omit = ["structured_output"]
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
|
||||
@@ -1,23 +1,3 @@
|
||||
name = "GPT-5 Pro"
|
||||
family = "gpt-pro"
|
||||
release_date = "2025-10-06"
|
||||
last_updated = "2025-10-06"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = false
|
||||
knowledge = "2024-09-30"
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 15.00
|
||||
output = 120.00
|
||||
|
||||
[limit]
|
||||
context = 400_000
|
||||
output = 272_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "openai/gpt-5-pro"
|
||||
omit = ["limit.input"]
|
||||
@@ -1,25 +1,3 @@
|
||||
name = "GPT-5.1 Codex Max"
|
||||
family = "gpt-codex"
|
||||
release_date = "2025-11-13"
|
||||
last_updated = "2025-11-13"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = false
|
||||
knowledge = "2024-09-30"
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 1.25
|
||||
output = 10.00
|
||||
cache_read = 0.125
|
||||
|
||||
[limit]
|
||||
context = 400_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
|
||||
[extends]
|
||||
from = "openai/gpt-5.1-codex-max"
|
||||
omit = ["limit.input"]
|
||||
@@ -1,24 +1,2 @@
|
||||
name = "Grok 3 Mini"
|
||||
family = "grok"
|
||||
release_date = "2025-02-17"
|
||||
last_updated = "2025-02-17"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2024-11"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.30
|
||||
output = 0.50
|
||||
reasoning = 0.50
|
||||
cache_read = 0.075
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "xai/grok-3-mini"
|
||||
@@ -1,23 +1,2 @@
|
||||
name = "Grok 3"
|
||||
family = "grok"
|
||||
release_date = "2025-02-17"
|
||||
last_updated = "2025-02-17"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2024-11"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
cache_read = 0.75
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "xai/grok-3"
|
||||
@@ -1,23 +1,2 @@
|
||||
name = "Grok 4 Fast (Non-Reasoning)"
|
||||
family = "grok"
|
||||
release_date = "2025-09-19"
|
||||
last_updated = "2025-09-19"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2025-07"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.20
|
||||
output = 0.50
|
||||
cache_read = 0.05
|
||||
|
||||
[limit]
|
||||
context = 2_000_000
|
||||
output = 30_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "xai/grok-4-fast-non-reasoning"
|
||||
@@ -1,24 +1,2 @@
|
||||
name = "Grok 4"
|
||||
family = "grok"
|
||||
release_date = "2025-07-09"
|
||||
last_updated = "2025-07-09"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2025-07"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
reasoning = 15.00
|
||||
cache_read = 0.75
|
||||
|
||||
[limit]
|
||||
context = 256_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "xai/grok-4"
|
||||
@@ -1,23 +1,2 @@
|
||||
name = "Grok Code Fast 1"
|
||||
family = "grok"
|
||||
release_date = "2025-08-28"
|
||||
last_updated = "2025-08-28"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2023-10"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.20
|
||||
output = 1.50
|
||||
cache_read = 0.02
|
||||
|
||||
[limit]
|
||||
context = 256_000
|
||||
output = 10_000
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "xai/grok-code-fast-1"
|
||||
@@ -1,23 +1,3 @@
|
||||
name = "o3-mini"
|
||||
family = "o-mini"
|
||||
release_date = "2024-12-20"
|
||||
last_updated = "2025-01-29"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = false
|
||||
knowledge = "2024-05"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 1.10
|
||||
output = 4.40
|
||||
cache_read = 0.55
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 100_000
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "openai/o3-mini"
|
||||
omit = ["structured_output"]
|
||||
@@ -1,22 +1,6 @@
|
||||
name = "o3"
|
||||
family = "o"
|
||||
release_date = "2025-04-16"
|
||||
last_updated = "2025-04-16"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = false
|
||||
knowledge = "2024-05"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 2.00
|
||||
output = 8.00
|
||||
cache_read = 0.50
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 100_000
|
||||
[extends]
|
||||
from = "openai/o3"
|
||||
omit = ["structured_output"]
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
|
||||
@@ -1,23 +1,3 @@
|
||||
name = "o4-mini"
|
||||
family = "o-mini"
|
||||
release_date = "2025-04-16"
|
||||
last_updated = "2025-04-16"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = false
|
||||
knowledge = "2024-05"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 1.10
|
||||
output = 4.40
|
||||
cache_read = 0.28
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 100_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image"]
|
||||
output = ["text"]
|
||||
[extends]
|
||||
from = "openai/o4-mini"
|
||||
omit = ["structured_output"]
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "bge-reranker-v2-m3"
|
||||
family = "bge"
|
||||
release_date = "2025-04-23"
|
||||
last_updated = "2025-04-23"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = false
|
||||
knowledge = "2025-04"
|
||||
tool_call = false
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.1
|
||||
output = 0.1
|
||||
|
||||
[limit]
|
||||
context = 512
|
||||
output = 512
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "KB-Whisper-Large"
|
||||
family = "whisper"
|
||||
release_date = "2025-04-27"
|
||||
last_updated = "2025-04-27"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = false
|
||||
knowledge = "2025-04"
|
||||
tool_call = false
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 3
|
||||
output = 3
|
||||
|
||||
[limit]
|
||||
context = 480_000
|
||||
output = 4_800
|
||||
|
||||
[modalities]
|
||||
input = ["audio"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,23 @@
|
||||
name = "Gemma 4 31B Instruct"
|
||||
family = "gemma"
|
||||
release_date = "2026-04-02"
|
||||
last_updated = "2026-04-02"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2025-12"
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.275
|
||||
output = 0.55
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["audio", "image", "text", "video"]
|
||||
output = ["text"]
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "Multilingual-E5-large-instruct"
|
||||
family = "text-embedding"
|
||||
release_date = "2025-04-27"
|
||||
last_updated = "2025-04-27"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = false
|
||||
knowledge = "2025-04"
|
||||
tool_call = false
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.02
|
||||
output = 0
|
||||
|
||||
[limit]
|
||||
context = 512
|
||||
output = 1024
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -11,8 +11,8 @@ structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.9
|
||||
output = 0.9
|
||||
input = 0.99
|
||||
output = 0.99
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
|
||||
@@ -11,8 +11,8 @@ structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.3
|
||||
output = 0.3
|
||||
input = 0.33
|
||||
output = 0.33
|
||||
|
||||
[limit]
|
||||
context = 32_000
|
||||
|
||||
@@ -11,8 +11,8 @@ structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.3
|
||||
output = 0.9
|
||||
input = 0.44
|
||||
output = 0.99
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
|
||||
@@ -11,8 +11,8 @@ structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.7
|
||||
output = 2.3
|
||||
input = 0.77
|
||||
output = 2.75
|
||||
|
||||
[limit]
|
||||
context = 128_000
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
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 = 5.60
|
||||
output = 27.99
|
||||
cache_read = 0.56
|
||||
cache_write = 6.99
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,6 @@
|
||||
<svg width="24" height="24" viewBox="-14 -14 100.8 100.8" xmlns="http://www.w3.org/2000/svg" fill="currentColor">
|
||||
<polygon fill-rule="evenodd" points="36.4 58.7 22.4 58.7 22.4 44.6 22.4 44.6 36.4 44.6 36.4 44.6 36.4 58.7"/>
|
||||
<polygon fill-rule="evenodd" points="22.4 69.5 11.6 69.5 11.6 69.5 11.6 58.7 22.4 58.7 22.4 69.5"/>
|
||||
<polygon fill-rule="evenodd" points="11.6 58.7 2.5 58.7 2.5 58.7 2.5 49.6 2.5 49.6 11.5 49.6 11.6 49.6 11.6 58.7"/>
|
||||
<path d="M36.4,0C16.3,0,0,16.3,0,36.4h14.1c0-12.3,10-22.3,22.3-22.3s22.3,10,22.3,22.3-10,22.3-22.3,22.3h0v14.1h0c20.1,0,36.4-16.3,36.4-36.4S56.5,0,36.4,0Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 613 B |
@@ -0,0 +1,22 @@
|
||||
name = "Qwen3-32B"
|
||||
family = "qwen"
|
||||
release_date = "2025-04-30"
|
||||
last_updated = "2026-04-16"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.25
|
||||
output = 0.55
|
||||
|
||||
[limit]
|
||||
context = 131_000
|
||||
output = 40_960
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,21 @@
|
||||
name = "All-MiniLM-L6-v2"
|
||||
family = "text-embedding"
|
||||
release_date = "2021-08-30"
|
||||
last_updated = "2026-04-16"
|
||||
attachment = false
|
||||
reasoning = false
|
||||
temperature = false
|
||||
tool_call = false
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.009
|
||||
output = 0.00
|
||||
|
||||
[limit]
|
||||
context = 256
|
||||
output = 384
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,24 @@
|
||||
name = "Claude Opus 4.1"
|
||||
family = "claude-opus"
|
||||
release_date = "2025-08-05"
|
||||
last_updated = "2025-08-05"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-03-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 15.00
|
||||
output = 75.00
|
||||
cache_read = 1.50
|
||||
cache_write = 18.75
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 32_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,30 @@
|
||||
name = "Claude Sonnet 4.5"
|
||||
family = "claude-sonnet"
|
||||
release_date = "2025-09-29"
|
||||
last_updated = "2025-09-29"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-07-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
cache_read = 0.30
|
||||
cache_write = 3.75
|
||||
|
||||
[cost.context_over_200k]
|
||||
input = 6.00
|
||||
output = 22.50
|
||||
cache_read = 0.30
|
||||
cache_write = 3.75
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,30 @@
|
||||
name = "Claude Sonnet 4.6"
|
||||
family = "claude-sonnet"
|
||||
release_date = "2026-02-17"
|
||||
last_updated = "2026-03-13"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-08-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
cache_read = 0.30
|
||||
cache_write = 3.75
|
||||
|
||||
[cost.context_over_200k]
|
||||
input = 6.00
|
||||
output = 22.50
|
||||
cache_read = 0.30
|
||||
cache_write = 3.75
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,24 @@
|
||||
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 = 1.00
|
||||
output = 5.00
|
||||
cache_read = 1.00
|
||||
cache_write = 1.25
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,24 @@
|
||||
name = "Claude Opus 4.5"
|
||||
family = "claude-opus"
|
||||
release_date = "2025-11-24"
|
||||
last_updated = "2025-11-24"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-03-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 5.00
|
||||
output = 25.00
|
||||
cache_read = 0.50
|
||||
cache_write = 6.25
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,30 @@
|
||||
name = "Claude Opus 4.6"
|
||||
family = "claude-opus"
|
||||
release_date = "2026-02-05"
|
||||
last_updated = "2026-03-13"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-05-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 5.00
|
||||
output = 25.00
|
||||
cache_read = 0.50
|
||||
cache_write = 6.25
|
||||
|
||||
[cost.context_over_200k]
|
||||
input = 10.00
|
||||
output = 37.50
|
||||
cache_read = 0.50
|
||||
cache_write = 6.25
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,24 @@
|
||||
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 = 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", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,24 @@
|
||||
name = "Claude Opus 4"
|
||||
family = "claude-opus"
|
||||
release_date = "2025-05-22"
|
||||
last_updated = "2025-05-22"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-03-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 15.00
|
||||
output = 75.00
|
||||
cache_read = 1.50
|
||||
cache_write = 18.75
|
||||
|
||||
[limit]
|
||||
context = 200_000
|
||||
output = 32_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,30 @@
|
||||
name = "Claude Sonnet 4"
|
||||
family = "claude-sonnet"
|
||||
release_date = "2025-05-22"
|
||||
last_updated = "2025-05-22"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
knowledge = "2025-03-31"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 3.00
|
||||
output = 15.00
|
||||
cache_read = 0.30
|
||||
cache_write = 3.75
|
||||
|
||||
[cost.context_over_200k]
|
||||
input = 6.00
|
||||
output = 22.50
|
||||
cache_read = 0.30
|
||||
cache_write = 3.75
|
||||
|
||||
[limit]
|
||||
context = 1_000_000
|
||||
output = 64_000
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -0,0 +1,23 @@
|
||||
name = "Trinity Large Thinking"
|
||||
family = "trinity"
|
||||
release_date = "2026-04-02"
|
||||
last_updated = "2026-04-16"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
tool_call = true
|
||||
temperature = true
|
||||
open_weights = true
|
||||
status = "beta"
|
||||
|
||||
[cost]
|
||||
input = 0.25
|
||||
output = 0.90
|
||||
cache_read = 0.06
|
||||
|
||||
[limit]
|
||||
context = 256_000
|
||||
output = 128_000
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
output = ["text"]
|
||||
+6
-5
@@ -1,20 +1,21 @@
|
||||
name = "DeepSeek-R1-Distill-Llama-70B"
|
||||
name = "DeepSeek R1 Distill Llama 70B"
|
||||
family = "deepseek-thinking"
|
||||
release_date = "2025-01-30"
|
||||
last_updated = "2025-01-30"
|
||||
attachment = false
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
temperature = true
|
||||
open_weights = true
|
||||
|
||||
[cost]
|
||||
input = 0.74
|
||||
output = 0.74
|
||||
input = 0.99
|
||||
output = 0.99
|
||||
|
||||
[limit]
|
||||
context = 131_072
|
||||
output = 131_072
|
||||
output = 32_768
|
||||
|
||||
[modalities]
|
||||
input = ["text"]
|
||||
Loaded 100 of 356 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user