indoxrouter 0.1.2__py3-none-any.whl → 0.1.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. indoxrouter-0.1.4.dist-info/METADATA +195 -0
  2. indoxrouter-0.1.4.dist-info/RECORD +4 -0
  3. indoxrouter-0.1.4.dist-info/top_level.txt +1 -0
  4. indoxRouter/__init__.py +0 -83
  5. indoxRouter/client.py +0 -632
  6. indoxRouter/client_resourses/__init__.py +0 -20
  7. indoxRouter/client_resourses/base.py +0 -67
  8. indoxRouter/client_resourses/chat.py +0 -144
  9. indoxRouter/client_resourses/completion.py +0 -138
  10. indoxRouter/client_resourses/embedding.py +0 -83
  11. indoxRouter/client_resourses/image.py +0 -116
  12. indoxRouter/client_resourses/models.py +0 -114
  13. indoxRouter/config.py +0 -151
  14. indoxRouter/constants/__init__.py +0 -81
  15. indoxRouter/exceptions/__init__.py +0 -70
  16. indoxRouter/models/__init__.py +0 -111
  17. indoxRouter/providers/__init__.py +0 -108
  18. indoxRouter/providers/ai21labs.json +0 -128
  19. indoxRouter/providers/base_provider.py +0 -101
  20. indoxRouter/providers/claude.json +0 -164
  21. indoxRouter/providers/cohere.json +0 -116
  22. indoxRouter/providers/databricks.json +0 -110
  23. indoxRouter/providers/deepseek.json +0 -110
  24. indoxRouter/providers/google.json +0 -128
  25. indoxRouter/providers/meta.json +0 -128
  26. indoxRouter/providers/mistral.json +0 -146
  27. indoxRouter/providers/nvidia.json +0 -110
  28. indoxRouter/providers/openai.json +0 -308
  29. indoxRouter/providers/openai.py +0 -521
  30. indoxRouter/providers/qwen.json +0 -110
  31. indoxRouter/utils/__init__.py +0 -240
  32. indoxrouter-0.1.2.dist-info/LICENSE +0 -21
  33. indoxrouter-0.1.2.dist-info/METADATA +0 -259
  34. indoxrouter-0.1.2.dist-info/RECORD +0 -33
  35. indoxrouter-0.1.2.dist-info/top_level.txt +0 -1
  36. {indoxrouter-0.1.2.dist-info → indoxrouter-0.1.4.dist-info}/WHEEL +0 -0
@@ -1,308 +0,0 @@
1
- [
2
- {
3
- "number": "1",
4
- "modelName": "gpt-4o-mini",
5
- "name": "GPT-4O Mini",
6
- "type": "Text Generation",
7
- "inputPricePer1KTokens": 0.00015,
8
- "outputPricePer1KTokens": 0.0006,
9
- "description": "GPT-4o mini enables a broad range of tasks with its low cost and latency, such as applications that chain or parallelize multiple model calls (e.g., calling multiple APIs), pass a large volume of context to the model (e.g., full code base or conversation history), or interact with customers through fast, real-time text responses (e.g., customer support chatbots). \n",
10
- "contextWindows": "128k Tokens",
11
- "recommended": true,
12
- "commercial": false,
13
- "pricey": false,
14
- "output": "16384 Tokens",
15
- "comments": "Fastest and most affordable flagship model.",
16
- "companyModelName": "Openai : GPT-4O Mini",
17
- "promptTemplate": "<|start_header_id|>user<|end_header_id|>\n\n%1<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n%2<|eot_id|>",
18
- "systemPrompt": ""
19
- },
20
- {
21
- "number": "2",
22
- "modelName": "gpt-4o-2024-11-20",
23
- "name": "GPT-4o-2024-11-20",
24
- "type": "Text Generation",
25
- "inputPricePer1KTokens": 0.0025,
26
- "outputPricePer1KTokens": 0.01,
27
- "description": "GPT-4o mini enables a broad range of tasks with its low cost and latency, such as applications that chain or parallelize multiple model calls (e.g., calling multiple APIs), pass a large volume of context to the model (e.g., full code base or conversation history), or interact with customers through fast, real-time text responses (e.g., customer support chatbots). \n",
28
- "contextWindows": "128k Tokens",
29
- "recommended": true,
30
- "commercial": false,
31
- "pricey": false,
32
- "output": "16384 Tokens",
33
- "comments": "No comments.",
34
- "companyModelName": "Openai : GPT-4o-2024-11-20",
35
- "promptTemplate": "<|start_header_id|>user<|end_header_id|>\n\n%1<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n%2<|eot_id|>",
36
- "systemPrompt": ""
37
- },
38
- {
39
- "number": "3",
40
- "modelName": "gpt-4o-2024-08-06",
41
- "name": "GPT-4o-2024-08-06",
42
- "type": "Text Generation",
43
- "inputPricePer1KTokens": 0.0025,
44
- "outputPricePer1KTokens": 0.01,
45
- "description": "GPT-4o mini enables a broad range of tasks with its low cost and latency, such as applications that chain or parallelize multiple model calls (e.g., calling multiple APIs), pass a large volume of context to the model (e.g., full code base or conversation history), or interact with customers through fast, real-time text responses (e.g., customer support chatbots). \n",
46
- "contextWindows": "128k Tokens",
47
- "recommended": true,
48
- "commercial": false,
49
- "pricey": false,
50
- "output": "16384 Tokens",
51
- "comments": "No comments.",
52
- "companyModelName": "Openai : GPT-4o-2024-08-06",
53
- "promptTemplate": "<|start_header_id|>user<|end_header_id|>\n\n%1<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n%2<|eot_id|>",
54
- "systemPrompt": ""
55
- },
56
- {
57
- "number": "4",
58
- "modelName": "gpt-4o-2024-05-13",
59
- "name": "GPT-4o-2024-05-13",
60
- "type": "Text Generation",
61
- "inputPricePer1KTokens": 0.005,
62
- "outputPricePer1KTokens": 0.015,
63
- "description": "GPT-4o mini enables a broad range of tasks with its low cost and latency, such as applications that chain or parallelize multiple model calls (e.g., calling multiple APIs), pass a large volume of context to the model (e.g., full code base or conversation history), or interact with customers through fast, real-time text responses (e.g., customer support chatbots). \n",
64
- "contextWindows": "128k Tokens",
65
- "recommended": true,
66
- "commercial": false,
67
- "pricey": false,
68
- "output": "4096 Tokens",
69
- "comments": "No comments.",
70
- "companyModelName": "Openai : GPT-4o-2024-05-13",
71
- "promptTemplate": "<|start_header_id|>user<|end_header_id|>\n\n%1<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n%2<|eot_id|>",
72
- "systemPrompt": ""
73
- },
74
- {
75
- "number": "5",
76
- "modelName": "gpt-4o",
77
- "name": "GPT-4O",
78
- "type": "Text Generation",
79
- "inputPricePer1KTokens": 0.0025,
80
- "outputPricePer1KTokens": 0.01,
81
- "description": "GPT-4o (\u201co\u201d for \u201comni\u201d) is our versatile, high-intelligence flagship model. It accepts both text and image inputs, and produces text outputs (including Structured Outputs). Learn how to use GPT-4o in our text generation guide.",
82
- "contextWindows": "128k (Pricey) Tokens",
83
- "recommended": true,
84
- "commercial": false,
85
- "pricey": false,
86
- "output": "16384 Tokens",
87
- "comments": "No comments.",
88
- "companyModelName": "Openai : GPT-4O",
89
- "promptTemplate": "<|start_header_id|>user<|end_header_id|>\n\n%1<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n%2<|eot_id|>",
90
- "systemPrompt": ""
91
- },
92
- {
93
- "number": "6",
94
- "modelName": "gpt-4-turbo",
95
- "name": "GPT-4 Turbo",
96
- "type": "Text Generation",
97
- "inputPricePer1KTokens": 0.01,
98
- "outputPricePer1KTokens": 0.03,
99
- "description": "Previous set of high-intelligence models",
100
- "contextWindows": "128k (Pricey) Tokens",
101
- "recommended": false,
102
- "commercial": false,
103
- "pricey": true,
104
- "output": "4096 Tokens",
105
- "comments": "No comments.",
106
- "companyModelName": "Openai : GPT-4 Turbo",
107
- "promptTemplate": "<|start_header_id|>user<|end_header_id|>\n\n%1<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n%2<|eot_id|>",
108
- "systemPrompt": ""
109
- },
110
- {
111
- "number": "7",
112
- "modelName": "gpt-3.5-turbo",
113
- "name": "GPT-3.5 Turbo",
114
- "type": "Text Generation",
115
- "inputPricePer1KTokens": 0.003,
116
- "outputPricePer1KTokens": 0.006,
117
- "description": "PT-3.5 Turbo model with improved instruction following, JSON mode, reproducible outputs, parallel function calling, and more.",
118
- "contextWindows": "16k Tokens",
119
- "recommended": true,
120
- "commercial": false,
121
- "pricey": false,
122
- "output": "4096 Tokens",
123
- "comments": "No comments.",
124
- "companyModelName": "Openai : GPT-3.5 Turbo",
125
- "promptTemplate": "<|start_header_id|>user<|end_header_id|>\n\n%1<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n%2<|eot_id|>",
126
- "systemPrompt": ""
127
- },
128
- {
129
- "number": "8",
130
- "modelName": "o1-preview",
131
- "name": "O1-Preview",
132
- "type": "Text Generation",
133
- "inputPricePer1KTokens": 0.015,
134
- "outputPricePer1KTokens": 0.06,
135
- "description": "Used to solve complex problems requiring strong reasoning in fields like science, coding, and mathematics.",
136
- "contextWindows": "128k (Pricey) Tokens",
137
- "recommended": false,
138
- "commercial": false,
139
- "pricey": true,
140
- "output": "32768 Tokens",
141
- "comments": "No comments.",
142
- "companyModelName": "Openai : O1-Preview",
143
- "promptTemplate": "<|start_header_id|>user<|end_header_id|>\n\n%1<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n%2<|eot_id|>",
144
- "systemPrompt": ""
145
- },
146
- {
147
- "number": "9",
148
- "modelName": "o1-mini",
149
- "name": "O1-Mini",
150
- "type": "Text Generation",
151
- "inputPricePer1KTokens": 0.003,
152
- "outputPricePer1KTokens": 0.012,
153
- "description": "Used to solve complex problems requiring strong reasoning in fields like science, coding, and mathematics.",
154
- "contextWindows": "128k (Pricey) Tokens",
155
- "recommended": true,
156
- "commercial": false,
157
- "pricey": false,
158
- "output": "65536 Token",
159
- "comments": "No comments.",
160
- "companyModelName": "Openai : O1-Mini",
161
- "promptTemplate": "<|start_header_id|>user<|end_header_id|>\n\n%1<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n%2<|eot_id|>",
162
- "systemPrompt": ""
163
- },
164
- {
165
- "number": "10",
166
- "modelName": "gpt-4",
167
- "name": "GPT-4 8K",
168
- "type": "Text Generation",
169
- "inputPricePer1KTokens": 0.03,
170
- "outputPricePer1KTokens": 0.06,
171
- "description": "No description provided.",
172
- "contextWindows": "16k (Pricey) Tokens",
173
- "recommended": false,
174
- "commercial": false,
175
- "pricey": true,
176
- "output": "4096 Tokens",
177
- "comments": "No comments.",
178
- "companyModelName": "Openai : GPT-4 8K",
179
- "promptTemplate": "<|start_header_id|>user<|end_header_id|>\n\n%1<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n%2<|eot_id|>",
180
- "systemPrompt": ""
181
- },
182
- {
183
- "number": "11",
184
- "modelName": "gpt-4-32k",
185
- "name": "GPT-4 32K",
186
- "type": "Text Generation",
187
- "inputPricePer1KTokens": 0.06,
188
- "outputPricePer1KTokens": 0.12,
189
- "description": "No description provided.",
190
- "contextWindows": "32k (Pricey) Tokens",
191
- "recommended": false,
192
- "commercial": false,
193
- "pricey": true,
194
- "output": "4096 Tokens",
195
- "comments": "No comments.",
196
- "companyModelName": "Openai : GPT-4 32K",
197
- "promptTemplate": "<|start_header_id|>user<|end_header_id|>\n\n%1<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n%2<|eot_id|>",
198
- "systemPrompt": ""
199
- },
200
- {
201
- "number": "12",
202
- "modelName": null,
203
- "name": "GPT-4 Turbo Vision",
204
- "type": "Text",
205
- "inputPricePer1KTokens": 0.0,
206
- "outputPricePer1KTokens": 0.0,
207
- "description": "No description provided.",
208
- "contextWindows": "128k (Pricey) Tokens",
209
- "recommended": true,
210
- "commercial": false,
211
- "pricey": false,
212
- "output": "N/A",
213
- "comments": "No comments.",
214
- "companyModelName": "Openai : GPT-4 Turbo Vision",
215
- "promptTemplate": "<|start_header_id|>user<|end_header_id|>\n\n%1<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n%2<|eot_id|>",
216
- "systemPrompt": ""
217
- },
218
- {
219
- "number": "13",
220
- "modelName": "dall-e-2",
221
- "name": "Dall E2 (Pricey)",
222
- "type": "Image",
223
- "inputPricePer1KTokens": 0.0,
224
- "outputPricePer1KTokens": 0.0,
225
- "description": "No description provided.",
226
- "contextWindows": "Unknown",
227
- "recommended": true,
228
- "commercial": false,
229
- "pricey": false,
230
- "output": "N/A",
231
- "comments": "No comments.",
232
- "companyModelName": "Openai : Dall E2 (Pricey)",
233
- "promptTemplate": "<|start_header_id|>user<|end_header_id|>\n\n%1<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n%2<|eot_id|>",
234
- "systemPrompt": ""
235
- },
236
- {
237
- "number": "14",
238
- "modelName": "dall-e-3",
239
- "name": "Dall E3 (Pricey)",
240
- "type": "Image",
241
- "inputPricePer1KTokens": 0.0,
242
- "outputPricePer1KTokens": 0.0,
243
- "description": "No description provided.",
244
- "contextWindows": "Unknown",
245
- "recommended": true,
246
- "commercial": false,
247
- "pricey": false,
248
- "output": "N/A",
249
- "comments": "No comments.",
250
- "companyModelName": "Openai : Dall E3 (Pricey)",
251
- "promptTemplate": "<|start_header_id|>user<|end_header_id|>\n\n%1<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n%2<|eot_id|>",
252
- "systemPrompt": ""
253
- },
254
- {
255
- "number": "15",
256
- "modelName": "text-embedding-3-small",
257
- "name": "Text Embedding 3 Small",
258
- "type": "Embeddings",
259
- "inputPricePer1KTokens": 0.00002,
260
- "outputPricePer1KTokens": 0.0,
261
- "description": "The new small embedding model offering state-of-the-art performance at lower cost. Outputs 1536-dimensional embeddings by default (can be shortened).",
262
- "contextWindows": "N/A",
263
- "recommended": true,
264
- "commercial": false,
265
- "pricey": false,
266
- "output": "1536 dimensions",
267
- "comments": "Best value embedding model with 1536-dimension output",
268
- "companyModelName": "Openai : text-embedding-3-small",
269
- "promptTemplate": "",
270
- "systemPrompt": ""
271
- },
272
- {
273
- "number": "16",
274
- "modelName": "text-embedding-3-large",
275
- "name": "Text Embedding 3 Large",
276
- "type": "Embeddings",
277
- "inputPricePer1KTokens": 0.00013,
278
- "outputPricePer1KTokens": 0.0,
279
- "description": "Largest embedding model with 3072-dimensional embeddings. Offers highest performance but at higher cost.",
280
- "contextWindows": "N/A",
281
- "recommended": true,
282
- "commercial": false,
283
- "pricey": true,
284
- "output": "3072 dimensions",
285
- "comments": "Maximum dimensionality for complex semantic tasks",
286
- "companyModelName": "Openai : text-embedding-3-large",
287
- "promptTemplate": "",
288
- "systemPrompt": ""
289
- },
290
- {
291
- "number": "17",
292
- "modelName": "text-embedding-ada-002",
293
- "name": "Text Embedding Ada 002",
294
- "type": "Embeddings",
295
- "inputPricePer1KTokens": 0.0001,
296
- "outputPricePer1KTokens": 0.0,
297
- "description": "Previous generation embedding model (1536 dimensions). Being phased out in favor of v3 models.",
298
- "contextWindows": "N/A",
299
- "recommended": false,
300
- "commercial": false,
301
- "pricey": true,
302
- "output": "1536 dimensions",
303
- "comments": "Legacy model - use v3-small instead",
304
- "companyModelName": "Openai : text-embedding-ada-002",
305
- "promptTemplate": "",
306
- "systemPrompt": ""
307
- }
308
- ]