diff --git a/packages/cost/providers/gonkabroker/index.ts b/packages/cost/providers/gonkabroker/index.ts new file mode 100644 index 0000000000..16fd5827b0 --- /dev/null +++ b/packages/cost/providers/gonkabroker/index.ts @@ -0,0 +1,39 @@ +/** + * + * DO NOT EDIT THIS FILE UNLESS IT IS IN /costs + */ + +import { ModelRow } from "../../interfaces/Cost"; + +export const costs: ModelRow[] = [ + { + model: { + operator: "equals", + value: "MiniMaxAI/MiniMax-M2.7", + }, + cost: { + prompt_token: 0.0000003, + completion_token: 0.0000003, + }, + }, + { + model: { + operator: "equals", + value: "moonshotai/Kimi-K2.6", + }, + cost: { + prompt_token: 0.00000035, + completion_token: 0.00000035, + }, + }, + { + model: { + operator: "equals", + value: "deepseek-ai/DeepSeek-V4-Flash-0731", + }, + cost: { + prompt_token: 0.00000025, + completion_token: 0.00000025, + }, + }, +]; diff --git a/packages/cost/providers/mappings.ts b/packages/cost/providers/mappings.ts index 7e856b54c5..4599e6d461 100644 --- a/packages/cost/providers/mappings.ts +++ b/packages/cost/providers/mappings.ts @@ -9,6 +9,7 @@ import { costs as nvidiaCosts } from "./nvidia"; import { costs as cohereCosts } from "./cohere"; import { costs as deepseekCosts } from "./deepseek"; import { costs as fireworksAICosts } from "./fireworks"; +import { costs as gonkabrokerCosts } from "./gonkabroker"; import { costs as groqCosts } from "./groq"; import { costs as mistralCosts } from "./mistral"; import { costs as nebiusCosts } from "./nebius"; @@ -82,6 +83,9 @@ const vercelGateway = /^https:\/\/ai-gateway\.vercel\.sh/; // https://api.novita.ai const novita = /^https:\/\/api\.novita\.ai/; +// https://proxy.gonkabroker.com +const gonkabroker = /^https:\/\/proxy\.gonkabroker\.com/; + // api.openpipe.ai const openpipe = /^https:\/\/api\.openpipe\.ai/; @@ -132,6 +136,7 @@ export const providersNames = [ "CEREBRAS", "BASETEN", "CANOPYWAVE", + "GONKABROKER", ] as const; export type ProviderName = (typeof providersNames)[number]; @@ -301,6 +306,11 @@ export const providers: { provider: "NOVITA", costs: novitaCosts, }, + { + pattern: gonkabroker, + provider: "GONKABROKER", + costs: gonkabrokerCosts, + }, { pattern: openpipe, provider: "OPENPIPE",