lucidicai 1.2.14__py3-none-any.whl → 1.2.15__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.
- lucidicai/model_pricing.py +14 -1
- {lucidicai-1.2.14.dist-info → lucidicai-1.2.15.dist-info}/METADATA +1 -1
- {lucidicai-1.2.14.dist-info → lucidicai-1.2.15.dist-info}/RECORD +5 -5
- {lucidicai-1.2.14.dist-info → lucidicai-1.2.15.dist-info}/WHEEL +0 -0
- {lucidicai-1.2.14.dist-info → lucidicai-1.2.15.dist-info}/top_level.txt +0 -0
lucidicai/model_pricing.py
CHANGED
|
@@ -141,6 +141,7 @@ MODEL_PRICING = {
|
|
|
141
141
|
"deepseek-ai/deepseek-r1-distill-llama-70b": {"input": 0.75, "output": 0.99},
|
|
142
142
|
"deepseek-coder": {"input": 0.14, "output": 0.28},
|
|
143
143
|
"deepseek-chat": {"input": 0.14, "output": 0.28},
|
|
144
|
+
"deepseek/deepseek-v3-0324": {"input": 0.14, "output": 0.28},
|
|
144
145
|
|
|
145
146
|
# Qwen Models
|
|
146
147
|
"qwen-qwq-32b": {"input": 0.29, "output": 0.39},
|
|
@@ -148,6 +149,8 @@ MODEL_PRICING = {
|
|
|
148
149
|
"qwen-turbo": {"input": 0.3, "output": 0.6},
|
|
149
150
|
"qwen-plus": {"input": 0.5, "output": 2.0},
|
|
150
151
|
"qwen-max": {"input": 2.0, "output": 6.0},
|
|
152
|
+
"qwen2.5-32b-instruct": {"input": 0.7, "output": "2.8"},
|
|
153
|
+
"qwen2.5-max": {"input": 1.6, "output": 6.4},
|
|
151
154
|
|
|
152
155
|
# Google Gemma Models
|
|
153
156
|
"gemma-2-9b": {"input": 0.20, "output": 0.20},
|
|
@@ -163,7 +166,14 @@ MODEL_PRICING = {
|
|
|
163
166
|
"pplx-7b-chat": {"input": 0.07, "output": 0.28},
|
|
164
167
|
"pplx-70b-chat": {"input": 0.7, "output": 2.8},
|
|
165
168
|
"pplx-7b-online": {"input": 0.07, "output": 0.28},
|
|
166
|
-
"pplx-70b-online": {"input": 0.7, "output": 2.8}
|
|
169
|
+
"pplx-70b-online": {"input": 0.7, "output": 2.8},
|
|
170
|
+
|
|
171
|
+
# Grok Models
|
|
172
|
+
"grok-3-latest": {"input": 3, "output": 15},
|
|
173
|
+
"grok-3": {"input": 3, "output": 15},
|
|
174
|
+
"grok-3-fast": {"input": 5, "output": 25},
|
|
175
|
+
"grok-3-mini": {"input": 0.3, "output": 0.5},
|
|
176
|
+
"grok-3-mini-fast": {"input": 0.6, "output": 4},
|
|
167
177
|
|
|
168
178
|
}
|
|
169
179
|
|
|
@@ -179,6 +189,7 @@ PROVIDER_AVERAGES = {
|
|
|
179
189
|
"qwen": {"input": 0.5, "output": 1.0}, # Qwen average
|
|
180
190
|
"together": {"input": 0.15, "output": 0.15}, # Together AI average
|
|
181
191
|
"perplexity": {"input": 0.4, "output": 1.5}, # Perplexity average
|
|
192
|
+
"grok": {"input": 2.4, "output": 12}, # Grok average
|
|
182
193
|
}
|
|
183
194
|
|
|
184
195
|
def get_provider_from_model(model: str) -> str:
|
|
@@ -205,6 +216,8 @@ def get_provider_from_model(model: str) -> str:
|
|
|
205
216
|
return "together"
|
|
206
217
|
elif any(pplx in model_lower for pplx in ["pplx", "perplexity"]):
|
|
207
218
|
return "perplexity"
|
|
219
|
+
elif any(grok in model_lower for grok in ["grok", "xAI"]):
|
|
220
|
+
return "grok"
|
|
208
221
|
else:
|
|
209
222
|
return "unknown"
|
|
210
223
|
|
|
@@ -5,7 +5,7 @@ lucidicai/constants.py,sha256=_u0z3M4geZgS1g-CrOZUVjtcew8l70dKQnpVQvlXh9w,2172
|
|
|
5
5
|
lucidicai/errors.py,sha256=gTg0bdzjuTcUnakRbZnxjngO4gZnRLVwRHRglpZZJsM,970
|
|
6
6
|
lucidicai/event.py,sha256=9Z1yuP7Pef0sdXABU9SCHCLZSu6DfK--uGZoq-a9_IA,1974
|
|
7
7
|
lucidicai/image_upload.py,sha256=ShacoEaGXbQESatfp-CrIygsDntt9IkcCqZcc9uLZVQ,3130
|
|
8
|
-
lucidicai/model_pricing.py,sha256=
|
|
8
|
+
lucidicai/model_pricing.py,sha256=Q_Kd8OtKPqtvZ4pIh__ztKb3RXe-cX-8xgrM-AIUj9E,12189
|
|
9
9
|
lucidicai/session.py,sha256=goLQxBvXkLT5kS3eSfht3IFqvfYfgULC4eECSIanrPc,4909
|
|
10
10
|
lucidicai/singleton.py,sha256=gfT3XdWLXSIWMqDXbY6-pnesMZ8RGRitaEPhIsgrRPw,1272
|
|
11
11
|
lucidicai/state.py,sha256=4Tb1X6l2or6w_e62FYSuEeghAv3xXm5gquKwzCpvdok,235
|
|
@@ -19,7 +19,7 @@ lucidicai/providers/openai_agents_handler.py,sha256=AAMtY7HZ-7UvTn1RVwd-uHhibJus
|
|
|
19
19
|
lucidicai/providers/openai_handler.py,sha256=j2SW3YlGY1FhMO7d03WaIRxAtti6xATnoo2h8jh-uJk,35166
|
|
20
20
|
lucidicai/providers/opentelemetry_converter.py,sha256=xOHCqoTyO4hUkL6k7fxy84PbljPpYep6ET9ZqbkJehc,17665
|
|
21
21
|
lucidicai/providers/pydantic_ai_handler.py,sha256=Vu03SEqRuQNbmOK3iPwWVqczVRZNDDVoilDILIycK8c,28935
|
|
22
|
-
lucidicai-1.2.
|
|
23
|
-
lucidicai-1.2.
|
|
24
|
-
lucidicai-1.2.
|
|
25
|
-
lucidicai-1.2.
|
|
22
|
+
lucidicai-1.2.15.dist-info/METADATA,sha256=gM8vDiiFysOgG0OG6hcgnxYH4k2U1t1Mb0D_2cpfQfk,577
|
|
23
|
+
lucidicai-1.2.15.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
|
|
24
|
+
lucidicai-1.2.15.dist-info/top_level.txt,sha256=vSSdM3lclF4I5tyVC0xxUk8eIRnnYXMe1hW-eO91HUo,10
|
|
25
|
+
lucidicai-1.2.15.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|