llm-pricing / src /lib /data.ts
philschmid's picture
philschmid HF staff
Update src/lib/data.ts
5692160 verified
import { Provider } from "@/App";
export const mockData: Provider[] = [
{
provider: 'OpenAI',
uri: 'https://openai.com/api/pricing/',
models: [
{ name: 'GPT-4o', inputPrice: 2.5, outputPrice: 10.0 },
{ name: 'o1 preview', inputPrice: 15.0, outputPrice: 60.0 },
{ name: 'o1 mini', inputPrice: 3.0, outputPrice: 12.0 },
{ name: 'GPT-4o-mini', inputPrice: 0.15, outputPrice: 0.6 },
{ 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',
uri: 'https://ai.google.dev/pricing?hl=en',
models: [
{ name: 'Gemini 1.5 Pro', inputPrice: 1.25, outputPrice: 5.0 },
{ name: 'Gemini 1.5 Flash', inputPrice: 0.075, outputPrice: 0.30 },
],
},
{
provider: 'Cohere',
uri: 'https://cohere.com/pricing',
models: [
{ name: 'Command R+', inputPrice: 2.5, outputPrice: 10.0 },
{ name: 'Command R', inputPrice: 0.15, outputPrice: 0.6 },
],
},
{
provider: 'Mistral',
uri: 'https://docs.mistral.ai/platform/pricing',
models: [
{ name: 'Mistral Large', inputPrice: 2.0, outputPrice: 6.0 },
{ name: 'Codestral', inputPrice: 0.2, outputPrice: 0.6 },
{ name: 'Mistral Nemo', inputPrice: 0.15, outputPrice: 0.15 },
],
},
{
provider: 'Deepspeek',
uri: 'https://platform.deepseek.com/api-docs/quick_start/pricing',
models: [
{ name: 'deepseek-chat', inputPrice: 0.14, outputPrice: 0.28 },
{ name: 'deepseek-coder', inputPrice: 0.14, outputPrice: 0.28 },
],
},
{
provider: 'Together.AI',
uri: 'https://www.together.ai/pricing',
models: [
{ name: 'Mixtral 8x7B', inputPrice: 0.6, outputPrice: 0.6 },
{ name: 'Llama 3.1 70b', inputPrice: 0.9, outputPrice: 0.9 },
{ name: 'Llama 3.1 405b', inputPrice: 3.5, outputPrice: 3.5 },
],
},
{
provider: 'Replicate',
uri: 'https://replicate.com/pricing',
models: [
{ name: 'Llama 3.1 70b', inputPrice: 0.65, outputPrice: 2.75 },
{ name: 'Mixtral 8x7B', inputPrice: 0.30, outputPrice: 1.00 },
{ name: 'Llama 3.1 405b', inputPrice: 9.5, outputPrice: 9.5 },
],
},
{
provider: 'IBM WatsonX',
uri: 'https://www.ibm.com/products/watsonx-ai/foundation-models',
models: [
{ name: 'Llama 3.1 70b', inputPrice: 1.80, outputPrice: 1.80 },
{ name: 'Mistral Large', inputPrice: 10.0, outputPrice: 10.0 },
{ name: 'Llama 3.1 405b', inputPrice: 5.0, outputPrice: 16.0 },
],
},
{
provider: 'Groq',
uri: 'https://groq.com/pricing/',
models: [
{ name: 'Llama 3.1 70b', inputPrice: 0.59, outputPrice: 0.79 },
{ name: 'Mixtral 8x7B', inputPrice: 0.24, outputPrice: 0.24 },
],
},
{
provider: 'Cerebras',
uri: 'https://cerebras.ai/blog/introducing-cerebras-inference-ai-at-instant-speed',
models: [
{ name: 'Llama 3.1 70b', inputPrice: 0.6, outputPrice: 0.6 },
],
},
{
provider: 'Fireworks',
uri: 'https://fireworks.ai/pricing',
models: [
{ name: 'Llama 3.1 70b', inputPrice: 0.90, outputPrice: 0.90 },
{ name: 'Mixtral 8x7B', inputPrice: 0.50, outputPrice: 0.50 },
{ name: 'Yi-Large', inputPrice: 3.00, outputPrice: 3.00 },
{ name: 'Llama 3.1 405b', inputPrice: 3.0, outputPrice: 3.0 },
],
},
{
provider: '01.ai',
uri: 'https://platform.01.ai/docs#models-and-pricing',
models: [
{ name: 'Yi-Large', inputPrice: 3.00, outputPrice: 3.00 },
],
},
{
provider: 'Perplexity',
uri: 'https://docs.perplexity.ai/guides/pricing',
models: [
{ name: 'Llama 3.1 70b', inputPrice: 1.0, outputPrice: 1.0 },
],
},
{
provider: 'Writer',
uri: 'https://dev.writer.com/home/pricing',
models: [
{ name: 'Palmyra X 003', inputPrice: 7.50, outputPrice: 22.50 },
{ name: 'Palmyra X 32k', inputPrice: 1.0, outputPrice: 2.0 },
{ name: 'Palmyra X 002', inputPrice: 1.0, outputPrice: 2.0 },
{ name: 'Palmyra X 002 32k', inputPrice: 1.0, outputPrice: 2.0 },
{ name: 'Palmyra Med 32k', inputPrice: 5.0, outputPrice: 12.0 },
{ name: 'Palmyra Fin 32k', inputPrice: 5.0, outputPrice: 12.0 }
],
},
{
provider: 'AI21',
uri: 'https://www.ai21.com/pricing',
models: [
{ name: 'Jamba 1.5 Large', inputPrice: 2, outputPrice: 8 },
{ name: 'Jamba 1.5 Mini', inputPrice: 0.2, outputPrice: 0.4 },
],
},
{
provider: 'Novita AI',
uri: 'https://novita.ai/model-api/pricing',
models: [
{ name: 'Llama 3.1 70b', inputPrice: 0.51, outputPrice: 0.74 },
{ name: 'Mixtral 8x22B', inputPrice: 0.62, outputPrice: 0.62 },
{ name: 'Llama 3.1 405b', inputPrice: 2.75, outputPrice: 2.75 },
],
},
{
provider: 'Cloudflare',
uri: 'https://novita.ai/model-api/pricing',
models: [
{ name: 'Llama 3.1 70b', inputPrice: 0.75, outputPrice: 0.75 },
],
}
]