model-library 0.1.3__py3-none-any.whl → 0.1.5__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 (37) hide show
  1. model_library/base/base.py +2 -0
  2. model_library/base/output.py +24 -9
  3. model_library/base/utils.py +27 -5
  4. model_library/config/README.md +169 -0
  5. model_library/config/ai21labs_models.yaml +11 -11
  6. model_library/config/alibaba_models.yaml +21 -22
  7. model_library/config/all_models.json +4623 -2599
  8. model_library/config/amazon_models.yaml +100 -102
  9. model_library/config/anthropic_models.yaml +43 -52
  10. model_library/config/cohere_models.yaml +25 -24
  11. model_library/config/deepseek_models.yaml +28 -25
  12. model_library/config/dummy_model.yaml +9 -7
  13. model_library/config/fireworks_models.yaml +86 -56
  14. model_library/config/google_models.yaml +146 -126
  15. model_library/config/inception_models.yaml +6 -6
  16. model_library/config/kimi_models.yaml +13 -14
  17. model_library/config/minimax_models.yaml +37 -0
  18. model_library/config/mistral_models.yaml +85 -29
  19. model_library/config/openai_models.yaml +192 -150
  20. model_library/config/perplexity_models.yaml +10 -23
  21. model_library/config/together_models.yaml +115 -104
  22. model_library/config/xai_models.yaml +47 -79
  23. model_library/config/zai_models.yaml +23 -15
  24. model_library/exceptions.py +7 -16
  25. model_library/providers/amazon.py +32 -17
  26. model_library/providers/minimax.py +33 -0
  27. model_library/providers/mistral.py +10 -1
  28. model_library/providers/openai.py +2 -6
  29. model_library/register_models.py +36 -36
  30. model_library/registry_utils.py +78 -16
  31. model_library/utils.py +2 -2
  32. {model_library-0.1.3.dist-info → model_library-0.1.5.dist-info}/METADATA +2 -2
  33. model_library-0.1.5.dist-info/RECORD +64 -0
  34. model_library-0.1.3.dist-info/RECORD +0 -61
  35. {model_library-0.1.3.dist-info → model_library-0.1.5.dist-info}/WHEEL +0 -0
  36. {model_library-0.1.3.dist-info → model_library-0.1.5.dist-info}/licenses/LICENSE +0 -0
  37. {model_library-0.1.3.dist-info → model_library-0.1.5.dist-info}/top_level.txt +0 -0
@@ -2,19 +2,19 @@ base-config:
2
2
  company: Perplexity
3
3
  documentation_url: https://docs.perplexity.ai
4
4
  open_source: false
5
- class_properties:
6
- supports_images: false
7
- supports_metadata: true
8
- supports_files: false
9
- supports_batch_requests: false
10
- supports_temperature: true
11
- supports_tools: false
5
+ supports:
6
+ images: false
7
+ files: false
8
+ batch: false
9
+ temperature: true
10
+ tools: false
11
+ metadata:
12
12
  available_for_everyone: true
13
13
  available_as_evaluator: false
14
14
  ignored_for_cost: false
15
15
  properties:
16
16
  context_window: 128000
17
- max_token_output: null
17
+ max_tokens: null
18
18
  training_cutoff: null
19
19
 
20
20
  perplexity-models:
@@ -31,9 +31,6 @@ perplexity-models:
31
31
  costs_per_million_token:
32
32
  input: 1.0
33
33
  output: 1.0
34
- request_low_context_per_1000: 5.0
35
- request_medium_context_per_1000: 8.0
36
- request_high_context_per_1000: 12.0
37
34
 
38
35
  perplexity/sonar-pro:
39
36
  label: Sonar Pro
@@ -44,23 +41,19 @@ perplexity-models:
44
41
  costs_per_million_token:
45
42
  input: 3.0
46
43
  output: 15.0
47
- request_low_context_per_1000: 6.0
48
- request_medium_context_per_1000: 10.0
49
- request_high_context_per_1000: 14.0
50
44
 
51
45
  perplexity/sonar-reasoning:
52
46
  label: Sonar Reasoning
53
47
  description: Reasoning-focused search model that exposes intermediate thinking for step-by-step answers.
54
48
  documentation_url: https://docs.perplexity.ai/models/models/sonar-reasoning
49
+ metadata:
50
+ deprecated: true
55
51
  properties:
56
52
  context_window: 128000
57
53
  reasoning_model: true
58
54
  costs_per_million_token:
59
55
  input: 1.0
60
56
  output: 5.0
61
- request_low_context_per_1000: 5.0
62
- request_medium_context_per_1000: 8.0
63
- request_high_context_per_1000: 12.0
64
57
 
65
58
  perplexity/sonar-reasoning-pro:
66
59
  label: Sonar Reasoning Pro
@@ -72,9 +65,6 @@ perplexity-models:
72
65
  costs_per_million_token:
73
66
  input: 2.0
74
67
  output: 8.0
75
- request_low_context_per_1000: 6.0
76
- request_medium_context_per_1000: 10.0
77
- request_high_context_per_1000: 14.0
78
68
 
79
69
  perplexity/sonar-deep-research:
80
70
  label: Sonar Deep Research
@@ -86,6 +76,3 @@ perplexity-models:
86
76
  costs_per_million_token:
87
77
  input: 2.0
88
78
  output: 8.0
89
- citations: 2.0
90
- search_queries_per_1000: 5.0
91
- reasoning: 3.0