|
|
|
|
@@ -12031,6 +12031,23 @@ export const MODELS = {
|
|
|
|
|
contextWindow: 202752,
|
|
|
|
|
maxTokens: 131072,
|
|
|
|
|
} satisfies Model<"openai-completions">,
|
|
|
|
|
"~anthropic/claude-haiku-latest": {
|
|
|
|
|
id: "~anthropic/claude-haiku-latest",
|
|
|
|
|
name: "Anthropic Claude Haiku Latest",
|
|
|
|
|
api: "openai-completions",
|
|
|
|
|
provider: "openrouter",
|
|
|
|
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
|
|
|
reasoning: true,
|
|
|
|
|
input: ["text", "image"],
|
|
|
|
|
cost: {
|
|
|
|
|
input: 1,
|
|
|
|
|
output: 5,
|
|
|
|
|
cacheRead: 0.09999999999999999,
|
|
|
|
|
cacheWrite: 1.25,
|
|
|
|
|
},
|
|
|
|
|
contextWindow: 200000,
|
|
|
|
|
maxTokens: 64000,
|
|
|
|
|
} satisfies Model<"openai-completions">,
|
|
|
|
|
"~anthropic/claude-opus-latest": {
|
|
|
|
|
id: "~anthropic/claude-opus-latest",
|
|
|
|
|
name: "Anthropic: Claude Opus Latest",
|
|
|
|
|
@@ -12048,6 +12065,108 @@ export const MODELS = {
|
|
|
|
|
contextWindow: 1000000,
|
|
|
|
|
maxTokens: 128000,
|
|
|
|
|
} satisfies Model<"openai-completions">,
|
|
|
|
|
"~anthropic/claude-sonnet-latest": {
|
|
|
|
|
id: "~anthropic/claude-sonnet-latest",
|
|
|
|
|
name: "Anthropic Claude Sonnet Latest",
|
|
|
|
|
api: "openai-completions",
|
|
|
|
|
provider: "openrouter",
|
|
|
|
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
|
|
|
reasoning: true,
|
|
|
|
|
input: ["text", "image"],
|
|
|
|
|
cost: {
|
|
|
|
|
input: 3,
|
|
|
|
|
output: 15,
|
|
|
|
|
cacheRead: 0.3,
|
|
|
|
|
cacheWrite: 3.75,
|
|
|
|
|
},
|
|
|
|
|
contextWindow: 1000000,
|
|
|
|
|
maxTokens: 128000,
|
|
|
|
|
} satisfies Model<"openai-completions">,
|
|
|
|
|
"~google/gemini-flash-latest": {
|
|
|
|
|
id: "~google/gemini-flash-latest",
|
|
|
|
|
name: "Google Gemini Flash Latest",
|
|
|
|
|
api: "openai-completions",
|
|
|
|
|
provider: "openrouter",
|
|
|
|
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
|
|
|
reasoning: true,
|
|
|
|
|
input: ["text", "image"],
|
|
|
|
|
cost: {
|
|
|
|
|
input: 0.5,
|
|
|
|
|
output: 3,
|
|
|
|
|
cacheRead: 0.049999999999999996,
|
|
|
|
|
cacheWrite: 0.08333333333333334,
|
|
|
|
|
},
|
|
|
|
|
contextWindow: 1048576,
|
|
|
|
|
maxTokens: 65536,
|
|
|
|
|
} satisfies Model<"openai-completions">,
|
|
|
|
|
"~google/gemini-pro-latest": {
|
|
|
|
|
id: "~google/gemini-pro-latest",
|
|
|
|
|
name: "Google Gemini Pro Latest",
|
|
|
|
|
api: "openai-completions",
|
|
|
|
|
provider: "openrouter",
|
|
|
|
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
|
|
|
reasoning: true,
|
|
|
|
|
input: ["text", "image"],
|
|
|
|
|
cost: {
|
|
|
|
|
input: 2,
|
|
|
|
|
output: 12,
|
|
|
|
|
cacheRead: 0.19999999999999998,
|
|
|
|
|
cacheWrite: 0.375,
|
|
|
|
|
},
|
|
|
|
|
contextWindow: 1048576,
|
|
|
|
|
maxTokens: 65536,
|
|
|
|
|
} satisfies Model<"openai-completions">,
|
|
|
|
|
"~moonshotai/kimi-latest": {
|
|
|
|
|
id: "~moonshotai/kimi-latest",
|
|
|
|
|
name: "MoonshotAI Kimi Latest",
|
|
|
|
|
api: "openai-completions",
|
|
|
|
|
provider: "openrouter",
|
|
|
|
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
|
|
|
reasoning: true,
|
|
|
|
|
input: ["text", "image"],
|
|
|
|
|
cost: {
|
|
|
|
|
input: 0.7448,
|
|
|
|
|
output: 4.655,
|
|
|
|
|
cacheRead: 0.1463,
|
|
|
|
|
cacheWrite: 0,
|
|
|
|
|
},
|
|
|
|
|
contextWindow: 256000,
|
|
|
|
|
maxTokens: 65536,
|
|
|
|
|
} satisfies Model<"openai-completions">,
|
|
|
|
|
"~openai/gpt-latest": {
|
|
|
|
|
id: "~openai/gpt-latest",
|
|
|
|
|
name: "OpenAI GPT Latest",
|
|
|
|
|
api: "openai-completions",
|
|
|
|
|
provider: "openrouter",
|
|
|
|
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
|
|
|
reasoning: true,
|
|
|
|
|
input: ["text", "image"],
|
|
|
|
|
cost: {
|
|
|
|
|
input: 5,
|
|
|
|
|
output: 30,
|
|
|
|
|
cacheRead: 0.5,
|
|
|
|
|
cacheWrite: 0,
|
|
|
|
|
},
|
|
|
|
|
contextWindow: 1050000,
|
|
|
|
|
maxTokens: 128000,
|
|
|
|
|
} satisfies Model<"openai-completions">,
|
|
|
|
|
"~openai/gpt-mini-latest": {
|
|
|
|
|
id: "~openai/gpt-mini-latest",
|
|
|
|
|
name: "OpenAI GPT Mini Latest",
|
|
|
|
|
api: "openai-completions",
|
|
|
|
|
provider: "openrouter",
|
|
|
|
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
|
|
|
reasoning: true,
|
|
|
|
|
input: ["text", "image"],
|
|
|
|
|
cost: {
|
|
|
|
|
input: 0.75,
|
|
|
|
|
output: 4.5,
|
|
|
|
|
cacheRead: 0.075,
|
|
|
|
|
cacheWrite: 0,
|
|
|
|
|
},
|
|
|
|
|
contextWindow: 400000,
|
|
|
|
|
maxTokens: 128000,
|
|
|
|
|
} satisfies Model<"openai-completions">,
|
|
|
|
|
},
|
|
|
|
|
"vercel-ai-gateway": {
|
|
|
|
|
"alibaba/qwen-3-14b": {
|
|
|
|
|
|