llm-pricing / src /lib /data.ts
philschmid's picture
philschmid HF staff
init
343b64b
raw
history blame
2.38 kB
import { Provider } from "@/App";
export const mockData: Provider[] = [
{
provider: 'OpenAI',
uri: 'https://openai.com/api/pricing/',
models: [
{ name: 'GPT-4o', inputPrice: 5.0, outputPrice: 15.0 },
{ name: 'GPT-4 (8K)', inputPrice: 30.0, outputPrice: 60.0 },
{ name: 'GPT-4 Turbo', inputPrice: 10.0, outputPrice: 30.0 },
{ name: 'GPT-3.5-turbo', inputPrice: 0.5, outputPrice: 1.5 },
],
},
{
provider: 'Anthropic',
uri: 'https://www.anthropic.com/pricing',
models: [
{ name: 'Claude 3 (Opus)', inputPrice: 15.0, outputPrice: 75.0 },
{ name: 'Claude 3.5 (Sonnet)', inputPrice: 3.0, outputPrice: 15.0 },
{ name: 'Claude 3 (Haiku)', inputPrice: 0.25, outputPrice: 1.25 },
],
},
{
provider: 'Google Vertex AI',
uri: 'https://ai.google.dev/pricing?hl=en',
models: [
{ name: 'Gemini 1.5 Pro', inputPrice: 3.5, outputPrice: 7.0 },
{ name: 'Gemini 1.5 Flash', inputPrice: 0.35, outputPrice: 0.7 },
],
},
{
provider: 'Cohere',
uri: 'https://cohere.com/pricing',
models: [
{ name: 'Command R+', inputPrice: 3.0, outputPrice: 15.0 },
{ name: 'Command R', inputPrice: 0.5, outputPrice: 1.5 },
],
},
{
provider: 'Mistral',
uri: 'https://docs.mistral.ai/platform/pricing',
models: [
{ name: 'mistral-large-2402', inputPrice: 4.0, outputPrice: 12.0 },
{ name: 'codestral-2405', inputPrice: 1.0, outputPrice: 3.0 },
{ name: 'open-mixtral-8x22b', inputPrice: 2.0, outputPrice: 6.0 },
{ name: 'open-mixtral-8x7b', inputPrice: 0.7, outputPrice: 0.7 },
],
},
{
provider: 'Deepspeek',
uri: 'https://platform.deepseek.com/api-docs/pricing/',
models: [
{ name: 'deepseek-chat', inputPrice: 0.14, outputPrice: 0.28 },
{ name: 'deepseek-coder', inputPrice: 0.14, outputPrice: 0.28 },
],
},
{
provider: 'Anyscale',
uri: 'https://www.anyscale.com/pricing-detail',
models: [
{ name: 'Mistral-small (8x7B)', inputPrice: 0.5, outputPrice: 0.5 },
{ name: 'Llama 3 70b', inputPrice: 1.0, outputPrice: 1.0 },
],
},
{
provider: 'Together.AI',
uri: 'https://www.together.ai/pricing',
models: [
{ name: 'Mistral-small (8x7B)', inputPrice: 0.6, outputPrice: 0.6 },
{ name: 'Llama 3 70b', inputPrice: 0.9, outputPrice: 0.9 },
],
},
]