Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions daras_ai_v2/language_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,18 @@ class LargeLanguageModels(Enum):
context_window=128_000,
max_output_tokens=8192,
supports_json=True,
is_deprecated=True,
redirect_to="deepseek_v3p1",
)

deepseek_v3p1 = LLMSpec(
label="DeepSeek V3.1 • DeepSeek",
model_id="accounts/fireworks/models/deepseek-v3p1",
llm_api=LLMApis.fireworks,
context_window=163_800,
max_output_tokens=20_500,
supports_json=True,
is_thinking_model=True,
)

# https://console.groq.com/docs/models
Expand Down
10 changes: 10 additions & 0 deletions scripts/init_llm_pricing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1131,6 +1131,16 @@ def run():
pricing_url="https://fireworks.ai/pricing",
)

llm_pricing_create(
model_id="accounts/fireworks/models/deepseek-v3p1",
model_name=LargeLanguageModels.deepseek_v3p1.name,
unit_cost_input=0.56,
unit_cost_output=1.68,
unit_quantity=10**6,
provider=ModelProvider.fireworks,
pricing_url="https://fireworks.ai/pricing",
)

llm_pricing_create(
model_id="accounts/fireworks/models/mistral-small-24b-instruct-2501",
model_name=LargeLanguageModels.mistral_small_24b_instruct.name,
Expand Down