Commit
·
f5716a4
1
Parent(s):
455627a
- src/lib/data.ts +130 -16
src/lib/data.ts
CHANGED
|
@@ -5,22 +5,136 @@ export const mockData: Provider[] = [
|
|
| 5 |
provider: "OpenAI",
|
| 6 |
uri: "https://openai.com/api/pricing/",
|
| 7 |
models: [
|
| 8 |
-
{
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
{
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
{
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
],
|
| 25 |
},
|
| 26 |
{
|
|
|
|
| 5 |
provider: "OpenAI",
|
| 6 |
uri: "https://openai.com/api/pricing/",
|
| 7 |
models: [
|
| 8 |
+
{
|
| 9 |
+
name: "gpt-4.5-preview",
|
| 10 |
+
inputPrice: 75.0,
|
| 11 |
+
outputPrice: 150.0,
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
name: "gpt-4o",
|
| 15 |
+
inputPrice: 2.5,
|
| 16 |
+
outputPrice: 10.0,
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
name: "gpt-4o-audio-preview",
|
| 20 |
+
inputPrice: 40.0,
|
| 21 |
+
outputPrice: 80.0,
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
name: "gpt-4o-realtime-preview",
|
| 25 |
+
inputPrice: 40.0,
|
| 26 |
+
outputPrice: 80.0,
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
name: "gpt-4o-mini",
|
| 30 |
+
inputPrice: 0.15,
|
| 31 |
+
outputPrice: 0.6,
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
name: "gpt-4o-mini-audio-preview",
|
| 35 |
+
inputPrice: 10.0,
|
| 36 |
+
outputPrice: 20.0,
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
name: "gpt-4o-mini-realtime-preview",
|
| 40 |
+
inputPrice: 10.0,
|
| 41 |
+
outputPrice: 20.0,
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
name: "o1",
|
| 45 |
+
inputPrice: 15.0,
|
| 46 |
+
outputPrice: 60.0,
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
name: "o1-pro",
|
| 50 |
+
inputPrice: 150.0,
|
| 51 |
+
outputPrice: 600.0,
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
name: "o3-mini",
|
| 55 |
+
inputPrice: 1.1,
|
| 56 |
+
outputPrice: 4.4,
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
name: "o1-mini",
|
| 60 |
+
inputPrice: 1.1,
|
| 61 |
+
outputPrice: 4.4,
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
name: "gpt-4o-mini-search-preview",
|
| 65 |
+
inputPrice: 0.15,
|
| 66 |
+
outputPrice: 0.6,
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
name: "gpt-4o-search-preview",
|
| 70 |
+
inputPrice: 2.5,
|
| 71 |
+
outputPrice: 10.0,
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
name: "computer-use-preview",
|
| 75 |
+
inputPrice: 3.0,
|
| 76 |
+
outputPrice: 12.0,
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
name: "o1-preview",
|
| 80 |
+
inputPrice: 15.0,
|
| 81 |
+
outputPrice: 60.0,
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
name: "o1-preview-cache-input",
|
| 85 |
+
inputPrice: 7.5,
|
| 86 |
+
outputPrice: 60.0,
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
name: "o1-mini-cache-input",
|
| 90 |
+
inputPrice: 1.5,
|
| 91 |
+
outputPrice: 12.0,
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
name: "GPT-4 Turbo",
|
| 95 |
+
inputPrice: 10.0,
|
| 96 |
+
outputPrice: 30.0,
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
name: "GPT-4 Turbo Batch",
|
| 100 |
+
inputPrice: 5.0,
|
| 101 |
+
outputPrice: 15.0,
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
name: "GPT-4o Batch",
|
| 105 |
+
inputPrice: 2.5,
|
| 106 |
+
outputPrice: 7.5,
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
name: "gpt-4o-2024-08-06 Batch",
|
| 110 |
+
inputPrice: 1.25,
|
| 111 |
+
outputPrice: 5.0,
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
name: "GPT-3.5 Turbo",
|
| 115 |
+
inputPrice: 0.5,
|
| 116 |
+
outputPrice: 1.5,
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
name: "GPT-3.5 Turbo Batch",
|
| 120 |
+
inputPrice: 0.25,
|
| 121 |
+
outputPrice: 0.75,
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
name: "GPT-4o Mini",
|
| 125 |
+
inputPrice: 0.15,
|
| 126 |
+
outputPrice: 0.6,
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
name: "GPT-4o Mini Batch",
|
| 130 |
+
inputPrice: 0.075,
|
| 131 |
+
outputPrice: 0.3,
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
name: "GPT-4o Mini Cache Input",
|
| 135 |
+
inputPrice: 0.075,
|
| 136 |
+
outputPrice: 0.6,
|
| 137 |
+
},
|
| 138 |
],
|
| 139 |
},
|
| 140 |
{
|