mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-23 08:46:53 +00:00
update providers
This commit is contained in:
@@ -3,6 +3,7 @@ dist
|
||||
.bun
|
||||
src/generated
|
||||
packages/db/src/generated
|
||||
packages/core/src/generated
|
||||
src/ui/components/ui
|
||||
packages/webui/paraglide
|
||||
*.md
|
||||
|
||||
@@ -47,34 +47,34 @@ export const builtinProviders: Record<string, any> = {
|
||||
groq,
|
||||
openrouter,
|
||||
mistral,
|
||||
'amazon-bedrock': amazonBedrock,
|
||||
'ant-ling': antLing,
|
||||
'azure-openai-responses': azureOpenaiResponses,
|
||||
"amazon-bedrock": amazonBedrock,
|
||||
"ant-ling": antLing,
|
||||
"azure-openai-responses": azureOpenaiResponses,
|
||||
cerebras,
|
||||
'cloudflare-ai-gateway': cloudflareAiGateway,
|
||||
'cloudflare-workers-ai': cloudflareWorkersAi,
|
||||
"cloudflare-ai-gateway": cloudflareAiGateway,
|
||||
"cloudflare-workers-ai": cloudflareWorkersAi,
|
||||
fireworks,
|
||||
'github-copilot': githubCopilot,
|
||||
'google-vertex': googleVertex,
|
||||
"github-copilot": githubCopilot,
|
||||
"google-vertex": googleVertex,
|
||||
huggingface,
|
||||
'kimi-coding': kimiCoding,
|
||||
"kimi-coding": kimiCoding,
|
||||
minimax,
|
||||
'minimax-cn': minimaxCn,
|
||||
"minimax-cn": minimaxCn,
|
||||
moonshotai,
|
||||
'moonshotai-cn': moonshotaiCn,
|
||||
"moonshotai-cn": moonshotaiCn,
|
||||
nvidia,
|
||||
'openai-codex': openaiCodex,
|
||||
"openai-codex": openaiCodex,
|
||||
opencode,
|
||||
'opencode-go': opencodeGo,
|
||||
'qwen-token-plan': qwenTokenPlan,
|
||||
'qwen-token-plan-cn': qwenTokenPlanCn,
|
||||
"opencode-go": opencodeGo,
|
||||
"qwen-token-plan": qwenTokenPlan,
|
||||
"qwen-token-plan-cn": qwenTokenPlanCn,
|
||||
together,
|
||||
'vercel-ai-gateway': vercelAiGateway,
|
||||
"vercel-ai-gateway": vercelAiGateway,
|
||||
xai,
|
||||
xiaomi,
|
||||
'xiaomi-token-plan-ams': xiaomiTokenPlanAms,
|
||||
'xiaomi-token-plan-cn': xiaomiTokenPlanCn,
|
||||
'xiaomi-token-plan-sgp': xiaomiTokenPlanSgp,
|
||||
"xiaomi-token-plan-ams": xiaomiTokenPlanAms,
|
||||
"xiaomi-token-plan-cn": xiaomiTokenPlanCn,
|
||||
"xiaomi-token-plan-sgp": xiaomiTokenPlanSgp,
|
||||
zai,
|
||||
'zai-coding-cn': zaiCodingCn,
|
||||
"zai-coding-cn": zaiCodingCn,
|
||||
} as unknown as Record<string, any>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,65 +1,71 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'ant-ling'
|
||||
export const providerName = "ant-ling"
|
||||
export const providerConfig = {
|
||||
name: 'ant-ling',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://api.ant-ling.com/v1',
|
||||
apiKey: '',
|
||||
"name": "ant-ling",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://api.ant-ling.com/v1",
|
||||
"apiKey": ""
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'Ling-2.6-1T',
|
||||
name: 'Ling 2.6 1T',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.06,
|
||||
output: 0.25,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "Ling-2.6-1T",
|
||||
"name": "Ling 2.6 1T",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.06,
|
||||
"output": 0.25,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'Ling-2.6-flash',
|
||||
name: 'Ling 2.6 Flash',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.01,
|
||||
output: 0.02,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "Ling-2.6-flash",
|
||||
"name": "Ling 2.6 Flash",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.01,
|
||||
"output": 0.02,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'Ring-2.6-1T',
|
||||
name: 'Ring 2.6 1T',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.06,
|
||||
output: 0.25,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "Ring-2.6-1T",
|
||||
"name": "Ring 2.6 1T",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.06,
|
||||
"output": 0.25,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,252 +1,294 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'anthropic'
|
||||
export const providerName = "anthropic"
|
||||
export const providerConfig = {
|
||||
name: 'anthropic',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
baseUrl: 'https://api.anthropic.com',
|
||||
apiKey: 'ANTHROPIC_API_KEY',
|
||||
"name": "anthropic",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"baseUrl": "https://api.anthropic.com",
|
||||
"apiKey": "ANTHROPIC_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'claude-fable-5',
|
||||
name: 'Claude Fable 5',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 10,
|
||||
output: 50,
|
||||
cacheRead: 1,
|
||||
cacheWrite: 12.5,
|
||||
},
|
||||
},
|
||||
"modelId": "claude-fable-5",
|
||||
"name": "Claude Fable 5",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 10,
|
||||
"output": 50,
|
||||
"cacheRead": 1,
|
||||
"cacheWrite": 12.5
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'claude-haiku-4-5',
|
||||
name: 'Claude Haiku 4.5 (latest)',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 200000,
|
||||
maxTokens: 64000,
|
||||
cost: {
|
||||
input: 1,
|
||||
output: 5,
|
||||
cacheRead: 0.1,
|
||||
cacheWrite: 1.25,
|
||||
},
|
||||
},
|
||||
"modelId": "claude-haiku-4-5",
|
||||
"name": "Claude Haiku 4.5 (latest)",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 200000,
|
||||
"maxTokens": 64000,
|
||||
"cost": {
|
||||
"input": 1,
|
||||
"output": 5,
|
||||
"cacheRead": 0.1,
|
||||
"cacheWrite": 1.25
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'claude-haiku-4-5-20251001',
|
||||
name: 'Claude Haiku 4.5',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 200000,
|
||||
maxTokens: 64000,
|
||||
cost: {
|
||||
input: 1,
|
||||
output: 5,
|
||||
cacheRead: 0.1,
|
||||
cacheWrite: 1.25,
|
||||
},
|
||||
},
|
||||
"modelId": "claude-haiku-4-5-20251001",
|
||||
"name": "Claude Haiku 4.5",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 200000,
|
||||
"maxTokens": 64000,
|
||||
"cost": {
|
||||
"input": 1,
|
||||
"output": 5,
|
||||
"cacheRead": 0.1,
|
||||
"cacheWrite": 1.25
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'claude-opus-4-1',
|
||||
name: 'Claude Opus 4.1 (latest)',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 200000,
|
||||
maxTokens: 32000,
|
||||
cost: {
|
||||
input: 15,
|
||||
output: 75,
|
||||
cacheRead: 1.5,
|
||||
cacheWrite: 18.75,
|
||||
},
|
||||
},
|
||||
"modelId": "claude-opus-4-1",
|
||||
"name": "Claude Opus 4.1 (latest)",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 200000,
|
||||
"maxTokens": 32000,
|
||||
"cost": {
|
||||
"input": 15,
|
||||
"output": 75,
|
||||
"cacheRead": 1.5,
|
||||
"cacheWrite": 18.75
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'claude-opus-4-1-20250805',
|
||||
name: 'Claude Opus 4.1',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 200000,
|
||||
maxTokens: 32000,
|
||||
cost: {
|
||||
input: 15,
|
||||
output: 75,
|
||||
cacheRead: 1.5,
|
||||
cacheWrite: 18.75,
|
||||
},
|
||||
},
|
||||
"modelId": "claude-opus-4-1-20250805",
|
||||
"name": "Claude Opus 4.1",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 200000,
|
||||
"maxTokens": 32000,
|
||||
"cost": {
|
||||
"input": 15,
|
||||
"output": 75,
|
||||
"cacheRead": 1.5,
|
||||
"cacheWrite": 18.75
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'claude-opus-4-5',
|
||||
name: 'Claude Opus 4.5 (latest)',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 200000,
|
||||
maxTokens: 64000,
|
||||
cost: {
|
||||
input: 5,
|
||||
output: 25,
|
||||
cacheRead: 0.5,
|
||||
cacheWrite: 6.25,
|
||||
},
|
||||
},
|
||||
"modelId": "claude-opus-4-5",
|
||||
"name": "Claude Opus 4.5 (latest)",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 200000,
|
||||
"maxTokens": 64000,
|
||||
"cost": {
|
||||
"input": 5,
|
||||
"output": 25,
|
||||
"cacheRead": 0.5,
|
||||
"cacheWrite": 6.25
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'claude-opus-4-5-20251101',
|
||||
name: 'Claude Opus 4.5',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 200000,
|
||||
maxTokens: 64000,
|
||||
cost: {
|
||||
input: 5,
|
||||
output: 25,
|
||||
cacheRead: 0.5,
|
||||
cacheWrite: 6.25,
|
||||
},
|
||||
},
|
||||
"modelId": "claude-opus-4-5-20251101",
|
||||
"name": "Claude Opus 4.5",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 200000,
|
||||
"maxTokens": 64000,
|
||||
"cost": {
|
||||
"input": 5,
|
||||
"output": 25,
|
||||
"cacheRead": 0.5,
|
||||
"cacheWrite": 6.25
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'claude-opus-4-6',
|
||||
name: 'Claude Opus 4.6',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 5,
|
||||
output: 25,
|
||||
cacheRead: 0.5,
|
||||
cacheWrite: 6.25,
|
||||
},
|
||||
},
|
||||
"modelId": "claude-opus-4-6",
|
||||
"name": "Claude Opus 4.6",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 5,
|
||||
"output": 25,
|
||||
"cacheRead": 0.5,
|
||||
"cacheWrite": 6.25
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'claude-opus-4-7',
|
||||
name: 'Claude Opus 4.7',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 5,
|
||||
output: 25,
|
||||
cacheRead: 0.5,
|
||||
cacheWrite: 6.25,
|
||||
},
|
||||
},
|
||||
"modelId": "claude-opus-4-7",
|
||||
"name": "Claude Opus 4.7",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 5,
|
||||
"output": 25,
|
||||
"cacheRead": 0.5,
|
||||
"cacheWrite": 6.25
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'claude-opus-4-8',
|
||||
name: 'Claude Opus 4.8',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 5,
|
||||
output: 25,
|
||||
cacheRead: 0.5,
|
||||
cacheWrite: 6.25,
|
||||
},
|
||||
},
|
||||
"modelId": "claude-opus-4-8",
|
||||
"name": "Claude Opus 4.8",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 5,
|
||||
"output": 25,
|
||||
"cacheRead": 0.5,
|
||||
"cacheWrite": 6.25
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'claude-sonnet-4-5',
|
||||
name: 'Claude Sonnet 4.5 (latest)',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 64000,
|
||||
cost: {
|
||||
input: 3,
|
||||
output: 15,
|
||||
cacheRead: 0.3,
|
||||
cacheWrite: 3.75,
|
||||
},
|
||||
},
|
||||
"modelId": "claude-sonnet-4-5",
|
||||
"name": "Claude Sonnet 4.5 (latest)",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 64000,
|
||||
"cost": {
|
||||
"input": 3,
|
||||
"output": 15,
|
||||
"cacheRead": 0.3,
|
||||
"cacheWrite": 3.75
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'claude-sonnet-4-5-20250929',
|
||||
name: 'Claude Sonnet 4.5',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 64000,
|
||||
cost: {
|
||||
input: 3,
|
||||
output: 15,
|
||||
cacheRead: 0.3,
|
||||
cacheWrite: 3.75,
|
||||
},
|
||||
},
|
||||
"modelId": "claude-sonnet-4-5-20250929",
|
||||
"name": "Claude Sonnet 4.5",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 64000,
|
||||
"cost": {
|
||||
"input": 3,
|
||||
"output": 15,
|
||||
"cacheRead": 0.3,
|
||||
"cacheWrite": 3.75
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'claude-sonnet-4-6',
|
||||
name: 'Claude Sonnet 4.6',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 3,
|
||||
output: 15,
|
||||
cacheRead: 0.3,
|
||||
cacheWrite: 3.75,
|
||||
},
|
||||
},
|
||||
"modelId": "claude-sonnet-4-6",
|
||||
"name": "Claude Sonnet 4.6",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 3,
|
||||
"output": 15,
|
||||
"cacheRead": 0.3,
|
||||
"cacheWrite": 3.75
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'claude-sonnet-5',
|
||||
name: 'Claude Sonnet 5',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 2,
|
||||
output: 10,
|
||||
cacheRead: 0.2,
|
||||
cacheWrite: 2.5,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "claude-sonnet-5",
|
||||
"name": "Claude Sonnet 5",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 2,
|
||||
"output": 10,
|
||||
"cacheRead": 0.2,
|
||||
"cacheWrite": 2.5
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,65 +1,72 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'cerebras'
|
||||
export const providerName = "cerebras"
|
||||
export const providerConfig = {
|
||||
name: 'cerebras',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://api.cerebras.ai/v1',
|
||||
apiKey: 'CEREBRAS_API_KEY',
|
||||
"name": "cerebras",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://api.cerebras.ai/v1",
|
||||
"apiKey": "CEREBRAS_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'gemma-4-31b',
|
||||
name: 'Gemma 4 31B IT',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 40960,
|
||||
cost: {
|
||||
input: 0.99,
|
||||
output: 1.49,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemma-4-31b",
|
||||
"name": "Gemma 4 31B IT",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 40960,
|
||||
"cost": {
|
||||
"input": 0.99,
|
||||
"output": 1.49,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gpt-oss-120b',
|
||||
name: 'GPT OSS 120B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 40960,
|
||||
cost: {
|
||||
input: 0.35,
|
||||
output: 0.75,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gpt-oss-120b",
|
||||
"name": "GPT OSS 120B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 40960,
|
||||
"cost": {
|
||||
"input": 0.35,
|
||||
"output": 0.75,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'zai-glm-4.7',
|
||||
name: 'Z.AI GLM-4.7',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 40960,
|
||||
cost: {
|
||||
input: 2.25,
|
||||
output: 2.75,
|
||||
cacheRead: 2.25,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "zai-glm-4.7",
|
||||
"name": "Z.AI GLM-4.7",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 40960,
|
||||
"cost": {
|
||||
"input": 2.25,
|
||||
"output": 2.75,
|
||||
"cacheRead": 2.25,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,235 +1,265 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'cloudflare-workers-ai'
|
||||
export const providerName = "cloudflare-workers-ai"
|
||||
export const providerConfig = {
|
||||
name: 'cloudflare-workers-ai',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1',
|
||||
apiKey: 'CLOUDFLARE_API_KEY',
|
||||
"name": "cloudflare-workers-ai",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
|
||||
"apiKey": "CLOUDFLARE_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: '@cf/google/gemma-4-26b-a4b-it',
|
||||
name: 'Gemma 4 26B A4B IT',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 256000,
|
||||
maxTokens: 16384,
|
||||
cost: {
|
||||
input: 0.1,
|
||||
output: 0.3,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "@cf/google/gemma-4-26b-a4b-it",
|
||||
"name": "Gemma 4 26B A4B IT",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 256000,
|
||||
"maxTokens": 16384,
|
||||
"cost": {
|
||||
"input": 0.1,
|
||||
"output": 0.3,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: '@cf/ibm-granite/granite-4.0-h-micro',
|
||||
name: 'Granite 4.0 H Micro',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 131000,
|
||||
maxTokens: 131000,
|
||||
cost: {
|
||||
input: 0.017,
|
||||
output: 0.112,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "@cf/ibm-granite/granite-4.0-h-micro",
|
||||
"name": "Granite 4.0 H Micro",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131000,
|
||||
"maxTokens": 131000,
|
||||
"cost": {
|
||||
"input": 0.017,
|
||||
"output": 0.112,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: '@cf/meta/llama-3.3-70b-instruct-fp8-fast',
|
||||
name: 'Llama 3.3 70B Instruct fp8 Fast',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 24000,
|
||||
maxTokens: 24000,
|
||||
cost: {
|
||||
input: 0.293,
|
||||
output: 2.253,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "@cf/meta/llama-3.3-70b-instruct-fp8-fast",
|
||||
"name": "Llama 3.3 70B Instruct fp8 Fast",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 24000,
|
||||
"maxTokens": 24000,
|
||||
"cost": {
|
||||
"input": 0.293,
|
||||
"output": 2.253,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: '@cf/meta/llama-4-scout-17b-16e-instruct',
|
||||
name: 'Llama 4 Scout 17B 16E Instruct',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 131000,
|
||||
maxTokens: 16384,
|
||||
cost: {
|
||||
input: 0.27,
|
||||
output: 0.85,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "@cf/meta/llama-4-scout-17b-16e-instruct",
|
||||
"name": "Llama 4 Scout 17B 16E Instruct",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 131000,
|
||||
"maxTokens": 16384,
|
||||
"cost": {
|
||||
"input": 0.27,
|
||||
"output": 0.85,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: '@cf/mistralai/mistral-small-3.1-24b-instruct',
|
||||
name: 'Mistral Small 3.1 24B Instruct',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 128000,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 0.351,
|
||||
output: 0.555,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "@cf/mistralai/mistral-small-3.1-24b-instruct",
|
||||
"name": "Mistral Small 3.1 24B Instruct",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 128000,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 0.351,
|
||||
"output": 0.555,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: '@cf/moonshotai/kimi-k2.6',
|
||||
name: 'Kimi K2.6',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 256000,
|
||||
cost: {
|
||||
input: 0.95,
|
||||
output: 4,
|
||||
cacheRead: 0.16,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "@cf/moonshotai/kimi-k2.6",
|
||||
"name": "Kimi K2.6",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 256000,
|
||||
"cost": {
|
||||
"input": 0.95,
|
||||
"output": 4,
|
||||
"cacheRead": 0.16,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: '@cf/moonshotai/kimi-k2.7-code',
|
||||
name: 'Kimi K2.7 Code',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 0.95,
|
||||
output: 4,
|
||||
cacheRead: 0.19,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "@cf/moonshotai/kimi-k2.7-code",
|
||||
"name": "Kimi K2.7 Code",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 0.95,
|
||||
"output": 4,
|
||||
"cacheRead": 0.19,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: '@cf/nvidia/nemotron-3-120b-a12b',
|
||||
name: 'Nemotron 3 Super 120B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 256000,
|
||||
maxTokens: 256000,
|
||||
cost: {
|
||||
input: 0.5,
|
||||
output: 1.5,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "@cf/nvidia/nemotron-3-120b-a12b",
|
||||
"name": "Nemotron 3 Super 120B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 256000,
|
||||
"maxTokens": 256000,
|
||||
"cost": {
|
||||
"input": 0.5,
|
||||
"output": 1.5,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: '@cf/openai/gpt-oss-120b',
|
||||
name: 'GPT OSS 120B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 128000,
|
||||
maxTokens: 16384,
|
||||
cost: {
|
||||
input: 0.35,
|
||||
output: 0.75,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "@cf/openai/gpt-oss-120b",
|
||||
"name": "GPT OSS 120B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 128000,
|
||||
"maxTokens": 16384,
|
||||
"cost": {
|
||||
"input": 0.35,
|
||||
"output": 0.75,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: '@cf/openai/gpt-oss-20b',
|
||||
name: 'GPT OSS 20B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 128000,
|
||||
maxTokens: 16384,
|
||||
cost: {
|
||||
input: 0.2,
|
||||
output: 0.3,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "@cf/openai/gpt-oss-20b",
|
||||
"name": "GPT OSS 20B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 128000,
|
||||
"maxTokens": 16384,
|
||||
"cost": {
|
||||
"input": 0.2,
|
||||
"output": 0.3,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: '@cf/qwen/qwen3-30b-a3b-fp8',
|
||||
name: 'Qwen3 30B A3b fp8',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 32768,
|
||||
maxTokens: 32768,
|
||||
cost: {
|
||||
input: 0.0509,
|
||||
output: 0.335,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "@cf/qwen/qwen3-30b-a3b-fp8",
|
||||
"name": "Qwen3 30B A3b fp8",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 32768,
|
||||
"maxTokens": 32768,
|
||||
"cost": {
|
||||
"input": 0.0509,
|
||||
"output": 0.335,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: '@cf/zai-org/glm-4.7-flash',
|
||||
name: 'GLM-4.7-Flash',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0.0605,
|
||||
output: 0.4,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "@cf/zai-org/glm-4.7-flash",
|
||||
"name": "GLM-4.7-Flash",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0.0605,
|
||||
"output": 0.4,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: '@cf/zai-org/glm-5.2',
|
||||
name: 'Glm 5.2',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 1.4,
|
||||
output: 4.4,
|
||||
cacheRead: 0.26,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "@cf/zai-org/glm-5.2",
|
||||
"name": "Glm 5.2",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 1.4,
|
||||
"output": 4.4,
|
||||
"cacheRead": 0.26,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,48 +1,52 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'deepseek'
|
||||
export const providerName = "deepseek"
|
||||
export const providerConfig = {
|
||||
name: 'deepseek',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://api.deepseek.com',
|
||||
apiKey: 'DEEPSEEK_API_KEY',
|
||||
"name": "deepseek",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://api.deepseek.com",
|
||||
"apiKey": "DEEPSEEK_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'deepseek-v4-flash',
|
||||
name: 'DeepSeek V4 Flash',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 384000,
|
||||
cost: {
|
||||
input: 0.14,
|
||||
output: 0.28,
|
||||
cacheRead: 0.0028,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "deepseek-v4-flash",
|
||||
"name": "DeepSeek V4 Flash",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 384000,
|
||||
"cost": {
|
||||
"input": 0.14,
|
||||
"output": 0.28,
|
||||
"cacheRead": 0.0028,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'deepseek-v4-pro',
|
||||
name: 'DeepSeek V4 Pro',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 384000,
|
||||
cost: {
|
||||
input: 0.435,
|
||||
output: 0.87,
|
||||
cacheRead: 0.003625,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "deepseek-v4-pro",
|
||||
"name": "DeepSeek V4 Pro",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 384000,
|
||||
"cost": {
|
||||
"input": 0.435,
|
||||
"output": 0.87,
|
||||
"cacheRead": 0.003625,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,286 +1,324 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'fireworks'
|
||||
export const providerName = "fireworks"
|
||||
export const providerConfig = {
|
||||
name: 'fireworks',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
baseUrl: 'https://api.fireworks.ai/inference',
|
||||
apiKey: 'FIREWORKS_API_KEY',
|
||||
"name": "fireworks",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"baseUrl": "https://api.fireworks.ai/inference",
|
||||
"apiKey": "FIREWORKS_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'accounts/fireworks/models/deepseek-v4-flash',
|
||||
name: 'DeepSeek V4 Flash',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 384000,
|
||||
cost: {
|
||||
input: 0.14,
|
||||
output: 0.28,
|
||||
cacheRead: 0.028,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "accounts/fireworks/models/deepseek-v4-flash",
|
||||
"name": "DeepSeek V4 Flash",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 384000,
|
||||
"cost": {
|
||||
"input": 0.14,
|
||||
"output": 0.28,
|
||||
"cacheRead": 0.028,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'accounts/fireworks/models/deepseek-v4-pro',
|
||||
name: 'DeepSeek V4 Pro',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 384000,
|
||||
cost: {
|
||||
input: 1.74,
|
||||
output: 3.48,
|
||||
cacheRead: 0.145,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "accounts/fireworks/models/deepseek-v4-pro",
|
||||
"name": "DeepSeek V4 Pro",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 384000,
|
||||
"cost": {
|
||||
"input": 1.74,
|
||||
"output": 3.48,
|
||||
"cacheRead": 0.145,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'accounts/fireworks/models/glm-5p1',
|
||||
name: 'GLM 5.1',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 202800,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 1.4,
|
||||
output: 4.4,
|
||||
cacheRead: 0.26,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "accounts/fireworks/models/glm-5p1",
|
||||
"name": "GLM 5.1",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 202800,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 1.4,
|
||||
"output": 4.4,
|
||||
"cacheRead": 0.26,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'accounts/fireworks/models/glm-5p2',
|
||||
name: 'GLM 5.2',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1048575,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 1.4,
|
||||
output: 4.4,
|
||||
cacheRead: 0.14,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "accounts/fireworks/models/glm-5p2",
|
||||
"name": "GLM 5.2",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1048575,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 1.4,
|
||||
"output": 4.4,
|
||||
"cacheRead": 0.14,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'accounts/fireworks/models/gpt-oss-120b',
|
||||
name: 'GPT OSS 120B',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 32768,
|
||||
cost: {
|
||||
input: 0.15,
|
||||
output: 0.6,
|
||||
cacheRead: 0.015,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "accounts/fireworks/models/gpt-oss-120b",
|
||||
"name": "GPT OSS 120B",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 32768,
|
||||
"cost": {
|
||||
"input": 0.15,
|
||||
"output": 0.6,
|
||||
"cacheRead": 0.015,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'accounts/fireworks/models/gpt-oss-20b',
|
||||
name: 'GPT OSS 20B',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 32768,
|
||||
cost: {
|
||||
input: 0.07,
|
||||
output: 0.3,
|
||||
cacheRead: 0.035,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "accounts/fireworks/models/gpt-oss-20b",
|
||||
"name": "GPT OSS 20B",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 32768,
|
||||
"cost": {
|
||||
"input": 0.07,
|
||||
"output": 0.3,
|
||||
"cacheRead": 0.035,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'accounts/fireworks/models/kimi-k2p6',
|
||||
name: 'Kimi K2.6',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262000,
|
||||
maxTokens: 262000,
|
||||
cost: {
|
||||
input: 0.95,
|
||||
output: 4,
|
||||
cacheRead: 0.16,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "accounts/fireworks/models/kimi-k2p6",
|
||||
"name": "Kimi K2.6",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262000,
|
||||
"maxTokens": 262000,
|
||||
"cost": {
|
||||
"input": 0.95,
|
||||
"output": 4,
|
||||
"cacheRead": 0.16,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'accounts/fireworks/models/kimi-k2p7-code',
|
||||
name: 'Kimi K2.7 Code',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262000,
|
||||
maxTokens: 262000,
|
||||
cost: {
|
||||
input: 0.95,
|
||||
output: 4,
|
||||
cacheRead: 0.19,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "accounts/fireworks/models/kimi-k2p7-code",
|
||||
"name": "Kimi K2.7 Code",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262000,
|
||||
"maxTokens": 262000,
|
||||
"cost": {
|
||||
"input": 0.95,
|
||||
"output": 4,
|
||||
"cacheRead": 0.19,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'accounts/fireworks/models/minimax-m2p7',
|
||||
name: 'MiniMax-M2.7',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 196608,
|
||||
maxTokens: 196608,
|
||||
cost: {
|
||||
input: 0.3,
|
||||
output: 1.2,
|
||||
cacheRead: 0.06,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "accounts/fireworks/models/minimax-m2p7",
|
||||
"name": "MiniMax-M2.7",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 196608,
|
||||
"maxTokens": 196608,
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 1.2,
|
||||
"cacheRead": 0.06,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'accounts/fireworks/models/minimax-m3',
|
||||
name: 'MiniMax-M3',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 512000,
|
||||
maxTokens: 512000,
|
||||
cost: {
|
||||
input: 0.3,
|
||||
output: 1.2,
|
||||
cacheRead: 0.06,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "accounts/fireworks/models/minimax-m3",
|
||||
"name": "MiniMax-M3",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 512000,
|
||||
"maxTokens": 512000,
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 1.2,
|
||||
"cacheRead": 0.06,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'accounts/fireworks/models/qwen3p7-plus',
|
||||
name: 'Qwen 3.7 Plus',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.4,
|
||||
output: 1.6,
|
||||
cacheRead: 0.08,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "accounts/fireworks/models/qwen3p7-plus",
|
||||
"name": "Qwen 3.7 Plus",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.4,
|
||||
"output": 1.6,
|
||||
"cacheRead": 0.08,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'accounts/fireworks/routers/glm-5p1-fast',
|
||||
name: 'GLM 5.1 Fast',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 202800,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 2.8,
|
||||
output: 8.8,
|
||||
cacheRead: 0.52,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "accounts/fireworks/routers/glm-5p1-fast",
|
||||
"name": "GLM 5.1 Fast",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 202800,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 2.8,
|
||||
"output": 8.8,
|
||||
"cacheRead": 0.52,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'accounts/fireworks/routers/glm-5p2-fast',
|
||||
name: 'GLM 5.2 Fast',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1048575,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 2.1,
|
||||
output: 6.6,
|
||||
cacheRead: 0.21,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "accounts/fireworks/routers/glm-5p2-fast",
|
||||
"name": "GLM 5.2 Fast",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1048575,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 2.1,
|
||||
"output": 6.6,
|
||||
"cacheRead": 0.21,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'accounts/fireworks/routers/kimi-k2p6-fast',
|
||||
name: 'Kimi K2.6 Fast',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262000,
|
||||
maxTokens: 262000,
|
||||
cost: {
|
||||
input: 2,
|
||||
output: 8,
|
||||
cacheRead: 0.3,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "accounts/fireworks/routers/kimi-k2p6-fast",
|
||||
"name": "Kimi K2.6 Fast",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262000,
|
||||
"maxTokens": 262000,
|
||||
"cost": {
|
||||
"input": 2,
|
||||
"output": 8,
|
||||
"cacheRead": 0.3,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'accounts/fireworks/routers/kimi-k2p6-turbo',
|
||||
name: 'Kimi K2.6 Turbo',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262000,
|
||||
maxTokens: 262000,
|
||||
cost: {
|
||||
input: 2,
|
||||
output: 8,
|
||||
cacheRead: 0.3,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "accounts/fireworks/routers/kimi-k2p6-turbo",
|
||||
"name": "Kimi K2.6 Turbo",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262000,
|
||||
"maxTokens": 262000,
|
||||
"cost": {
|
||||
"input": 2,
|
||||
"output": 8,
|
||||
"cacheRead": 0.3,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'accounts/fireworks/routers/kimi-k2p7-code-fast',
|
||||
name: 'Kimi K2.7 Code Fast',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262000,
|
||||
maxTokens: 262000,
|
||||
cost: {
|
||||
input: 1.9,
|
||||
output: 8,
|
||||
cacheRead: 0.38,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "accounts/fireworks/routers/kimi-k2p7-code-fast",
|
||||
"name": "Kimi K2.7 Code Fast",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262000,
|
||||
"maxTokens": 262000,
|
||||
"cost": {
|
||||
"input": 1.9,
|
||||
"output": 8,
|
||||
"cacheRead": 0.38,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,184 +1,214 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'google-vertex'
|
||||
export const providerName = "google-vertex"
|
||||
export const providerConfig = {
|
||||
name: 'google-vertex',
|
||||
config: {
|
||||
api: 'google-vertex',
|
||||
baseUrl: 'https://{location}-aiplatform.googleapis.com',
|
||||
apiKey: 'GOOGLE_CLOUD_API_KEY',
|
||||
"name": "google-vertex",
|
||||
"config": {
|
||||
"api": "google-vertex",
|
||||
"baseUrl": "https://{location}-aiplatform.googleapis.com",
|
||||
"apiKey": "GOOGLE_CLOUD_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'gemini-2.5-flash',
|
||||
name: 'Gemini 2.5 Flash',
|
||||
config: {
|
||||
api: 'google-vertex',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.3,
|
||||
output: 2.5,
|
||||
cacheRead: 0.03,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-2.5-flash",
|
||||
"name": "Gemini 2.5 Flash",
|
||||
"config": {
|
||||
"api": "google-vertex",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 2.5,
|
||||
"cacheRead": 0.03,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-2.5-flash-lite',
|
||||
name: 'Gemini 2.5 Flash-Lite',
|
||||
config: {
|
||||
api: 'google-vertex',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.1,
|
||||
output: 0.4,
|
||||
cacheRead: 0.01,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-2.5-flash-lite",
|
||||
"name": "Gemini 2.5 Flash-Lite",
|
||||
"config": {
|
||||
"api": "google-vertex",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.1,
|
||||
"output": 0.4,
|
||||
"cacheRead": 0.01,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-2.5-pro',
|
||||
name: 'Gemini 2.5 Pro',
|
||||
config: {
|
||||
api: 'google-vertex',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 1.25,
|
||||
output: 10,
|
||||
cacheRead: 0.125,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-2.5-pro",
|
||||
"name": "Gemini 2.5 Pro",
|
||||
"config": {
|
||||
"api": "google-vertex",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 1.25,
|
||||
"output": 10,
|
||||
"cacheRead": 0.125,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-3-flash-preview',
|
||||
name: 'Gemini 3 Flash Preview',
|
||||
config: {
|
||||
api: 'google-vertex',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.5,
|
||||
output: 3,
|
||||
cacheRead: 0.05,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-3-flash-preview",
|
||||
"name": "Gemini 3 Flash Preview",
|
||||
"config": {
|
||||
"api": "google-vertex",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.5,
|
||||
"output": 3,
|
||||
"cacheRead": 0.05,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-3.1-flash-lite',
|
||||
name: 'Gemini 3.1 Flash Lite',
|
||||
config: {
|
||||
api: 'google-vertex',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.25,
|
||||
output: 1.5,
|
||||
cacheRead: 0.025,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-3.1-flash-lite",
|
||||
"name": "Gemini 3.1 Flash Lite",
|
||||
"config": {
|
||||
"api": "google-vertex",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.25,
|
||||
"output": 1.5,
|
||||
"cacheRead": 0.025,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-3.1-pro-preview',
|
||||
name: 'Gemini 3.1 Pro Preview',
|
||||
config: {
|
||||
api: 'google-vertex',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 2,
|
||||
output: 12,
|
||||
cacheRead: 0.2,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-3.1-pro-preview",
|
||||
"name": "Gemini 3.1 Pro Preview",
|
||||
"config": {
|
||||
"api": "google-vertex",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 2,
|
||||
"output": 12,
|
||||
"cacheRead": 0.2,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-3.1-pro-preview-customtools',
|
||||
name: 'Gemini 3.1 Pro Preview Custom Tools',
|
||||
config: {
|
||||
api: 'google-vertex',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 2,
|
||||
output: 12,
|
||||
cacheRead: 0.2,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-3.1-pro-preview-customtools",
|
||||
"name": "Gemini 3.1 Pro Preview Custom Tools",
|
||||
"config": {
|
||||
"api": "google-vertex",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 2,
|
||||
"output": 12,
|
||||
"cacheRead": 0.2,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-3.5-flash',
|
||||
name: 'Gemini 3.5 Flash',
|
||||
config: {
|
||||
api: 'google-vertex',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 1.5,
|
||||
output: 9,
|
||||
cacheRead: 0.15,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-3.5-flash",
|
||||
"name": "Gemini 3.5 Flash",
|
||||
"config": {
|
||||
"api": "google-vertex",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 1.5,
|
||||
"output": 9,
|
||||
"cacheRead": 0.15,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-flash-latest',
|
||||
name: 'Gemini Flash Latest',
|
||||
config: {
|
||||
api: 'google-vertex',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 1.5,
|
||||
output: 9,
|
||||
cacheRead: 0.15,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-flash-latest",
|
||||
"name": "Gemini Flash Latest",
|
||||
"config": {
|
||||
"api": "google-vertex",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 1.5,
|
||||
"output": 9,
|
||||
"cacheRead": 0.15,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-flash-lite-latest',
|
||||
name: 'Gemini Flash-Lite Latest',
|
||||
config: {
|
||||
api: 'google-vertex',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.25,
|
||||
output: 1.5,
|
||||
cacheRead: 0.025,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "gemini-flash-lite-latest",
|
||||
"name": "Gemini Flash-Lite Latest",
|
||||
"config": {
|
||||
"api": "google-vertex",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.25,
|
||||
"output": 1.5,
|
||||
"cacheRead": 0.025,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,320 +1,374 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'google'
|
||||
export const providerName = "google"
|
||||
export const providerConfig = {
|
||||
name: 'google',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
baseUrl: 'https://generativelanguage.googleapis.com/v1beta',
|
||||
apiKey: 'GEMINI_API_KEY',
|
||||
"name": "google",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"baseUrl": "https://generativelanguage.googleapis.com/v1beta",
|
||||
"apiKey": "GEMINI_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'gemini-2.0-flash',
|
||||
name: 'Gemini 2.0 Flash',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: false,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 8192,
|
||||
cost: {
|
||||
input: 0.1,
|
||||
output: 0.4,
|
||||
cacheRead: 0.025,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-2.0-flash",
|
||||
"name": "Gemini 2.0 Flash",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 8192,
|
||||
"cost": {
|
||||
"input": 0.1,
|
||||
"output": 0.4,
|
||||
"cacheRead": 0.025,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-2.0-flash-lite',
|
||||
name: 'Gemini 2.0 Flash-Lite',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: false,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 8192,
|
||||
cost: {
|
||||
input: 0.075,
|
||||
output: 0.3,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-2.0-flash-lite",
|
||||
"name": "Gemini 2.0 Flash-Lite",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 8192,
|
||||
"cost": {
|
||||
"input": 0.075,
|
||||
"output": 0.3,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-2.5-flash',
|
||||
name: 'Gemini 2.5 Flash',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.3,
|
||||
output: 2.5,
|
||||
cacheRead: 0.03,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-2.5-flash",
|
||||
"name": "Gemini 2.5 Flash",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 2.5,
|
||||
"cacheRead": 0.03,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-2.5-flash-lite',
|
||||
name: 'Gemini 2.5 Flash-Lite',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.1,
|
||||
output: 0.4,
|
||||
cacheRead: 0.01,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-2.5-flash-lite",
|
||||
"name": "Gemini 2.5 Flash-Lite",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.1,
|
||||
"output": 0.4,
|
||||
"cacheRead": 0.01,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-2.5-pro',
|
||||
name: 'Gemini 2.5 Pro',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 1.25,
|
||||
output: 10,
|
||||
cacheRead: 0.125,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-2.5-pro",
|
||||
"name": "Gemini 2.5 Pro",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 1.25,
|
||||
"output": 10,
|
||||
"cacheRead": 0.125,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-3-flash-preview',
|
||||
name: 'Gemini 3 Flash Preview',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.5,
|
||||
output: 3,
|
||||
cacheRead: 0.05,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-3-flash-preview",
|
||||
"name": "Gemini 3 Flash Preview",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.5,
|
||||
"output": 3,
|
||||
"cacheRead": 0.05,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-3-pro-preview',
|
||||
name: 'Gemini 3 Pro Preview',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 2,
|
||||
output: 12,
|
||||
cacheRead: 0.2,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-3-pro-preview",
|
||||
"name": "Gemini 3 Pro Preview",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 2,
|
||||
"output": 12,
|
||||
"cacheRead": 0.2,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-3.1-flash-lite',
|
||||
name: 'Gemini 3.1 Flash Lite',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.25,
|
||||
output: 1.5,
|
||||
cacheRead: 0.025,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-3.1-flash-lite",
|
||||
"name": "Gemini 3.1 Flash Lite",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.25,
|
||||
"output": 1.5,
|
||||
"cacheRead": 0.025,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-3.1-flash-lite-preview',
|
||||
name: 'Gemini 3.1 Flash Lite Preview',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.25,
|
||||
output: 1.5,
|
||||
cacheRead: 0.025,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-3.1-flash-lite-preview",
|
||||
"name": "Gemini 3.1 Flash Lite Preview",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.25,
|
||||
"output": 1.5,
|
||||
"cacheRead": 0.025,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-3.1-pro-preview',
|
||||
name: 'Gemini 3.1 Pro Preview',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 2,
|
||||
output: 12,
|
||||
cacheRead: 0.2,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-3.1-pro-preview",
|
||||
"name": "Gemini 3.1 Pro Preview",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 2,
|
||||
"output": 12,
|
||||
"cacheRead": 0.2,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-3.1-pro-preview-customtools',
|
||||
name: 'Gemini 3.1 Pro Preview Custom Tools',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 2,
|
||||
output: 12,
|
||||
cacheRead: 0.2,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-3.1-pro-preview-customtools",
|
||||
"name": "Gemini 3.1 Pro Preview Custom Tools",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 2,
|
||||
"output": 12,
|
||||
"cacheRead": 0.2,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-3.5-flash',
|
||||
name: 'Gemini 3.5 Flash',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 1.5,
|
||||
output: 9,
|
||||
cacheRead: 0.15,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-3.5-flash",
|
||||
"name": "Gemini 3.5 Flash",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 1.5,
|
||||
"output": 9,
|
||||
"cacheRead": 0.15,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-3.5-flash-lite',
|
||||
name: 'Gemini 3.5 Flash Lite',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.3,
|
||||
output: 2.5,
|
||||
cacheRead: 0.03,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-3.5-flash-lite",
|
||||
"name": "Gemini 3.5 Flash Lite",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 2.5,
|
||||
"cacheRead": 0.03,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-3.6-flash',
|
||||
name: 'Gemini 3.6 Flash',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 1.5,
|
||||
output: 7.5,
|
||||
cacheRead: 0.15,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-3.6-flash",
|
||||
"name": "Gemini 3.6 Flash",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 1.5,
|
||||
"output": 7.5,
|
||||
"cacheRead": 0.15,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-flash-latest',
|
||||
name: 'Gemini Flash Latest',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 1.5,
|
||||
output: 9,
|
||||
cacheRead: 0.15,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-flash-latest",
|
||||
"name": "Gemini Flash Latest",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 1.5,
|
||||
"output": 9,
|
||||
"cacheRead": 0.15,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemini-flash-lite-latest',
|
||||
name: 'Gemini Flash-Lite Latest',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.25,
|
||||
output: 1.5,
|
||||
cacheRead: 0.025,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemini-flash-lite-latest",
|
||||
"name": "Gemini Flash-Lite Latest",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.25,
|
||||
"output": 1.5,
|
||||
"cacheRead": 0.025,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemma-4-26b-a4b-it',
|
||||
name: 'Gemma 4 26B A4B IT',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 32768,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gemma-4-26b-a4b-it",
|
||||
"name": "Gemma 4 26B A4B IT",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 32768,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gemma-4-31b-it',
|
||||
name: 'Gemma 4 31B IT',
|
||||
config: {
|
||||
api: 'google-generative-ai',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 32768,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "gemma-4-31b-it",
|
||||
"name": "Gemma 4 31B IT",
|
||||
"config": {
|
||||
"api": "google-generative-ai",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 32768,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,133 +1,148 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'groq'
|
||||
export const providerName = "groq"
|
||||
export const providerConfig = {
|
||||
name: 'groq',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://api.groq.com/openai/v1',
|
||||
apiKey: 'GROQ_API_KEY',
|
||||
"name": "groq",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://api.groq.com/openai/v1",
|
||||
"apiKey": "GROQ_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'llama-3.1-8b-instant',
|
||||
name: 'Llama 3.1 8B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0.05,
|
||||
output: 0.08,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "llama-3.1-8b-instant",
|
||||
"name": "Llama 3.1 8B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0.05,
|
||||
"output": 0.08,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'llama-3.3-70b-versatile',
|
||||
name: 'Llama 3.3 70B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 32768,
|
||||
cost: {
|
||||
input: 0.59,
|
||||
output: 0.79,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "llama-3.3-70b-versatile",
|
||||
"name": "Llama 3.3 70B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 32768,
|
||||
"cost": {
|
||||
"input": 0.59,
|
||||
"output": 0.79,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'meta-llama/llama-4-scout-17b-16e-instruct',
|
||||
name: 'Llama 4 Scout 17B 16E',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 8192,
|
||||
cost: {
|
||||
input: 0.11,
|
||||
output: 0.34,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "meta-llama/llama-4-scout-17b-16e-instruct",
|
||||
"name": "Llama 4 Scout 17B 16E",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 8192,
|
||||
"cost": {
|
||||
"input": 0.11,
|
||||
"output": 0.34,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'openai/gpt-oss-120b',
|
||||
name: 'GPT OSS 120B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.15,
|
||||
output: 0.6,
|
||||
cacheRead: 0.075,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "openai/gpt-oss-120b",
|
||||
"name": "GPT OSS 120B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.15,
|
||||
"output": 0.6,
|
||||
"cacheRead": 0.075,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'openai/gpt-oss-20b',
|
||||
name: 'GPT OSS 20B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.075,
|
||||
output: 0.3,
|
||||
cacheRead: 0.0375,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "openai/gpt-oss-20b",
|
||||
"name": "GPT OSS 20B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.075,
|
||||
"output": 0.3,
|
||||
"cacheRead": 0.0375,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'openai/gpt-oss-safeguard-20b',
|
||||
name: 'Safety GPT OSS 20B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.075,
|
||||
output: 0.3,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "openai/gpt-oss-safeguard-20b",
|
||||
"name": "Safety GPT OSS 20B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.075,
|
||||
"output": 0.3,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'qwen/qwen3-32b',
|
||||
name: 'Qwen3-32B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 40960,
|
||||
cost: {
|
||||
input: 0.29,
|
||||
output: 0.59,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "qwen/qwen3-32b",
|
||||
"name": "Qwen3-32B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 40960,
|
||||
"cost": {
|
||||
"input": 0.29,
|
||||
"output": 0.59,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,65 +1,74 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'kimi-coding'
|
||||
export const providerName = "kimi-coding"
|
||||
export const providerConfig = {
|
||||
name: 'kimi-coding',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
baseUrl: 'https://api.kimi.com/coding',
|
||||
apiKey: 'KIMI_API_KEY',
|
||||
"name": "kimi-coding",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"baseUrl": "https://api.kimi.com/coding",
|
||||
"apiKey": "KIMI_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'k3',
|
||||
name: 'Kimi K3',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 3,
|
||||
output: 15,
|
||||
cacheRead: 0.3,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "k3",
|
||||
"name": "Kimi K3",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 3,
|
||||
"output": 15,
|
||||
"cacheRead": 0.3,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-for-coding',
|
||||
name: 'Kimi K2.7 Code',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 32768,
|
||||
cost: {
|
||||
input: 0.95,
|
||||
output: 4,
|
||||
cacheRead: 0.19,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-for-coding",
|
||||
"name": "Kimi K2.7 Code",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 32768,
|
||||
"cost": {
|
||||
"input": 0.95,
|
||||
"output": 4,
|
||||
"cacheRead": 0.19,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-for-coding-highspeed',
|
||||
name: 'Kimi For Coding HighSpeed',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 32768,
|
||||
cost: {
|
||||
input: 1.9,
|
||||
output: 8,
|
||||
cacheRead: 0.38,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "kimi-for-coding-highspeed",
|
||||
"name": "Kimi For Coding HighSpeed",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 32768,
|
||||
"cost": {
|
||||
"input": 1.9,
|
||||
"output": 8,
|
||||
"cacheRead": 0.38,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,65 +1,72 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'minimax-cn'
|
||||
export const providerName = "minimax-cn"
|
||||
export const providerConfig = {
|
||||
name: 'minimax-cn',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
baseUrl: 'https://api.minimaxi.com/anthropic',
|
||||
apiKey: 'MINIMAX_CN_API_KEY',
|
||||
"name": "minimax-cn",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"baseUrl": "https://api.minimaxi.com/anthropic",
|
||||
"apiKey": "MINIMAX_CN_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'MiniMax-M2.7',
|
||||
name: 'MiniMax-M2.7',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 204800,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0.3,
|
||||
output: 1.2,
|
||||
cacheRead: 0.06,
|
||||
cacheWrite: 0.375,
|
||||
},
|
||||
},
|
||||
"modelId": "MiniMax-M2.7",
|
||||
"name": "MiniMax-M2.7",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 204800,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 1.2,
|
||||
"cacheRead": 0.06,
|
||||
"cacheWrite": 0.375
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'MiniMax-M2.7-highspeed',
|
||||
name: 'MiniMax-M2.7-highspeed',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 204800,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0.6,
|
||||
output: 2.4,
|
||||
cacheRead: 0.06,
|
||||
cacheWrite: 0.375,
|
||||
},
|
||||
},
|
||||
"modelId": "MiniMax-M2.7-highspeed",
|
||||
"name": "MiniMax-M2.7-highspeed",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 204800,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0.6,
|
||||
"output": 2.4,
|
||||
"cacheRead": 0.06,
|
||||
"cacheWrite": 0.375
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'MiniMax-M3',
|
||||
name: 'MiniMax-M3',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 0.3,
|
||||
output: 1.2,
|
||||
cacheRead: 0.06,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "MiniMax-M3",
|
||||
"name": "MiniMax-M3",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 1.2,
|
||||
"cacheRead": 0.06,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,65 +1,72 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'minimax'
|
||||
export const providerName = "minimax"
|
||||
export const providerConfig = {
|
||||
name: 'minimax',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
baseUrl: 'https://api.minimax.io/anthropic',
|
||||
apiKey: 'MINIMAX_API_KEY',
|
||||
"name": "minimax",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"baseUrl": "https://api.minimax.io/anthropic",
|
||||
"apiKey": "MINIMAX_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'MiniMax-M2.7',
|
||||
name: 'MiniMax-M2.7',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 204800,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0.3,
|
||||
output: 1.2,
|
||||
cacheRead: 0.06,
|
||||
cacheWrite: 0.375,
|
||||
},
|
||||
},
|
||||
"modelId": "MiniMax-M2.7",
|
||||
"name": "MiniMax-M2.7",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 204800,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 1.2,
|
||||
"cacheRead": 0.06,
|
||||
"cacheWrite": 0.375
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'MiniMax-M2.7-highspeed',
|
||||
name: 'MiniMax-M2.7-highspeed',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 204800,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0.6,
|
||||
output: 2.4,
|
||||
cacheRead: 0.06,
|
||||
cacheWrite: 0.375,
|
||||
},
|
||||
},
|
||||
"modelId": "MiniMax-M2.7-highspeed",
|
||||
"name": "MiniMax-M2.7-highspeed",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 204800,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0.6,
|
||||
"output": 2.4,
|
||||
"cacheRead": 0.06,
|
||||
"cacheWrite": 0.375
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'MiniMax-M3',
|
||||
name: 'MiniMax-M3',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 0.3,
|
||||
output: 1.2,
|
||||
cacheRead: 0.06,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "MiniMax-M3",
|
||||
"name": "MiniMax-M3",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 1.2,
|
||||
"cacheRead": 0.06,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,184 +1,209 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'moonshotai-cn'
|
||||
export const providerName = "moonshotai-cn"
|
||||
export const providerConfig = {
|
||||
name: 'moonshotai-cn',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://api.moonshot.cn/v1',
|
||||
apiKey: 'MOONSHOT_API_KEY',
|
||||
"name": "moonshotai-cn",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://api.moonshot.cn/v1",
|
||||
"apiKey": "MOONSHOT_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'kimi-k2-0711-preview',
|
||||
name: 'Kimi K2 0711',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 16384,
|
||||
cost: {
|
||||
input: 0.6,
|
||||
output: 2.5,
|
||||
cacheRead: 0.15,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2-0711-preview",
|
||||
"name": "Kimi K2 0711",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 16384,
|
||||
"cost": {
|
||||
"input": 0.6,
|
||||
"output": 2.5,
|
||||
"cacheRead": 0.15,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2-0905-preview',
|
||||
name: 'Kimi K2 0905',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 0.6,
|
||||
output: 2.5,
|
||||
cacheRead: 0.15,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2-0905-preview",
|
||||
"name": "Kimi K2 0905",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 0.6,
|
||||
"output": 2.5,
|
||||
"cacheRead": 0.15,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2-thinking',
|
||||
name: 'Kimi K2 Thinking',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 0.6,
|
||||
output: 2.5,
|
||||
cacheRead: 0.15,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2-thinking",
|
||||
"name": "Kimi K2 Thinking",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 0.6,
|
||||
"output": 2.5,
|
||||
"cacheRead": 0.15,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2-thinking-turbo',
|
||||
name: 'Kimi K2 Thinking Turbo',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 1.15,
|
||||
output: 8,
|
||||
cacheRead: 0.15,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2-thinking-turbo",
|
||||
"name": "Kimi K2 Thinking Turbo",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 1.15,
|
||||
"output": 8,
|
||||
"cacheRead": 0.15,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2-turbo-preview',
|
||||
name: 'Kimi K2 Turbo',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 2.4,
|
||||
output: 10,
|
||||
cacheRead: 0.6,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2-turbo-preview",
|
||||
"name": "Kimi K2 Turbo",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 2.4,
|
||||
"output": 10,
|
||||
"cacheRead": 0.6,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2.5',
|
||||
name: 'Kimi K2.5',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 0.6,
|
||||
output: 3,
|
||||
cacheRead: 0.1,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2.5",
|
||||
"name": "Kimi K2.5",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 0.6,
|
||||
"output": 3,
|
||||
"cacheRead": 0.1,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2.6',
|
||||
name: 'Kimi K2.6',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 0.95,
|
||||
output: 4,
|
||||
cacheRead: 0.16,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2.6",
|
||||
"name": "Kimi K2.6",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 0.95,
|
||||
"output": 4,
|
||||
"cacheRead": 0.16,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2.7-code',
|
||||
name: 'Kimi K2.7 Code',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 0.95,
|
||||
output: 4,
|
||||
cacheRead: 0.19,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2.7-code",
|
||||
"name": "Kimi K2.7 Code",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 0.95,
|
||||
"output": 4,
|
||||
"cacheRead": 0.19,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2.7-code-highspeed',
|
||||
name: 'Kimi K2.7 Code HighSpeed',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 1.9,
|
||||
output: 8,
|
||||
cacheRead: 0.38,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2.7-code-highspeed",
|
||||
"name": "Kimi K2.7 Code HighSpeed",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 1.9,
|
||||
"output": 8,
|
||||
"cacheRead": 0.38,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k3',
|
||||
name: 'Kimi K3',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 3,
|
||||
output: 15,
|
||||
cacheRead: 0.3,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "kimi-k3",
|
||||
"name": "Kimi K3",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 3,
|
||||
"output": 15,
|
||||
"cacheRead": 0.3,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,184 +1,209 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'moonshotai'
|
||||
export const providerName = "moonshotai"
|
||||
export const providerConfig = {
|
||||
name: 'moonshotai',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://api.moonshot.ai/v1',
|
||||
apiKey: 'MOONSHOT_API_KEY',
|
||||
"name": "moonshotai",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://api.moonshot.ai/v1",
|
||||
"apiKey": "MOONSHOT_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'kimi-k2-0711-preview',
|
||||
name: 'Kimi K2 0711',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 16384,
|
||||
cost: {
|
||||
input: 0.6,
|
||||
output: 2.5,
|
||||
cacheRead: 0.15,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2-0711-preview",
|
||||
"name": "Kimi K2 0711",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 16384,
|
||||
"cost": {
|
||||
"input": 0.6,
|
||||
"output": 2.5,
|
||||
"cacheRead": 0.15,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2-0905-preview',
|
||||
name: 'Kimi K2 0905',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 0.6,
|
||||
output: 2.5,
|
||||
cacheRead: 0.15,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2-0905-preview",
|
||||
"name": "Kimi K2 0905",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 0.6,
|
||||
"output": 2.5,
|
||||
"cacheRead": 0.15,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2-thinking',
|
||||
name: 'Kimi K2 Thinking',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 0.6,
|
||||
output: 2.5,
|
||||
cacheRead: 0.15,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2-thinking",
|
||||
"name": "Kimi K2 Thinking",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 0.6,
|
||||
"output": 2.5,
|
||||
"cacheRead": 0.15,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2-thinking-turbo',
|
||||
name: 'Kimi K2 Thinking Turbo',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 1.15,
|
||||
output: 8,
|
||||
cacheRead: 0.15,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2-thinking-turbo",
|
||||
"name": "Kimi K2 Thinking Turbo",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 1.15,
|
||||
"output": 8,
|
||||
"cacheRead": 0.15,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2-turbo-preview',
|
||||
name: 'Kimi K2 Turbo',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 2.4,
|
||||
output: 10,
|
||||
cacheRead: 0.6,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2-turbo-preview",
|
||||
"name": "Kimi K2 Turbo",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 2.4,
|
||||
"output": 10,
|
||||
"cacheRead": 0.6,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2.5',
|
||||
name: 'Kimi K2.5',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 0.6,
|
||||
output: 3,
|
||||
cacheRead: 0.1,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2.5",
|
||||
"name": "Kimi K2.5",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 0.6,
|
||||
"output": 3,
|
||||
"cacheRead": 0.1,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2.6',
|
||||
name: 'Kimi K2.6',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 0.95,
|
||||
output: 4,
|
||||
cacheRead: 0.16,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2.6",
|
||||
"name": "Kimi K2.6",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 0.95,
|
||||
"output": 4,
|
||||
"cacheRead": 0.16,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2.7-code',
|
||||
name: 'Kimi K2.7 Code',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 0.95,
|
||||
output: 4,
|
||||
cacheRead: 0.19,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2.7-code",
|
||||
"name": "Kimi K2.7 Code",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 0.95,
|
||||
"output": 4,
|
||||
"cacheRead": 0.19,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2.7-code-highspeed',
|
||||
name: 'Kimi K2.7 Code HighSpeed',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 1.9,
|
||||
output: 8,
|
||||
cacheRead: 0.38,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2.7-code-highspeed",
|
||||
"name": "Kimi K2.7 Code HighSpeed",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 1.9,
|
||||
"output": 8,
|
||||
"cacheRead": 0.38,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k3',
|
||||
name: 'Kimi K3',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 3,
|
||||
output: 15,
|
||||
cacheRead: 0.3,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "kimi-k3",
|
||||
"name": "Kimi K3",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 3,
|
||||
"output": 15,
|
||||
"cacheRead": 0.3,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,337 +1,383 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'nvidia'
|
||||
export const providerName = "nvidia"
|
||||
export const providerConfig = {
|
||||
name: 'nvidia',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://integrate.api.nvidia.com/v1',
|
||||
apiKey: '',
|
||||
"name": "nvidia",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://integrate.api.nvidia.com/v1",
|
||||
"apiKey": ""
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'meta/llama-3.1-70b-instruct',
|
||||
name: 'Llama 3.1 70b Instruct',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 128000,
|
||||
maxTokens: 4096,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "meta/llama-3.1-70b-instruct",
|
||||
"name": "Llama 3.1 70b Instruct",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 128000,
|
||||
"maxTokens": 4096,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'meta/llama-3.1-8b-instruct',
|
||||
name: 'Llama 3.1 8B Instruct',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 16000,
|
||||
maxTokens: 4096,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "meta/llama-3.1-8b-instruct",
|
||||
"name": "Llama 3.1 8B Instruct",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 16000,
|
||||
"maxTokens": 4096,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'meta/llama-3.2-11b-vision-instruct',
|
||||
name: 'Llama 3.2 11b Vision Instruct',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 128000,
|
||||
maxTokens: 4096,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "meta/llama-3.2-11b-vision-instruct",
|
||||
"name": "Llama 3.2 11b Vision Instruct",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 128000,
|
||||
"maxTokens": 4096,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'meta/llama-3.2-90b-vision-instruct',
|
||||
name: 'Llama-3.2-90B-Vision-Instruct',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 128000,
|
||||
maxTokens: 8192,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "meta/llama-3.2-90b-vision-instruct",
|
||||
"name": "Llama-3.2-90B-Vision-Instruct",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 128000,
|
||||
"maxTokens": 8192,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'meta/llama-3.3-70b-instruct',
|
||||
name: 'Llama 3.3 70b Instruct',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 128000,
|
||||
maxTokens: 4096,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "meta/llama-3.3-70b-instruct",
|
||||
"name": "Llama 3.3 70b Instruct",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 128000,
|
||||
"maxTokens": 4096,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'minimaxai/minimax-m3',
|
||||
name: 'MiniMax-M3',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 16384,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "minimaxai/minimax-m3",
|
||||
"name": "MiniMax-M3",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 16384,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'mistralai/mistral-large-3-675b-instruct-2512',
|
||||
name: 'Mistral Large 3 675B Instruct 2512',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "mistralai/mistral-large-3-675b-instruct-2512",
|
||||
"name": "Mistral Large 3 675B Instruct 2512",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'mistralai/mistral-small-4-119b-2603',
|
||||
name: 'mistral-small-4-119b-2603',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 128000,
|
||||
maxTokens: 8192,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "mistralai/mistral-small-4-119b-2603",
|
||||
"name": "mistral-small-4-119b-2603",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 128000,
|
||||
"maxTokens": 8192,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'moonshotai/kimi-k2.6',
|
||||
name: 'Kimi K2.6',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "moonshotai/kimi-k2.6",
|
||||
"name": "Kimi K2.6",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'nvidia/nemotron-3-nano-30b-a3b',
|
||||
name: 'nemotron-3-nano-30b-a3b',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "nvidia/nemotron-3-nano-30b-a3b",
|
||||
"name": "nemotron-3-nano-30b-a3b",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'nvidia/nemotron-3-nano-omni-30b-a3b-reasoning',
|
||||
name: 'Nemotron 3 Nano Omni',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 256000,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning",
|
||||
"name": "Nemotron 3 Nano Omni",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 256000,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'nvidia/nemotron-3-super-120b-a12b',
|
||||
name: 'Nemotron 3 Super',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 0.2,
|
||||
output: 0.8,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "nvidia/nemotron-3-super-120b-a12b",
|
||||
"name": "Nemotron 3 Super",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 0.2,
|
||||
"output": 0.8,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'nvidia/nemotron-3-ultra-550b-a55b',
|
||||
name: 'Nemotron 3 Ultra 550B A55B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.5,
|
||||
output: 2.5,
|
||||
cacheRead: 0.15,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "nvidia/nemotron-3-ultra-550b-a55b",
|
||||
"name": "Nemotron 3 Ultra 550B A55B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.5,
|
||||
"output": 2.5,
|
||||
"cacheRead": 0.15,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'nvidia/nvidia-nemotron-nano-9b-v2',
|
||||
name: 'nvidia-nemotron-nano-9b-v2',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "nvidia/nvidia-nemotron-nano-9b-v2",
|
||||
"name": "nvidia-nemotron-nano-9b-v2",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'openai/gpt-oss-120b',
|
||||
name: 'GPT-OSS-120B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 128000,
|
||||
maxTokens: 8192,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "openai/gpt-oss-120b",
|
||||
"name": "GPT-OSS-120B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 128000,
|
||||
"maxTokens": 8192,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'openai/gpt-oss-20b',
|
||||
name: 'GPT OSS 20B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 32768,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "openai/gpt-oss-20b",
|
||||
"name": "GPT OSS 20B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 32768,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'stepfun-ai/step-3.5-flash',
|
||||
name: 'Step 3.5 Flash',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 256000,
|
||||
maxTokens: 16384,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "stepfun-ai/step-3.5-flash",
|
||||
"name": "Step 3.5 Flash",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 256000,
|
||||
"maxTokens": 16384,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'stepfun-ai/step-3.7-flash',
|
||||
name: 'Step 3.7 Flash',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 256000,
|
||||
maxTokens: 16384,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "stepfun-ai/step-3.7-flash",
|
||||
"name": "Step 3.7 Flash",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 256000,
|
||||
"maxTokens": 16384,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'z-ai/glm-5.2',
|
||||
name: 'GLM-5.2',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "z-ai/glm-5.2",
|
||||
"name": "GLM-5.2",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,178 +1,198 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'openai-codex'
|
||||
export const providerName = "openai-codex"
|
||||
export const providerConfig = {
|
||||
name: 'openai-codex',
|
||||
config: {
|
||||
api: 'openai-codex-responses',
|
||||
baseUrl: 'https://chatgpt.com/backend-api',
|
||||
apiKey: '',
|
||||
"name": "openai-codex",
|
||||
"config": {
|
||||
"api": "openai-codex-responses",
|
||||
"baseUrl": "https://chatgpt.com/backend-api",
|
||||
"apiKey": ""
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'gpt-5.3-codex-spark',
|
||||
name: 'GPT-5.3 Codex Spark',
|
||||
config: {
|
||||
api: 'openai-codex-responses',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 128000,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 1.75,
|
||||
output: 14,
|
||||
cacheRead: 0.175,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gpt-5.3-codex-spark",
|
||||
"name": "GPT-5.3 Codex Spark",
|
||||
"config": {
|
||||
"api": "openai-codex-responses",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 128000,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 1.75,
|
||||
"output": 14,
|
||||
"cacheRead": 0.175,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gpt-5.4',
|
||||
name: 'GPT-5.4',
|
||||
config: {
|
||||
api: 'openai-codex-responses',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 272000,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 2.5,
|
||||
output: 15,
|
||||
cacheRead: 0.25,
|
||||
cacheWrite: 0,
|
||||
tiers: [
|
||||
"modelId": "gpt-5.4",
|
||||
"name": "GPT-5.4",
|
||||
"config": {
|
||||
"api": "openai-codex-responses",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 272000,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 2.5,
|
||||
"output": 15,
|
||||
"cacheRead": 0.25,
|
||||
"cacheWrite": 0,
|
||||
"tiers": [
|
||||
{
|
||||
inputTokensAbove: 272000,
|
||||
input: 5,
|
||||
output: 22.5,
|
||||
cacheRead: 0.5,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
"inputTokensAbove": 272000,
|
||||
"input": 5,
|
||||
"output": 22.5,
|
||||
"cacheRead": 0.5,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gpt-5.4-mini',
|
||||
name: 'GPT-5.4 mini',
|
||||
config: {
|
||||
api: 'openai-codex-responses',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 272000,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 0.75,
|
||||
output: 4.5,
|
||||
cacheRead: 0.075,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "gpt-5.4-mini",
|
||||
"name": "GPT-5.4 mini",
|
||||
"config": {
|
||||
"api": "openai-codex-responses",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 272000,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 0.75,
|
||||
"output": 4.5,
|
||||
"cacheRead": 0.075,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gpt-5.5',
|
||||
name: 'GPT-5.5',
|
||||
config: {
|
||||
api: 'openai-codex-responses',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 272000,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 5,
|
||||
output: 30,
|
||||
cacheRead: 0.5,
|
||||
cacheWrite: 0,
|
||||
tiers: [
|
||||
"modelId": "gpt-5.5",
|
||||
"name": "GPT-5.5",
|
||||
"config": {
|
||||
"api": "openai-codex-responses",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 272000,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 5,
|
||||
"output": 30,
|
||||
"cacheRead": 0.5,
|
||||
"cacheWrite": 0,
|
||||
"tiers": [
|
||||
{
|
||||
inputTokensAbove: 272000,
|
||||
input: 10,
|
||||
output: 45,
|
||||
cacheRead: 1,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
"inputTokensAbove": 272000,
|
||||
"input": 10,
|
||||
"output": 45,
|
||||
"cacheRead": 1,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gpt-5.6-luna',
|
||||
name: 'GPT-5.6 Luna',
|
||||
config: {
|
||||
api: 'openai-codex-responses',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 272000,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 1,
|
||||
output: 6,
|
||||
cacheRead: 0.1,
|
||||
cacheWrite: 1.25,
|
||||
tiers: [
|
||||
"modelId": "gpt-5.6-luna",
|
||||
"name": "GPT-5.6 Luna",
|
||||
"config": {
|
||||
"api": "openai-codex-responses",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 272000,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 1,
|
||||
"output": 6,
|
||||
"cacheRead": 0.1,
|
||||
"cacheWrite": 1.25,
|
||||
"tiers": [
|
||||
{
|
||||
inputTokensAbove: 272000,
|
||||
input: 2,
|
||||
output: 9,
|
||||
cacheRead: 0.2,
|
||||
cacheWrite: 2.5,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
"inputTokensAbove": 272000,
|
||||
"input": 2,
|
||||
"output": 9,
|
||||
"cacheRead": 0.2,
|
||||
"cacheWrite": 2.5
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gpt-5.6-sol',
|
||||
name: 'GPT-5.6 Sol',
|
||||
config: {
|
||||
api: 'openai-codex-responses',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 272000,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 5,
|
||||
output: 30,
|
||||
cacheRead: 0.5,
|
||||
cacheWrite: 6.25,
|
||||
tiers: [
|
||||
"modelId": "gpt-5.6-sol",
|
||||
"name": "GPT-5.6 Sol",
|
||||
"config": {
|
||||
"api": "openai-codex-responses",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 272000,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 5,
|
||||
"output": 30,
|
||||
"cacheRead": 0.5,
|
||||
"cacheWrite": 6.25,
|
||||
"tiers": [
|
||||
{
|
||||
inputTokensAbove: 272000,
|
||||
input: 10,
|
||||
output: 45,
|
||||
cacheRead: 1,
|
||||
cacheWrite: 12.5,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
"inputTokensAbove": 272000,
|
||||
"input": 10,
|
||||
"output": 45,
|
||||
"cacheRead": 1,
|
||||
"cacheWrite": 12.5
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'gpt-5.6-terra',
|
||||
name: 'GPT-5.6 Terra',
|
||||
config: {
|
||||
api: 'openai-codex-responses',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 272000,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 2.5,
|
||||
output: 15,
|
||||
cacheRead: 0.25,
|
||||
cacheWrite: 3.125,
|
||||
tiers: [
|
||||
"modelId": "gpt-5.6-terra",
|
||||
"name": "GPT-5.6 Terra",
|
||||
"config": {
|
||||
"api": "openai-codex-responses",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 272000,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 2.5,
|
||||
"output": 15,
|
||||
"cacheRead": 0.25,
|
||||
"cacheWrite": 3.125,
|
||||
"tiers": [
|
||||
{
|
||||
inputTokensAbove: 272000,
|
||||
input: 5,
|
||||
output: 22.5,
|
||||
cacheRead: 0.5,
|
||||
cacheWrite: 6.25,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"inputTokensAbove": 272000,
|
||||
"input": 5,
|
||||
"output": 22.5,
|
||||
"cacheRead": 0.5,
|
||||
"cacheWrite": 6.25
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,269 +1,307 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'opencode-go'
|
||||
export const providerName = "opencode-go"
|
||||
export const providerConfig = {
|
||||
name: 'opencode-go',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://opencode.ai/zen/go/v1',
|
||||
apiKey: 'OPENCODE_API_KEY',
|
||||
"name": "opencode-go",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://opencode.ai/zen/go/v1",
|
||||
"apiKey": "OPENCODE_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'deepseek-v4-flash',
|
||||
name: 'DeepSeek V4 Flash',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 384000,
|
||||
cost: {
|
||||
input: 0.14,
|
||||
output: 0.28,
|
||||
cacheRead: 0.0028,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "deepseek-v4-flash",
|
||||
"name": "DeepSeek V4 Flash",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 384000,
|
||||
"cost": {
|
||||
"input": 0.14,
|
||||
"output": 0.28,
|
||||
"cacheRead": 0.0028,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'deepseek-v4-pro',
|
||||
name: 'DeepSeek V4 Pro',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 384000,
|
||||
cost: {
|
||||
input: 0.435,
|
||||
output: 0.87,
|
||||
cacheRead: 0.003625,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "deepseek-v4-pro",
|
||||
"name": "DeepSeek V4 Pro",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 384000,
|
||||
"cost": {
|
||||
"input": 0.435,
|
||||
"output": 0.87,
|
||||
"cacheRead": 0.003625,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-5.1',
|
||||
name: 'GLM-5.1',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 202752,
|
||||
maxTokens: 32768,
|
||||
cost: {
|
||||
input: 1.4,
|
||||
output: 4.4,
|
||||
cacheRead: 0.26,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-5.1",
|
||||
"name": "GLM-5.1",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 202752,
|
||||
"maxTokens": 32768,
|
||||
"cost": {
|
||||
"input": 1.4,
|
||||
"output": 4.4,
|
||||
"cacheRead": 0.26,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-5.2',
|
||||
name: 'GLM-5.2',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 1.4,
|
||||
output: 4.4,
|
||||
cacheRead: 0.26,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-5.2",
|
||||
"name": "GLM-5.2",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 1.4,
|
||||
"output": 4.4,
|
||||
"cacheRead": 0.26,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'grok-4.5',
|
||||
name: 'Grok 4.5',
|
||||
config: {
|
||||
api: 'openai-responses',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 500000,
|
||||
maxTokens: 500000,
|
||||
cost: {
|
||||
input: 2,
|
||||
output: 6,
|
||||
cacheRead: 0.5,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "grok-4.5",
|
||||
"name": "Grok 4.5",
|
||||
"config": {
|
||||
"api": "openai-responses",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 500000,
|
||||
"maxTokens": 500000,
|
||||
"cost": {
|
||||
"input": 2,
|
||||
"output": 6,
|
||||
"cacheRead": 0.5,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2.6',
|
||||
name: 'Kimi K2.6',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.95,
|
||||
output: 4,
|
||||
cacheRead: 0.16,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2.6",
|
||||
"name": "Kimi K2.6",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.95,
|
||||
"output": 4,
|
||||
"cacheRead": 0.16,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2.7-code',
|
||||
name: 'Kimi K2.7 Code',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 0.95,
|
||||
output: 4,
|
||||
cacheRead: 0.19,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2.7-code",
|
||||
"name": "Kimi K2.7 Code",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 0.95,
|
||||
"output": 4,
|
||||
"cacheRead": 0.19,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k3',
|
||||
name: 'Kimi K3 (2x usage)',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 3,
|
||||
output: 15,
|
||||
cacheRead: 0.3,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k3",
|
||||
"name": "Kimi K3 (2x usage)",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 3,
|
||||
"output": 15,
|
||||
"cacheRead": 0.3,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'mimo-v2.5',
|
||||
name: 'MiMo V2.5',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 0.14,
|
||||
output: 0.28,
|
||||
cacheRead: 0.0028,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "mimo-v2.5",
|
||||
"name": "MiMo V2.5",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 0.14,
|
||||
"output": 0.28,
|
||||
"cacheRead": 0.0028,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'mimo-v2.5-pro',
|
||||
name: 'MiMo V2.5 Pro',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 0.435,
|
||||
output: 0.87,
|
||||
cacheRead: 0.003625,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "mimo-v2.5-pro",
|
||||
"name": "MiMo V2.5 Pro",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 0.435,
|
||||
"output": 0.87,
|
||||
"cacheRead": 0.003625,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'minimax-m2.7',
|
||||
name: 'MiniMax-M2.7',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 204800,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0.3,
|
||||
output: 1.2,
|
||||
cacheRead: 0.06,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "minimax-m2.7",
|
||||
"name": "MiniMax-M2.7",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 204800,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 1.2,
|
||||
"cacheRead": 0.06,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'minimax-m3',
|
||||
name: 'MiniMax-M3',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0.3,
|
||||
output: 1.2,
|
||||
cacheRead: 0.06,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "minimax-m3",
|
||||
"name": "MiniMax-M3",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 1.2,
|
||||
"cacheRead": 0.06,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'qwen3.6-plus',
|
||||
name: 'Qwen3.6 Plus',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.5,
|
||||
output: 3,
|
||||
cacheRead: 0.05,
|
||||
cacheWrite: 0.625,
|
||||
},
|
||||
},
|
||||
"modelId": "qwen3.6-plus",
|
||||
"name": "Qwen3.6 Plus",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.5,
|
||||
"output": 3,
|
||||
"cacheRead": 0.05,
|
||||
"cacheWrite": 0.625
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'qwen3.7-max',
|
||||
name: 'Qwen3.7 Max',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 2.5,
|
||||
output: 7.5,
|
||||
cacheRead: 0.5,
|
||||
cacheWrite: 3.125,
|
||||
},
|
||||
},
|
||||
"modelId": "qwen3.7-max",
|
||||
"name": "Qwen3.7 Max",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 2.5,
|
||||
"output": 7.5,
|
||||
"cacheRead": 0.5,
|
||||
"cacheWrite": 3.125
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'qwen3.7-plus',
|
||||
name: 'Qwen3.7 Plus',
|
||||
config: {
|
||||
api: 'anthropic-messages',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.4,
|
||||
output: 1.6,
|
||||
cacheRead: 0.04,
|
||||
cacheWrite: 0.5,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "qwen3.7-plus",
|
||||
"name": "Qwen3.7 Plus",
|
||||
"config": {
|
||||
"api": "anthropic-messages",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.4,
|
||||
"output": 1.6,
|
||||
"cacheRead": 0.04,
|
||||
"cacheWrite": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,269 +1,306 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'qwen-token-plan-cn'
|
||||
export const providerName = "qwen-token-plan-cn"
|
||||
export const providerConfig = {
|
||||
name: 'qwen-token-plan-cn',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1',
|
||||
apiKey: '',
|
||||
"name": "qwen-token-plan-cn",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1",
|
||||
"apiKey": ""
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'MiniMax-M2.5',
|
||||
name: 'MiniMax-M2.5',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 196608,
|
||||
maxTokens: 24576,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "MiniMax-M2.5",
|
||||
"name": "MiniMax-M2.5",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 196608,
|
||||
"maxTokens": 24576,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'deepseek-v3.2',
|
||||
name: 'DeepSeek V3.2',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "deepseek-v3.2",
|
||||
"name": "DeepSeek V3.2",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'deepseek-v4-flash',
|
||||
name: 'DeepSeek V4 Flash',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 384000,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "deepseek-v4-flash",
|
||||
"name": "DeepSeek V4 Flash",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 384000,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'deepseek-v4-pro',
|
||||
name: 'DeepSeek V4 Pro',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 384000,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "deepseek-v4-pro",
|
||||
"name": "DeepSeek V4 Pro",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 384000,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-5',
|
||||
name: 'GLM-5',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 202752,
|
||||
maxTokens: 16384,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-5",
|
||||
"name": "GLM-5",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 202752,
|
||||
"maxTokens": 16384,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-5.1',
|
||||
name: 'GLM-5.1',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 202752,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-5.1",
|
||||
"name": "GLM-5.1",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 202752,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-5.2',
|
||||
name: 'GLM-5.2',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-5.2",
|
||||
"name": "GLM-5.2",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2.5',
|
||||
name: 'Kimi K2.5',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 32768,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2.5",
|
||||
"name": "Kimi K2.5",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 32768,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2.6',
|
||||
name: 'Kimi K2.6',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 16384,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2.6",
|
||||
"name": "Kimi K2.6",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 16384,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2.7-code',
|
||||
name: 'Kimi K2.7 Code',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2.7-code",
|
||||
"name": "Kimi K2.7 Code",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'qwen3.6-flash',
|
||||
name: 'Qwen3.6 Flash',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "qwen3.6-flash",
|
||||
"name": "Qwen3.6 Flash",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'qwen3.6-plus',
|
||||
name: 'Qwen3.6 Plus',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "qwen3.6-plus",
|
||||
"name": "Qwen3.6 Plus",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'qwen3.7-max',
|
||||
name: 'Qwen3.7 Max',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "qwen3.7-max",
|
||||
"name": "Qwen3.7 Max",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'qwen3.7-plus',
|
||||
name: 'Qwen3.7 Plus',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 64000,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "qwen3.7-plus",
|
||||
"name": "Qwen3.7 Plus",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 64000,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'qwen3.8-max-preview',
|
||||
name: 'Qwen3.8 Max Preview',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "qwen3.8-max-preview",
|
||||
"name": "Qwen3.8 Max Preview",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,269 +1,306 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'qwen-token-plan'
|
||||
export const providerName = "qwen-token-plan"
|
||||
export const providerConfig = {
|
||||
name: 'qwen-token-plan',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1',
|
||||
apiKey: '',
|
||||
"name": "qwen-token-plan",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1",
|
||||
"apiKey": ""
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'MiniMax-M2.5',
|
||||
name: 'MiniMax-M2.5',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 196608,
|
||||
maxTokens: 24576,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "MiniMax-M2.5",
|
||||
"name": "MiniMax-M2.5",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 196608,
|
||||
"maxTokens": 24576,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'deepseek-v3.2',
|
||||
name: 'DeepSeek V3.2',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "deepseek-v3.2",
|
||||
"name": "DeepSeek V3.2",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'deepseek-v4-flash',
|
||||
name: 'DeepSeek V4 Flash',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 384000,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "deepseek-v4-flash",
|
||||
"name": "DeepSeek V4 Flash",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 384000,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'deepseek-v4-pro',
|
||||
name: 'DeepSeek V4 Pro',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 384000,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "deepseek-v4-pro",
|
||||
"name": "DeepSeek V4 Pro",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 384000,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-5',
|
||||
name: 'GLM-5',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 202752,
|
||||
maxTokens: 16384,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-5",
|
||||
"name": "GLM-5",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 202752,
|
||||
"maxTokens": 16384,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-5.1',
|
||||
name: 'GLM-5.1',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 202752,
|
||||
maxTokens: 128000,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-5.1",
|
||||
"name": "GLM-5.1",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 202752,
|
||||
"maxTokens": 128000,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-5.2',
|
||||
name: 'GLM-5.2',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-5.2",
|
||||
"name": "GLM-5.2",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2.5',
|
||||
name: 'Kimi K2.5',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 32768,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2.5",
|
||||
"name": "Kimi K2.5",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 32768,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2.6',
|
||||
name: 'Kimi K2.6',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 16384,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2.6",
|
||||
"name": "Kimi K2.6",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 16384,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'kimi-k2.7-code',
|
||||
name: 'Kimi K2.7 Code',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 262144,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "kimi-k2.7-code",
|
||||
"name": "Kimi K2.7 Code",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 262144,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'qwen3.6-flash',
|
||||
name: 'Qwen3.6 Flash',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "qwen3.6-flash",
|
||||
"name": "Qwen3.6 Flash",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'qwen3.6-plus',
|
||||
name: 'Qwen3.6 Plus',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "qwen3.6-plus",
|
||||
"name": "Qwen3.6 Plus",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'qwen3.7-max',
|
||||
name: 'Qwen3.7 Max',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "qwen3.7-max",
|
||||
"name": "Qwen3.7 Max",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'qwen3.7-plus',
|
||||
name: 'Qwen3.7 Plus',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 64000,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "qwen3.7-plus",
|
||||
"name": "Qwen3.7 Plus",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 64000,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'qwen3.8-max-preview',
|
||||
name: 'Qwen3.8 Max Preview',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "qwen3.8-max-preview",
|
||||
"name": "Qwen3.8 Max Preview",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,286 +1,323 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'together'
|
||||
export const providerName = "together"
|
||||
export const providerConfig = {
|
||||
name: 'together',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://api.together.ai/v1',
|
||||
apiKey: 'TOGETHER_API_KEY',
|
||||
"name": "together",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://api.together.ai/v1",
|
||||
"apiKey": "TOGETHER_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'MiniMaxAI/MiniMax-M2.7',
|
||||
name: 'MiniMax-M2.7',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 202752,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0.3,
|
||||
output: 1.2,
|
||||
cacheRead: 0.06,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "MiniMaxAI/MiniMax-M2.7",
|
||||
"name": "MiniMax-M2.7",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 202752,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 1.2,
|
||||
"cacheRead": 0.06,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'MiniMaxAI/MiniMax-M3',
|
||||
name: 'MiniMax-M3',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 524288,
|
||||
maxTokens: 250000,
|
||||
cost: {
|
||||
input: 0.3,
|
||||
output: 1.2,
|
||||
cacheRead: 0.06,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "MiniMaxAI/MiniMax-M3",
|
||||
"name": "MiniMax-M3",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 524288,
|
||||
"maxTokens": 250000,
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 1.2,
|
||||
"cacheRead": 0.06,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'Qwen/Qwen2.5-7B-Instruct-Turbo',
|
||||
name: 'Qwen 2.5 7B Instruct Turbo',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 32768,
|
||||
maxTokens: 32768,
|
||||
cost: {
|
||||
input: 0.3,
|
||||
output: 0.3,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "Qwen/Qwen2.5-7B-Instruct-Turbo",
|
||||
"name": "Qwen 2.5 7B Instruct Turbo",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 32768,
|
||||
"maxTokens": 32768,
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 0.3,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'Qwen/Qwen3.5-9B',
|
||||
name: 'Qwen3.5 9B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.17,
|
||||
output: 0.25,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "Qwen/Qwen3.5-9B",
|
||||
"name": "Qwen3.5 9B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.17,
|
||||
"output": 0.25,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'Qwen/Qwen3.6-Plus',
|
||||
name: 'Qwen3.6 Plus',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 500000,
|
||||
cost: {
|
||||
input: 0.5,
|
||||
output: 3,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "Qwen/Qwen3.6-Plus",
|
||||
"name": "Qwen3.6 Plus",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 500000,
|
||||
"cost": {
|
||||
"input": 0.5,
|
||||
"output": 3,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'Qwen/Qwen3.7-Max',
|
||||
name: 'Qwen3.7 Max',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 500000,
|
||||
cost: {
|
||||
input: 1.25,
|
||||
output: 3.75,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "Qwen/Qwen3.7-Max",
|
||||
"name": "Qwen3.7 Max",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 500000,
|
||||
"cost": {
|
||||
"input": 1.25,
|
||||
"output": 3.75,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'deepseek-ai/DeepSeek-V4-Pro',
|
||||
name: 'DeepSeek V4 Pro',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 512000,
|
||||
maxTokens: 384000,
|
||||
cost: {
|
||||
input: 1.74,
|
||||
output: 3.48,
|
||||
cacheRead: 0.2,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "deepseek-ai/DeepSeek-V4-Pro",
|
||||
"name": "DeepSeek V4 Pro",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 512000,
|
||||
"maxTokens": 384000,
|
||||
"cost": {
|
||||
"input": 1.74,
|
||||
"output": 3.48,
|
||||
"cacheRead": 0.2,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'google/gemma-4-31B-it',
|
||||
name: 'Gemma 4 31B Instruct',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0.39,
|
||||
output: 0.97,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "google/gemma-4-31B-it",
|
||||
"name": "Gemma 4 31B Instruct",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0.39,
|
||||
"output": 0.97,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'meta-llama/Llama-3.3-70B-Instruct-Turbo',
|
||||
name: 'Llama 3.3 70B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: false,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 1.04,
|
||||
output: 1.04,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "meta-llama/Llama-3.3-70B-Instruct-Turbo",
|
||||
"name": "Llama 3.3 70B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 1.04,
|
||||
"output": 1.04,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'moonshotai/Kimi-K2.6',
|
||||
name: 'Kimi K2.6',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 131000,
|
||||
cost: {
|
||||
input: 1.2,
|
||||
output: 4.5,
|
||||
cacheRead: 0.2,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "moonshotai/Kimi-K2.6",
|
||||
"name": "Kimi K2.6",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 131000,
|
||||
"cost": {
|
||||
"input": 1.2,
|
||||
"output": 4.5,
|
||||
"cacheRead": 0.2,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'moonshotai/Kimi-K2.7-Code',
|
||||
name: 'Kimi K2.7 Code',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0.95,
|
||||
output: 4,
|
||||
cacheRead: 0.19,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "moonshotai/Kimi-K2.7-Code",
|
||||
"name": "Kimi K2.7 Code",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0.95,
|
||||
"output": 4,
|
||||
"cacheRead": 0.19,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'nvidia/nemotron-3-ultra-550b-a55b',
|
||||
name: 'Nemotron 3 Ultra 550B A55B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 512300,
|
||||
maxTokens: 512300,
|
||||
cost: {
|
||||
input: 0.6,
|
||||
output: 3.6,
|
||||
cacheRead: 0.2,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "nvidia/nemotron-3-ultra-550b-a55b",
|
||||
"name": "Nemotron 3 Ultra 550B A55B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 512300,
|
||||
"maxTokens": 512300,
|
||||
"cost": {
|
||||
"input": 0.6,
|
||||
"output": 3.6,
|
||||
"cacheRead": 0.2,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'openai/gpt-oss-120b',
|
||||
name: 'GPT OSS 120B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0.15,
|
||||
output: 0.6,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "openai/gpt-oss-120b",
|
||||
"name": "GPT OSS 120B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0.15,
|
||||
"output": 0.6,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'openai/gpt-oss-20b',
|
||||
name: 'GPT OSS 20B',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0.05,
|
||||
output: 0.2,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "openai/gpt-oss-20b",
|
||||
"name": "GPT OSS 20B",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0.05,
|
||||
"output": 0.2,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'thinkingmachines/Inkling',
|
||||
name: 'Inkling',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 524288,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 1,
|
||||
output: 4.05,
|
||||
cacheRead: 0.17,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "thinkingmachines/Inkling",
|
||||
"name": "Inkling",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 524288,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 1,
|
||||
"output": 4.05,
|
||||
"cacheRead": 0.17,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'zai-org/GLM-5.2',
|
||||
name: 'GLM-5.2',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 164000,
|
||||
cost: {
|
||||
input: 1.4,
|
||||
output: 4.4,
|
||||
cacheRead: 0.26,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "zai-org/GLM-5.2",
|
||||
"name": "GLM-5.2",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 164000,
|
||||
"cost": {
|
||||
"input": 1.4,
|
||||
"output": 4.4,
|
||||
"cacheRead": 0.26,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,65 +1,74 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'xai'
|
||||
export const providerName = "xai"
|
||||
export const providerConfig = {
|
||||
name: 'xai',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://api.x.ai/v1',
|
||||
apiKey: 'XAI_API_KEY',
|
||||
"name": "xai",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://api.x.ai/v1",
|
||||
"apiKey": "XAI_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'grok-4.3',
|
||||
name: 'Grok 4.3',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 30000,
|
||||
cost: {
|
||||
input: 1.25,
|
||||
output: 2.5,
|
||||
cacheRead: 0.2,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "grok-4.3",
|
||||
"name": "Grok 4.3",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 30000,
|
||||
"cost": {
|
||||
"input": 1.25,
|
||||
"output": 2.5,
|
||||
"cacheRead": 0.2,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'grok-4.5',
|
||||
name: 'Grok 4.5',
|
||||
config: {
|
||||
api: 'openai-responses',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 500000,
|
||||
maxTokens: 500000,
|
||||
cost: {
|
||||
input: 2,
|
||||
output: 6,
|
||||
cacheRead: 0.3,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "grok-4.5",
|
||||
"name": "Grok 4.5",
|
||||
"config": {
|
||||
"api": "openai-responses",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 500000,
|
||||
"maxTokens": 500000,
|
||||
"cost": {
|
||||
"input": 2,
|
||||
"output": 6,
|
||||
"cacheRead": 0.3,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'grok-build-0.1',
|
||||
name: 'Grok Build 0.1',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 256000,
|
||||
maxTokens: 256000,
|
||||
cost: {
|
||||
input: 1,
|
||||
output: 2,
|
||||
cacheRead: 0.2,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "grok-build-0.1",
|
||||
"name": "Grok Build 0.1",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 256000,
|
||||
"maxTokens": 256000,
|
||||
"cost": {
|
||||
"input": 1,
|
||||
"output": 2,
|
||||
"cacheRead": 0.2,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,65 +1,72 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'xiaomi-token-plan-ams'
|
||||
export const providerName = "xiaomi-token-plan-ams"
|
||||
export const providerConfig = {
|
||||
name: 'xiaomi-token-plan-ams',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://token-plan-ams.xiaomimimo.com/v1',
|
||||
apiKey: 'XIAOMI_TOKEN_PLAN_AMS_API_KEY',
|
||||
"name": "xiaomi-token-plan-ams",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://token-plan-ams.xiaomimimo.com/v1",
|
||||
"apiKey": "XIAOMI_TOKEN_PLAN_AMS_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'mimo-v2-pro',
|
||||
name: 'MiMo-V2-Pro',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "mimo-v2-pro",
|
||||
"name": "MiMo-V2-Pro",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'mimo-v2.5',
|
||||
name: 'MiMo-V2.5',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "mimo-v2.5",
|
||||
"name": "MiMo-V2.5",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'mimo-v2.5-pro',
|
||||
name: 'MiMo-V2.5-Pro',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "mimo-v2.5-pro",
|
||||
"name": "MiMo-V2.5-Pro",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,65 +1,72 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'xiaomi-token-plan-cn'
|
||||
export const providerName = "xiaomi-token-plan-cn"
|
||||
export const providerConfig = {
|
||||
name: 'xiaomi-token-plan-cn',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://token-plan-cn.xiaomimimo.com/v1',
|
||||
apiKey: 'XIAOMI_TOKEN_PLAN_CN_API_KEY',
|
||||
"name": "xiaomi-token-plan-cn",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://token-plan-cn.xiaomimimo.com/v1",
|
||||
"apiKey": "XIAOMI_TOKEN_PLAN_CN_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'mimo-v2-pro',
|
||||
name: 'MiMo-V2-Pro',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "mimo-v2-pro",
|
||||
"name": "MiMo-V2-Pro",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'mimo-v2.5',
|
||||
name: 'MiMo-V2.5',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "mimo-v2.5",
|
||||
"name": "MiMo-V2.5",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'mimo-v2.5-pro',
|
||||
name: 'MiMo-V2.5-Pro',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "mimo-v2.5-pro",
|
||||
"name": "MiMo-V2.5-Pro",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,65 +1,72 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'xiaomi-token-plan-sgp'
|
||||
export const providerName = "xiaomi-token-plan-sgp"
|
||||
export const providerConfig = {
|
||||
name: 'xiaomi-token-plan-sgp',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://token-plan-sgp.xiaomimimo.com/v1',
|
||||
apiKey: 'XIAOMI_TOKEN_PLAN_SGP_API_KEY',
|
||||
"name": "xiaomi-token-plan-sgp",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://token-plan-sgp.xiaomimimo.com/v1",
|
||||
"apiKey": "XIAOMI_TOKEN_PLAN_SGP_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'mimo-v2-pro',
|
||||
name: 'MiMo-V2-Pro',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "mimo-v2-pro",
|
||||
"name": "MiMo-V2-Pro",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'mimo-v2.5',
|
||||
name: 'MiMo-V2.5',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "mimo-v2.5",
|
||||
"name": "MiMo-V2.5",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'mimo-v2.5-pro',
|
||||
name: 'MiMo-V2.5-Pro',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "mimo-v2.5-pro",
|
||||
"name": "MiMo-V2.5-Pro",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,116 +1,130 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'xiaomi'
|
||||
export const providerName = "xiaomi"
|
||||
export const providerConfig = {
|
||||
name: 'xiaomi',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://api.xiaomimimo.com/v1',
|
||||
apiKey: 'XIAOMI_API_KEY',
|
||||
"name": "xiaomi",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://api.xiaomimimo.com/v1",
|
||||
"apiKey": "XIAOMI_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'mimo-v2-flash',
|
||||
name: 'MiMo-V2-Flash',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 65536,
|
||||
cost: {
|
||||
input: 0.14,
|
||||
output: 0.28,
|
||||
cacheRead: 0.0028,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "mimo-v2-flash",
|
||||
"name": "MiMo-V2-Flash",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 65536,
|
||||
"cost": {
|
||||
"input": 0.14,
|
||||
"output": 0.28,
|
||||
"cacheRead": 0.0028,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'mimo-v2-omni',
|
||||
name: 'MiMo-V2-Omni',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 262144,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0.14,
|
||||
output: 0.28,
|
||||
cacheRead: 0.0028,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "mimo-v2-omni",
|
||||
"name": "MiMo-V2-Omni",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0.14,
|
||||
"output": 0.28,
|
||||
"cacheRead": 0.0028,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'mimo-v2-pro',
|
||||
name: 'MiMo-V2-Pro',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0.435,
|
||||
output: 0.87,
|
||||
cacheRead: 0.0036,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "mimo-v2-pro",
|
||||
"name": "MiMo-V2-Pro",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0.435,
|
||||
"output": 0.87,
|
||||
"cacheRead": 0.0036,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'mimo-v2.5',
|
||||
name: 'MiMo-V2.5',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0.14,
|
||||
output: 0.28,
|
||||
cacheRead: 0.0028,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "mimo-v2.5",
|
||||
"name": "MiMo-V2.5",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0.14,
|
||||
"output": 0.28,
|
||||
"cacheRead": 0.0028,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'mimo-v2.5-pro',
|
||||
name: 'MiMo-V2.5-Pro',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0.435,
|
||||
output: 0.87,
|
||||
cacheRead: 0.0036,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "mimo-v2.5-pro",
|
||||
"name": "MiMo-V2.5-Pro",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0.435,
|
||||
"output": 0.87,
|
||||
"cacheRead": 0.0036,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'mimo-v2.5-pro-ultraspeed',
|
||||
name: 'MiMo-V2.5-Pro-UltraSpeed',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1048576,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 1.305,
|
||||
output: 2.61,
|
||||
cacheRead: 0.0108,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "mimo-v2.5-pro-ultraspeed",
|
||||
"name": "MiMo-V2.5-Pro-UltraSpeed",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 1.305,
|
||||
"output": 2.61,
|
||||
"cacheRead": 0.0108,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,116 +1,129 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'zai-coding-cn'
|
||||
export const providerName = "zai-coding-cn"
|
||||
export const providerConfig = {
|
||||
name: 'zai-coding-cn',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://open.bigmodel.cn/api/coding/paas/v4',
|
||||
apiKey: '',
|
||||
"name": "zai-coding-cn",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://open.bigmodel.cn/api/coding/paas/v4",
|
||||
"apiKey": ""
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'glm-4.5-air',
|
||||
name: 'GLM-4.5-Air',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 98304,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-4.5-air",
|
||||
"name": "GLM-4.5-Air",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 98304,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-4.7',
|
||||
name: 'GLM-4.7',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 204800,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-4.7",
|
||||
"name": "GLM-4.7",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 204800,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-5-turbo',
|
||||
name: 'GLM-5-Turbo',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 200000,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-5-turbo",
|
||||
"name": "GLM-5-Turbo",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 200000,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-5.1',
|
||||
name: 'GLM-5.1',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 200000,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-5.1",
|
||||
"name": "GLM-5.1",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 200000,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-5.2',
|
||||
name: 'GLM-5.2',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-5.2",
|
||||
"name": "GLM-5.2",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-5v-turbo',
|
||||
name: 'GLM-5V-Turbo',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 200000,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "glm-5v-turbo",
|
||||
"name": "GLM-5V-Turbo",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 200000,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
@@ -1,116 +1,129 @@
|
||||
// This file is auto-generated by scripts/generate-builtin-providers.ts
|
||||
// Do not edit manually - run 'bun run generate-providers' to update
|
||||
|
||||
export const providerName = 'zai'
|
||||
export const providerName = "zai"
|
||||
export const providerConfig = {
|
||||
name: 'zai',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
baseUrl: 'https://api.z.ai/api/coding/paas/v4',
|
||||
apiKey: 'ZAI_API_KEY',
|
||||
"name": "zai",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"baseUrl": "https://api.z.ai/api/coding/paas/v4",
|
||||
"apiKey": "ZAI_API_KEY"
|
||||
},
|
||||
models: [
|
||||
"models": [
|
||||
{
|
||||
modelId: 'glm-4.5-air',
|
||||
name: 'GLM-4.5-Air',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 131072,
|
||||
maxTokens: 98304,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-4.5-air",
|
||||
"name": "GLM-4.5-Air",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 131072,
|
||||
"maxTokens": 98304,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-4.7',
|
||||
name: 'GLM-4.7',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 204800,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-4.7",
|
||||
"name": "GLM-4.7",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 204800,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-5-turbo',
|
||||
name: 'GLM-5-Turbo',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 200000,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-5-turbo",
|
||||
"name": "GLM-5-Turbo",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 200000,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-5.1',
|
||||
name: 'GLM-5.1',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 200000,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-5.1",
|
||||
"name": "GLM-5.1",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 200000,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-5.2',
|
||||
name: 'GLM-5.2',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text'],
|
||||
contextWindow: 1000000,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
"modelId": "glm-5.2",
|
||||
"name": "GLM-5.2",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
modelId: 'glm-5v-turbo',
|
||||
name: 'GLM-5V-Turbo',
|
||||
config: {
|
||||
api: 'openai-completions',
|
||||
reasoning: true,
|
||||
input: ['text', 'image'],
|
||||
contextWindow: 200000,
|
||||
maxTokens: 131072,
|
||||
cost: {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cacheRead: 0,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
"modelId": "glm-5v-turbo",
|
||||
"name": "GLM-5V-Turbo",
|
||||
"config": {
|
||||
"api": "openai-completions",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 200000,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
} as const
|
||||
|
||||
Reference in New Issue
Block a user