Skip to content

Commit

Permalink
Hide google and groq models
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbrn committed Oct 31, 2024
1 parent 8ca83ea commit b238253
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 49 deletions.
96 changes: 48 additions & 48 deletions packages/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,54 +34,54 @@ export const MODELS: Models = {
// },
},
},
/**
* https://ai.google.dev/pricing#1_5flash
*/
google: {
name: 'Google',
list: {
'gemini-1.5-pro-002': {
cost: { input: 1.25, output: 5.00 },
/**
* Prompts longer than 128k
* cost: { input: 2.50, output: 10.0 },
*/
label: 'Gemini 1.5 Pro',
},
'gemini-1.5-flash-002': {
cost: { input: 0.075, output: 0.30 },
/**
* Prompts longer than 128k
* cost: { input: 0.15, output: 0.60 },
*/
label: 'Gemini 1.5 Flash',
},
},
},
/**
* https://console.groq.com/docs/models
*/
groq: {
name: 'Groq',
list: {
'llama-3.1-70b-versatile': {
cost: { input: 0.59, output: 0.79 },
label: 'Llama 3.1 70B',
},
'llama-3.1-8b-instant': {
cost: { input: 0.05, output: 0.08 },
label: 'Llama 3.1 8B',
},
// 'llama3-groq-70b-8192-tool-use-preview': {
// cost: { input: 0.89, output: 0.89 },
// label: 'Llama 3 Groq 70B Tool Use Preview 8k',
// },
// 'llama3-groq-8b-8192-tool-use-preview': {
// cost: { input: 0.19, output: 0.19 },
// label: 'Llama 3.1 8B',
// },
},
},
// /**
// * https://ai.google.dev/pricing#1_5flash
// */
// google: {
// name: 'Google',
// list: {
// 'gemini-1.5-pro-002': {
// cost: { input: 1.25, output: 5.00 },
// /**
// * Prompts longer than 128k
// * cost: { input: 2.50, output: 10.0 },
// */
// label: 'Gemini 1.5 Pro',
// },
// 'gemini-1.5-flash-002': {
// cost: { input: 0.075, output: 0.30 },
// /**
// * Prompts longer than 128k
// * cost: { input: 0.15, output: 0.60 },
// */
// label: 'Gemini 1.5 Flash',
// },
// },
// },
// /**
// * https://console.groq.com/docs/models
// */
// groq: {
// name: 'Groq',
// list: {
// 'llama-3.1-70b-versatile': {
// cost: { input: 0.59, output: 0.79 },
// label: 'Llama 3.1 70B',
// },
// 'llama-3.1-8b-instant': {
// cost: { input: 0.05, output: 0.08 },
// label: 'Llama 3.1 8B',
// },
// // 'llama3-groq-70b-8192-tool-use-preview': {
// // cost: { input: 0.89, output: 0.89 },
// // label: 'Llama 3 Groq 70B Tool Use Preview 8k',
// // },
// // 'llama3-groq-8b-8192-tool-use-preview': {
// // cost: { input: 0.19, output: 0.19 },
// // label: 'Llama 3.1 8B',
// // },
// },
// },
/**
* https://openai.com/pricing
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export type MessageRole = 'system' | 'user'
export type MessageStatus = 'pending' | 'done' | 'error'
export type MessageType = 'error' | 'prompt' | 'response'

export type ModelVendor = 'anthropic' | 'google' | 'groq' | 'openai'
export type ModelVendor = 'anthropic' /* | 'google' | 'groq' */ | 'openai'

export type Models = {
[key in ModelVendor]: {
Expand Down

0 comments on commit b238253

Please sign in to comment.