Compare commits

...
Author SHA1 Message Date
Aiden Cline 78e6c1a2dd fix(github-copilot): preserve model-specific limits 2026-06-01 22:46:56 -05:00
Aiden Cline 477ccffee8 Merge pull request #1948 from anomalyco/feat/anthropic-reasoning-options
feat(anthropic): add reasoning options
2026-06-01 22:41:23 -05:00
Aiden Cline 4501589a20 feat(anthropic): add reasoning options 2026-06-01 22:17:07 -05:00
Aiden Cline 0b643efd17 Merge pull request #1947 from LYY/fix/github-copilot-context-limits
fix(github-copilot): correct limits for 8 models with verified CAPI data (partial, refs #1946)
2026-06-01 22:16:07 -05:00
LYY 8a0ea15aca fix(github-copilot): correct limits for models with verified CAPI data
The github-copilot model stubs use [extends] and inherit the upstream
base model's context/input/output limits (~1M), which do not match the
limits GitHub Copilot actually enforces via api.githubcopilot.com/models.

Override the limit fields for the 8 models whose live CAPI values were
verified first-hand. Models that were not enabled on the test account
(no CAPI data available) are intentionally left unchanged.

Refs anomalyco/models.dev#1946
2026-06-02 11:08:51 +08:00
Aiden Cline b3676fd77d Merge pull request #1934 from yukoba/github-copilot-2026-06
June 2026 changes of GitHub Copilot
2026-06-01 16:10:45 -05:00
Aiden Cline f97a02078c Merge pull request #1932 from eliasto/ovhcloud/update-models-qwen
feat(ovhcloud): Add new Qwen models and sync mode
2026-06-01 14:27:58 -05:00
Aiden Cline 2a7153fcef Merge pull request #1943 from peculiarnewbie/fix/crof-models-update
fix: update crof.ai models to match current API
2026-06-01 13:41:23 -05:00
Aiden Cline 3396f15854 Merge pull request #1942 from anomalyco/feat/reasoning-options-schema
feat: add reasoning options schema
2026-06-01 13:41:10 -05:00
Aiden Cline ccfd99b5e9 Merge pull request #1941 from KTibow/fix-llmgateway-deepseek-v3-2-price
fix(llmgateway): update model pricing
2026-06-01 13:40:20 -05:00
bolt ef6eb88216 fix: update crof.ai models to match current API 2026-06-02 00:52:14 +07:00
Aiden Cline 94e128244a feat: add reasoning options schema 2026-06-01 12:48:11 -05:00
KTibow ec6d07d41c fix(llmgateway): use weighted pricing selection 2026-06-01 10:41:23 -07:00
KTibow 4efbe58af8 fix(llmgateway): update model pricing 2026-06-01 10:24:05 -07:00
Aiden Cline a4fe8fc36b fmt 2026-06-01 09:53:16 -05:00
Aiden Cline b24b44ca0a Merge pull request #1920 from anomalyco/automation/sync-models-openrouter
chore(sync): update OpenRouter model catalog
2026-06-01 09:39:43 -05:00
Aiden Cline 466d664bf9 Merge pull request #1930 from dpuyosa/dev
Venice: Add MiniMax M3 model
2026-06-01 09:39:27 -05:00
Aiden Cline 340ef131e9 Merge pull request #1936 from JoshuaDietz/dev
feat(ollama-cloud): add minimax m3
2026-06-01 09:38:47 -05:00
Aiden Cline 6ce69a706a Merge pull request #1937 from KTibow/fix/hpc-ai-pricing
fix: update HPC-AI model pricing
2026-06-01 09:38:34 -05:00
KTibow 3505674a1b fix: update HPC-AI model pricing 2026-06-01 07:29:43 -07:00
github-actions[bot] cfeaef8f77 chore(sync): update OpenRouter model catalog 2026-06-01 14:25:41 +00:00
Joshua Dietz f73a5d571b feat(ollama-cloud): add minimax m3 2026-06-01 16:14:49 +02:00
Yu Kobayashi 62d31abff8 June 2026 changes of GitHub Copilot 2026-06-01 22:03:44 +09:00
Elias TOURNEUX ee71ea7181 feat(ovhcloud): Add qwen 3.6 27b 2026-06-01 11:57:58 +02:00
Elias TOURNEUX b038f40b64 feat(ovhcloud): Add OVHcloud sync mode 2026-06-01 10:28:46 +02:00
Elias TOURNEUX 4b7bdd9692 feat(ovhcloud): Add new Qwen models 2026-06-01 10:16:54 +02:00
dpuyosa b73ef1a634 [venice] Add MiniMax M3 model
- Add minimax-m3.toml with cost, limits, modalities
- Enable text/image input and text output support
- Set 500k context, 32k output, cache pricing
2026-06-01 09:38:12 +02:00
Aiden Cline c11b5bb00b Merge pull request #1927 from Jercik/codex/update-wafer-price-cuts
fix: update Wafer.ai pricing
2026-06-01 00:01:03 -05:00
Łukasz Jerciński 01bc1785b4 fix: update Wafer price cuts 2026-06-01 06:25:20 +02:00
Aiden Cline 36b5847fa4 Merge pull request #1925 from anomalyco/fix/vercel-claude-opus-4-1-symlink
fix vercel claude opus 4.1 symlink
2026-05-31 22:12:27 -05:00
Aiden Cline 040beaf818 fix vercel claude opus 4.1 symlink 2026-05-31 22:11:05 -05:00
Frank 9f8e1a3858 update zen models 2026-05-31 22:07:52 -04:00
Jack ce7a1c0218 update context limit of M3 in Go 2026-06-01 09:45:46 +08:00
Jack 55e6c7a2ee add image,video modalities to M3 2026-06-01 08:58:02 +08:00
Frank 8bacf496fe update zen models 2026-05-31 19:49:41 -04:00
Frank ac12cf1f43 update zen models 2026-05-31 19:47:33 -04:00
Frank 06c7ea2303 update zen models 2026-05-31 19:47:04 -04:00
Frank 92b6e9da53 update zen models 2026-05-31 19:43:09 -04:00
Frank 660ff026a0 update zen models 2026-05-31 19:40:57 -04:00
Aiden Cline 9a910a1fb3 Merge pull request #1917 from markgibaud/fix/eu-opus-bedrock-pricing
fix(bedrock): correct EU cross-region pricing for Claude Opus and Sonnet models
2026-05-31 17:37:45 -05:00
Aiden Cline 7dc5f787b0 Merge pull request #1915 from anomalyco/automation/sync-models-openrouter
chore(sync): update OpenRouter model catalog
2026-05-31 17:10:10 -05:00
Aiden Cline c25ddce07c Merge pull request #1916 from anomalyco/automation/sync-models-cloudflare-workers-ai
chore(sync): update Cloudflare Workers AI model catalog
2026-05-31 17:05:57 -05:00
github-actions[bot] e73a82e44e chore(sync): update OpenRouter model catalog 2026-05-31 21:36:49 +00:00
github-actions[bot] 7de9710b5a chore(sync): update Cloudflare Workers AI model catalog 2026-05-31 21:36:49 +00:00
Frank d1a8dbcdde update zen models 2026-05-31 14:19:49 -04:00
markgibaud 556ef84d11 fix(bedrock): correct EU cross-region pricing for Claude Opus and Sonnet models
AWS Bedrock EU (Europe/London) cross-region inference has a 10% premium
over the base Anthropic pricing. The EU models were incorrectly using
the same pricing as the US/base models.

Affected models:
- eu.anthropic.claude-opus-4-6-v1
- eu.anthropic.claude-opus-4-7
- eu.anthropic.claude-opus-4-8
- eu.anthropic.claude-sonnet-4-5-20250929-v1:0
- eu.anthropic.claude-sonnet-4-6

Corrected Opus per 1M token prices:
- Input: $5.00 -> $5.50
- Output: $25.00 -> $27.50
- Cache read: $0.50 -> $0.55
- Cache write: $6.25 -> $6.875

Corrected Sonnet per 1M token prices:
- Input: $3.00 -> $3.30
- Output: $15.00 -> $16.50
- Cache read: $0.30 -> $0.33
- Cache write: $3.75 -> $4.125

Source: AWS Bedrock pricing page, Europe (London) region
2026-05-31 11:07:18 +01:00
Aiden Cline f2020553ea Merge pull request #1898 from Suat-B/codex/xpersona-frieren-1
Rename Xpersona Frieren display name
2026-05-30 16:44:39 -05:00
Aiden Cline ca0a7e17cb Merge pull request #1910 from anomalyco/automation/sync-models-openrouter
chore(sync): update OpenRouter model catalog
2026-05-30 16:44:22 -05:00
github-actions[bot] d2468eafb2 chore(sync): update OpenRouter model catalog 2026-05-30 21:37:16 +00:00
Aiden Cline 96d0f9beff Merge pull request #1913 from orangeclk/add-glm-4.6v-zhipuai-coding-plan
feat(zhipuai-coding-plan): add glm-4.6v symlink from zai
2026-05-30 11:52:50 -05:00
Aiden Cline 7989be9f34 Merge pull request #1912 from Jercik/codex/update-wafer-provider-models
feat: update Wafer provider models
2026-05-30 11:52:41 -05:00
Łukasz Jerciński f30e44f4b5 feat: update Wafer provider models 2026-05-30 14:53:02 +02:00
OrangeCLK 1383177893 feat(zhipuai-coding-plan): add glm-4.6v symlink from zai 2026-05-30 18:42:09 +08:00
Aiden Cline 2e58165af9 Merge pull request #1902 from kameshsampath/feat/provider/snowflake-cortex
feat(snowflake-cortex): add Snowflake Cortex provider
2026-05-29 23:55:55 -05:00
Kamesh Sampath f3466affc0 feat(snowflake-cortex): add Snowflake Cortex provider
Adds the snowflake-cortex provider which exposes Snowflake's Cortex
REST API (OpenAI Chat Completions-compatible endpoint) to opencode.

Provider details:
- npm: @ai-sdk/openai-compatible
- API: https://${SNOWFLAKE_ACCOUNT}.snowflakecomputing.com/api/v2/cortex/v1
- Auth: SNOWFLAKE_ACCOUNT + SNOWFLAKE_CORTEX_PAT (Programmatic Access Token)

Models (11, all with tool_call support):
- Anthropic: claude-opus-4-7 (beta/preview), claude-sonnet-4-6,
  claude-sonnet-4-5, claude-haiku-4-5
- OpenAI: openai-gpt-5.4 (beta), openai-gpt-5.2, openai-gpt-5.1,
  openai-gpt-5 (beta), openai-gpt-5-mini (beta), openai-gpt-5-nano (beta),
  openai-gpt-4.1

Models without tool_call support (deepseek-r1, llama3.1-70b,
snowflake-llama-3.3-70b, mistral-large2) are excluded per Snowflake docs:
"Tool calling is supported for OpenAI and Claude models only."

Preview/not-GA models are marked with status = "beta".

Cost fields are intentionally omitted on all models. The Cortex REST API
is billed in USD (AI_INFERENCE service type) at rates defined in the
Snowflake Service Consumption Table.

Closes #1895
2026-05-30 09:04:43 +05:30
Aiden Cline 3697c99297 Merge pull request #1901 from anomalyco/automation/sync-models-openrouter
chore(sync): update OpenRouter model catalog
2026-05-29 20:50:33 -05:00
Aiden Cline 796dda2fd1 Merge pull request #1904 from sdnts/dev
feat(cloudflare-ai-gateway): add opus 4.8
2026-05-29 20:50:11 -05:00
Aiden Cline 1d363cbd7f Merge pull request #1908 from anomalyco/fix/unique-provider-names
Ensure provider names are unique
2026-05-29 20:49:54 -05:00
Aiden Cline 3758725979 Ensure provider names are unique
Rename the China StepFun provider to "StepFun (China)" so it no longer
collides with the international "StepFun" provider, following the existing
Alibaba / Alibaba (China) naming convention.

Add a validation check in generate() that throws when two providers share
a (case-insensitive) name, preventing future duplicates.

Fixes #1906
2026-05-29 20:48:09 -05:00
github-actions[bot] c039e82f12 chore(sync): update OpenRouter model catalog 2026-05-30 01:16:42 +00:00
Siddhant 1e90242cdb feat(cloudflare-ai-gateway): add opus 4.8 2026-05-29 13:55:09 -04:00
Aiden Cline 277ac8577e Merge pull request #1897 from mikeyp/update-digitalocean-models
Add deepseek-4-flash and claude-opus-4.8 for DigitalOcean
2026-05-29 10:20:26 -05:00
Aiden Cline 6e5f35546d Merge pull request #1900 from ceyhanmolla/add-step-3.7-flash-v2
Add Step 3.7 Flash model to NVIDIA provider
2026-05-29 10:20:02 -05:00
ceyhanmolla aa69da14d6 Add Step 3.7 Flash model to NVIDIA provider
StepFun AI's Step 3.7 Flash - sparse MoE multimodal reasoning model:
- 198B total params, ~11B active per token
- 256K context window with sliding window attention
- Text + image input, text output
- Reasoning, tool calling, and attachment support
- Apache 2.0 license
2026-05-29 12:55:13 +02:00
Jack c7af5ba9be update model in Go 2026-05-29 16:20:16 +08:00
Suat-B d6e9e6735f Rename Xpersona Frieren model display name 2026-05-29 03:00:21 -05:00
Mike Prasuhn a987719410 Add deepseek-4-flash and claude-opus-4.8 2026-05-29 03:45:50 -04:00
Aiden Cline 9528528f69 Merge pull request #1890 from anomalyco/automation/sync-models-openrouter
chore(sync): update OpenRouter model catalog
2026-05-28 23:42:03 -05:00
github-actions[bot] fbad40d863 chore(sync): update OpenRouter model catalog 2026-05-29 03:26:05 +00:00
Aiden Cline 84559b598b Merge pull request #1894 from anomalyco/add-siliconflow-cn-deepseek-v4-pro
feat(siliconflow-cn): add deepseek-ai/DeepSeek-V4-Pro
2026-05-28 19:10:18 -05:00
Aiden Cline 9d45730db9 Merge pull request #1889 from fhennerkes/dev
poe: add Claude-Opus-4.8 model
2026-05-28 19:10:06 -05:00
Aiden Cline 791089e4aa Merge pull request #1891 from ticoombs/dev
feat(copilot): update all copilot models, add claude-opus-4.8
2026-05-28 19:09:52 -05:00
Aiden Cline fcc4387187 feat(siliconflow-cn): add deepseek-ai/DeepSeek-V4-Pro 2026-05-28 19:09:15 -05:00
Tim C 6aa32ba566 fix(copilot): update all context,input,output with correct limits 2026-05-29 08:56:19 +10:00
Tim C 459a563d2b feat(copilot): add claude-opus-4.8 2026-05-29 08:52:42 +10:00
Aiden Cline 739e5a7c8e Merge pull request #1877 from aakash-gupte/add-merge-gateway-provider
Add Merge Gateway provider
2026-05-28 16:55:40 -05:00
Aiden Cline efc87afa3a Merge pull request #1888 from smakosh/add-llmgateway-opus-4-8
feat(llmgateway): add Claude Opus 4.8
2026-05-28 16:54:46 -05:00
Aiden Cline f616aa6a0b Merge pull request #1887 from dpuyosa/dev
Venice: Add Claude Opus 4.8 models
2026-05-28 16:54:35 -05:00
fhennerkesandClaude Opus 4.7 f77e75a567 poe: add Claude-Opus-4.8 model
Add new Anthropic model from Poe API (released 2026-05-28).
Uses extends format inheriting from anthropic/claude-opus-4-8
with Poe-specific overrides (name format, markup pricing,
slightly different context limit).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 14:39:52 -07:00
smakoshandClaude Opus 4.8 651bd4d91a feat(llmgateway): add Claude Opus 4.8
Extends anthropic/claude-opus-4-8, omitting the fast mode which LLM
Gateway does not expose, matching the existing 4.6/4.7 entries.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-28 22:07:40 +01:00
dpuyosa 30b9170106 [venice] Add Claude Opus 4.8 models
- Add claude-opus-4-8.toml (standard pricing)
- Add claude-opus-4-8-fast.toml (fast variant)
- Both: 1M context, image input, Opus 4.8 family
2026-05-28 22:54:39 +02:00
Aiden Cline 81e42c653c Merge pull request #1886 from vglafirov/add-gitlab-opus-4-8
feat: add GitLab Agentic Chat Opus 4.8
2026-05-28 15:25:06 -05:00
Vladimir Glafirov 11f2a38594 feat: add GitLab Agentic Chat Opus 4.8 2026-05-28 22:12:12 +02:00
Aiden Cline 6621be978f Merge pull request #1880 from bas3line/update-routing-run-base-url
Update routing.run API base URL
2026-05-28 14:46:09 -05:00
Aiden Cline c8d72661d6 Merge pull request #1885 from alaviss/bedrock-opus-4-8
feat: add cross-region inference entries for Bedrock for Opus 4.8
2026-05-28 14:45:43 -05:00
Hiếu Lê 21b7cacc33 feat: add cross-region inference entries for Bedrock for Opus 4.8 2026-05-28 12:38:19 -07:00
Aiden Cline ac1dc14439 Merge pull request #1884 from calebboyd/update-vercel-models-latest
feat: add vercel ai gateway opus 4.8
2026-05-28 14:31:03 -05:00
Aiden Cline 63acb799da Merge pull request #1883 from anomalyco/automation/sync-models-openrouter
chore(sync): update OpenRouter model catalog
2026-05-28 14:30:56 -05:00
github-actions[bot] 2e6ebb6750 chore(sync): update OpenRouter model catalog 2026-05-28 19:11:47 +00:00
calebboyd d8c2e15632 feat: add vercel ai gateway opus 4.8 2026-05-28 13:33:37 -05:00
Frank 8a70160200 update zen model 2026-05-28 14:01:35 -04:00
Aiden Cline 7ea1d4e15c Merge pull request #1882 from anomalyco/add-opus-4.8
feat: add opus 4.8
2026-05-28 12:04:51 -05:00
bas3line 3df181411f fix(routing-run): update API base URL 2026-05-28 08:58:33 +05:30
Aakash GupteandClaude Opus 4.7 9367cc1825 Add Merge Gateway logo
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 17:22:44 -04:00
Aakash GupteandClaude Opus 4.7 96b9a04c4b Add Merge Gateway provider
Merge Gateway (https://merge.dev) is an LLM gateway exposing an
OpenAI/Anthropic-compatible API across many providers, using the
published `merge-gateway-ai-sdk-provider` npm package. Models are
defined via `extends` from existing canonical entries.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 14:32:21 -04:00
291 changed files with 1476 additions and 1381 deletions

No files matched your search

+2
View File
@@ -117,6 +117,8 @@ export const ModelFamilyValues = [
"minimax",
"minimax-m2.5",
"minimax-m2.7",
"minimax-m3",
"minimax-m3-free",
"minimax-free",
// Hunyuan
+13
View File
@@ -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
View File
@@ -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;
},
{
+4 -1
View File
@@ -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"]
+3 -3
View File
@@ -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
+1 -1
View File
@@ -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 -2
View File
@@ -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]
+4
View File
@@ -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"]
+2 -2
View File
@@ -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
+21
View File
@@ -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"]
+21
View File
@@ -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]
+21
View File
@@ -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"]
+4
View File
@@ -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"]
+1 -1
View File
@@ -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"]
+3 -3
View File
@@ -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"
+4
View File
@@ -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
+3 -19
View File
@@ -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"]
+5 -21
View File
@@ -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
+2 -18
View File
@@ -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"]
+2 -18
View File
@@ -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"]
@@ -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
+4 -4
View File
@@ -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"]
+3 -3
View File
@@ -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"]
+3 -3
View File
@@ -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