retab 0.0.38__tar.gz → 0.0.40__tar.gz

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 (128) hide show
  1. {retab-0.0.38 → retab-0.0.40}/PKG-INFO +4 -4
  2. {retab-0.0.38 → retab-0.0.40}/README.md +3 -3
  3. retab-0.0.40/retab/_utils/_model_cards/anthropic.yaml +59 -0
  4. retab-0.0.40/retab/_utils/_model_cards/auto.yaml +43 -0
  5. retab-0.0.40/retab/_utils/_model_cards/gemini.yaml +117 -0
  6. retab-0.0.40/retab/_utils/_model_cards/openai.yaml +301 -0
  7. retab-0.0.40/retab/_utils/_model_cards/xai.yaml +28 -0
  8. retab-0.0.40/retab/_utils/ai_models.py +138 -0
  9. {retab-0.0.38 → retab-0.0.40}/retab/_utils/responses.py +7 -7
  10. {retab-0.0.38 → retab-0.0.40}/retab/_utils/usage/usage.py +2 -1
  11. {retab-0.0.38 → retab-0.0.40}/retab/resources/consensus/completions.py +14 -14
  12. {retab-0.0.38 → retab-0.0.40}/retab/resources/consensus/completions_stream.py +18 -18
  13. {retab-0.0.38 → retab-0.0.40}/retab/resources/consensus/responses.py +5 -5
  14. {retab-0.0.38 → retab-0.0.40}/retab/resources/consensus/responses_stream.py +5 -5
  15. {retab-0.0.38 → retab-0.0.40}/retab/resources/documents/client.py +122 -27
  16. {retab-0.0.38 → retab-0.0.40}/retab/resources/documents/extractions.py +22 -22
  17. {retab-0.0.38 → retab-0.0.40}/retab/resources/evaluations/documents.py +5 -5
  18. {retab-0.0.38 → retab-0.0.40}/retab/resources/evaluations/iterations.py +7 -7
  19. {retab-0.0.38 → retab-0.0.40}/retab/resources/jsonlUtils.py +2 -2
  20. {retab-0.0.38 → retab-0.0.40}/retab/resources/processors/automations/endpoints.py +2 -2
  21. {retab-0.0.38 → retab-0.0.40}/retab/resources/processors/automations/links.py +2 -2
  22. {retab-0.0.38 → retab-0.0.40}/retab/resources/processors/automations/mailboxes.py +2 -2
  23. {retab-0.0.38 → retab-0.0.40}/retab/resources/processors/automations/outlook.py +2 -2
  24. {retab-0.0.38 → retab-0.0.40}/retab/resources/processors/client.py +7 -7
  25. retab-0.0.40/retab/types/ai_models.py +173 -0
  26. {retab-0.0.38 → retab-0.0.40}/retab/types/automations/webhooks.py +3 -3
  27. {retab-0.0.38 → retab-0.0.40}/retab/types/completions.py +7 -7
  28. retab-0.0.40/retab/types/documents/__init__.py +3 -0
  29. {retab-0.0.38 → retab-0.0.40}/retab/types/documents/extractions.py +17 -17
  30. retab-0.0.40/retab/types/documents/parse.py +32 -0
  31. {retab-0.0.38 → retab-0.0.40}/retab/types/extractions.py +2 -2
  32. {retab-0.0.38 → retab-0.0.40}/retab/types/logs.py +2 -2
  33. {retab-0.0.38 → retab-0.0.40}/retab.egg-info/PKG-INFO +4 -4
  34. {retab-0.0.38 → retab-0.0.40}/retab.egg-info/SOURCES.txt +6 -0
  35. retab-0.0.40/setup.py +29 -0
  36. {retab-0.0.38 → retab-0.0.40}/tests/test_documents_api.py +4 -4
  37. {retab-0.0.38 → retab-0.0.40}/tests/test_evaluations.py +5 -5
  38. retab-0.0.38/retab/_utils/ai_models.py +0 -100
  39. retab-0.0.38/retab/types/ai_models.py +0 -645
  40. retab-0.0.38/retab/types/secrets/__init__.py +0 -0
  41. retab-0.0.38/setup.py +0 -28
  42. {retab-0.0.38 → retab-0.0.40}/pyproject.toml +0 -0
  43. {retab-0.0.38 → retab-0.0.40}/retab/__init__.py +0 -0
  44. {retab-0.0.38 → retab-0.0.40}/retab/_resource.py +0 -0
  45. {retab-0.0.38 → retab-0.0.40}/retab/_utils/__init__.py +0 -0
  46. {retab-0.0.38 → retab-0.0.40}/retab/_utils/benchmarking.py +0 -0
  47. {retab-0.0.38 → retab-0.0.40}/retab/_utils/chat.py +0 -0
  48. {retab-0.0.38 → retab-0.0.40}/retab/_utils/display.py +0 -0
  49. {retab-0.0.38 → retab-0.0.40}/retab/_utils/json_schema.py +0 -0
  50. {retab-0.0.38 → retab-0.0.40}/retab/_utils/mime.py +0 -0
  51. {retab-0.0.38 → retab-0.0.40}/retab/_utils/stream_context_managers.py +0 -0
  52. {retab-0.0.38 → retab-0.0.40}/retab/_utils/usage/__init__.py +0 -0
  53. {retab-0.0.38 → retab-0.0.40}/retab/client.py +0 -0
  54. {retab-0.0.38 → retab-0.0.40}/retab/py.typed +0 -0
  55. {retab-0.0.38 → retab-0.0.40}/retab/resources/__init__.py +0 -0
  56. {retab-0.0.38 → retab-0.0.40}/retab/resources/consensus/__init__.py +0 -0
  57. {retab-0.0.38 → retab-0.0.40}/retab/resources/consensus/client.py +0 -0
  58. {retab-0.0.38 → retab-0.0.40}/retab/resources/documents/__init__.py +0 -0
  59. {retab-0.0.38 → retab-0.0.40}/retab/resources/evals.py +0 -0
  60. {retab-0.0.38 → retab-0.0.40}/retab/resources/evaluations/__init__.py +0 -0
  61. {retab-0.0.38 → retab-0.0.40}/retab/resources/evaluations/client.py +0 -0
  62. {retab-0.0.38 → retab-0.0.40}/retab/resources/files.py +0 -0
  63. {retab-0.0.38 → retab-0.0.40}/retab/resources/finetuning.py +0 -0
  64. {retab-0.0.38 → retab-0.0.40}/retab/resources/models.py +0 -0
  65. {retab-0.0.38 → retab-0.0.40}/retab/resources/openai_example.py +0 -0
  66. {retab-0.0.38 → retab-0.0.40}/retab/resources/processors/__init__.py +0 -0
  67. {retab-0.0.38 → retab-0.0.40}/retab/resources/processors/automations/__init__.py +0 -0
  68. {retab-0.0.38 → retab-0.0.40}/retab/resources/processors/automations/client.py +0 -0
  69. {retab-0.0.38 → retab-0.0.40}/retab/resources/processors/automations/logs.py +0 -0
  70. {retab-0.0.38 → retab-0.0.40}/retab/resources/processors/automations/tests.py +0 -0
  71. {retab-0.0.38 → retab-0.0.40}/retab/resources/prompt_optimization.py +0 -0
  72. {retab-0.0.38 → retab-0.0.40}/retab/resources/schemas.py +0 -0
  73. {retab-0.0.38 → retab-0.0.40}/retab/resources/secrets/__init__.py +0 -0
  74. {retab-0.0.38 → retab-0.0.40}/retab/resources/secrets/client.py +0 -0
  75. {retab-0.0.38 → retab-0.0.40}/retab/resources/secrets/external_api_keys.py +0 -0
  76. {retab-0.0.38 → retab-0.0.40}/retab/resources/secrets/webhook.py +0 -0
  77. {retab-0.0.38 → retab-0.0.40}/retab/resources/usage.py +0 -0
  78. {retab-0.0.38 → retab-0.0.40}/retab/types/__init__.py +0 -0
  79. {retab-0.0.38 → retab-0.0.40}/retab/types/automations/__init__.py +0 -0
  80. {retab-0.0.38 → retab-0.0.40}/retab/types/automations/cron.py +0 -0
  81. {retab-0.0.38 → retab-0.0.40}/retab/types/automations/endpoints.py +0 -0
  82. {retab-0.0.38 → retab-0.0.40}/retab/types/automations/links.py +0 -0
  83. {retab-0.0.38 → retab-0.0.40}/retab/types/automations/mailboxes.py +0 -0
  84. {retab-0.0.38 → retab-0.0.40}/retab/types/automations/outlook.py +0 -0
  85. {retab-0.0.38 → retab-0.0.40}/retab/types/browser_canvas.py +0 -0
  86. {retab-0.0.38 → retab-0.0.40}/retab/types/chat.py +0 -0
  87. {retab-0.0.38 → retab-0.0.40}/retab/types/consensus.py +0 -0
  88. {retab-0.0.38 → retab-0.0.40}/retab/types/db/__init__.py +0 -0
  89. {retab-0.0.38 → retab-0.0.40}/retab/types/db/annotations.py +0 -0
  90. {retab-0.0.38 → retab-0.0.40}/retab/types/db/files.py +0 -0
  91. {retab-0.0.38 → retab-0.0.40}/retab/types/documents/correct_orientation.py +0 -0
  92. {retab-0.0.38 → retab-0.0.40}/retab/types/documents/create_messages.py +0 -0
  93. {retab-0.0.38 → retab-0.0.40}/retab/types/evals.py +0 -0
  94. {retab-0.0.38 → retab-0.0.40}/retab/types/evaluations/__init__.py +0 -0
  95. {retab-0.0.38 → retab-0.0.40}/retab/types/evaluations/documents.py +0 -0
  96. {retab-0.0.38 → retab-0.0.40}/retab/types/evaluations/iterations.py +0 -0
  97. {retab-0.0.38 → retab-0.0.40}/retab/types/evaluations/model.py +0 -0
  98. {retab-0.0.38 → retab-0.0.40}/retab/types/events.py +0 -0
  99. {retab-0.0.38 → retab-0.0.40}/retab/types/inference_settings.py +0 -0
  100. {retab-0.0.38/retab/types/documents → retab-0.0.40/retab/types/jobs}/__init__.py +0 -0
  101. {retab-0.0.38 → retab-0.0.40}/retab/types/jobs/base.py +0 -0
  102. {retab-0.0.38 → retab-0.0.40}/retab/types/jobs/batch_annotation.py +0 -0
  103. {retab-0.0.38 → retab-0.0.40}/retab/types/jobs/evaluation.py +0 -0
  104. {retab-0.0.38 → retab-0.0.40}/retab/types/jobs/finetune.py +0 -0
  105. {retab-0.0.38 → retab-0.0.40}/retab/types/jobs/prompt_optimization.py +0 -0
  106. {retab-0.0.38 → retab-0.0.40}/retab/types/jobs/webcrawl.py +0 -0
  107. {retab-0.0.38 → retab-0.0.40}/retab/types/metrics.py +0 -0
  108. {retab-0.0.38 → retab-0.0.40}/retab/types/mime.py +0 -0
  109. {retab-0.0.38 → retab-0.0.40}/retab/types/modalities.py +0 -0
  110. {retab-0.0.38 → retab-0.0.40}/retab/types/pagination.py +0 -0
  111. {retab-0.0.38 → retab-0.0.40}/retab/types/predictions.py +0 -0
  112. {retab-0.0.38/retab/types/jobs → retab-0.0.40/retab/types/schemas}/__init__.py +0 -0
  113. {retab-0.0.38 → retab-0.0.40}/retab/types/schemas/enhance.py +0 -0
  114. {retab-0.0.38 → retab-0.0.40}/retab/types/schemas/evaluate.py +0 -0
  115. {retab-0.0.38 → retab-0.0.40}/retab/types/schemas/generate.py +0 -0
  116. {retab-0.0.38 → retab-0.0.40}/retab/types/schemas/layout.py +0 -0
  117. {retab-0.0.38 → retab-0.0.40}/retab/types/schemas/object.py +0 -0
  118. {retab-0.0.38 → retab-0.0.40}/retab/types/schemas/templates.py +0 -0
  119. {retab-0.0.38/retab/types/schemas → retab-0.0.40/retab/types/secrets}/__init__.py +0 -0
  120. {retab-0.0.38 → retab-0.0.40}/retab/types/secrets/external_api_keys.py +0 -0
  121. {retab-0.0.38 → retab-0.0.40}/retab/types/standards.py +0 -0
  122. {retab-0.0.38 → retab-0.0.40}/retab.egg-info/dependency_links.txt +0 -0
  123. {retab-0.0.38 → retab-0.0.40}/retab.egg-info/requires.txt +0 -0
  124. {retab-0.0.38 → retab-0.0.40}/retab.egg-info/top_level.txt +0 -0
  125. {retab-0.0.38 → retab-0.0.40}/setup.cfg +0 -0
  126. {retab-0.0.38 → retab-0.0.40}/tests/test_automations_links.py +0 -0
  127. {retab-0.0.38 → retab-0.0.40}/tests/test_automations_mailboxes.py +0 -0
  128. {retab-0.0.38 → retab-0.0.40}/tests/test_preprocessor.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: retab
3
- Version: 0.0.38
3
+ Version: 0.0.40
4
4
  Summary: Retab official python library
5
5
  Home-page: https://github.com/Retab-dev/retab
6
6
  Author: Retab
@@ -52,7 +52,7 @@ Requires-Dist: ruff
52
52
 
53
53
  Made with love by the team at [Retab](https://retab.dev) 🤍.
54
54
 
55
- [Our Website](https://retab.dev) | [Documentation](https://docs.retab.dev/get-started/introduction) | [Discord](https://discord.com/invite/vc5tWRPqag) | [Twitter](https://x.com/retabAPI)
55
+ [Our Website](https://retab.dev) | [Documentation](https://docs.retab.dev/get-started/introduction) | [Discord](https://discord.com/invite/vc5tWRPqag) | [Twitter](https://x.com/retabdev)
56
56
 
57
57
 
58
58
  </div>
@@ -395,12 +395,12 @@ You can view minimal notebooks that demonstrate how to use Retab to process docu
395
395
 
396
396
  Let's create the future of document processing together!
397
397
 
398
- Join our [discord community](https://discord.com/invite/vc5tWRPqag) to share tips, discuss best practices, and showcase what you build. Or just [tweet](https://x.com/retabAPI) at us.
398
+ Join our [discord community](https://discord.com/invite/vc5tWRPqag) to share tips, discuss best practices, and showcase what you build. Or just [tweet](https://x.com/retabdev) at us.
399
399
 
400
400
  We can't wait to see how you'll use Retab.
401
401
 
402
402
  - [Discord](https://discord.com/invite/vc5tWRPqag)
403
- - [Twitter](https://x.com/retabAPI)
403
+ - [Twitter](https://x.com/retabdev)
404
404
 
405
405
 
406
406
  ## Roadmap
@@ -9,7 +9,7 @@
9
9
 
10
10
  Made with love by the team at [Retab](https://retab.dev) 🤍.
11
11
 
12
- [Our Website](https://retab.dev) | [Documentation](https://docs.retab.dev/get-started/introduction) | [Discord](https://discord.com/invite/vc5tWRPqag) | [Twitter](https://x.com/retabAPI)
12
+ [Our Website](https://retab.dev) | [Documentation](https://docs.retab.dev/get-started/introduction) | [Discord](https://discord.com/invite/vc5tWRPqag) | [Twitter](https://x.com/retabdev)
13
13
 
14
14
 
15
15
  </div>
@@ -352,12 +352,12 @@ You can view minimal notebooks that demonstrate how to use Retab to process docu
352
352
 
353
353
  Let's create the future of document processing together!
354
354
 
355
- Join our [discord community](https://discord.com/invite/vc5tWRPqag) to share tips, discuss best practices, and showcase what you build. Or just [tweet](https://x.com/retabAPI) at us.
355
+ Join our [discord community](https://discord.com/invite/vc5tWRPqag) to share tips, discuss best practices, and showcase what you build. Or just [tweet](https://x.com/retabdev) at us.
356
356
 
357
357
  We can't wait to see how you'll use Retab.
358
358
 
359
359
  - [Discord](https://discord.com/invite/vc5tWRPqag)
360
- - [Twitter](https://x.com/retabAPI)
360
+ - [Twitter](https://x.com/retabdev)
361
361
 
362
362
 
363
363
  ## Roadmap
@@ -0,0 +1,59 @@
1
+ - model: "claude-3-5-sonnet-latest"
2
+ pricing:
3
+ text:
4
+ prompt: 3.00
5
+ cached_discount: 0.5
6
+ completion: 15.00
7
+ audio: null
8
+ capabilities:
9
+ modalities: ["text", "image"]
10
+ endpoints: ["chat_completions"]
11
+ features: ["streaming", "function_calling"]
12
+ permissions:
13
+ show_in_free_picker: true
14
+ show_in_paid_picker: true
15
+
16
+ - model: "claude-3-5-sonnet-20241022"
17
+ inherits: "claude-3-5-sonnet-latest"
18
+ permissions:
19
+ show_in_free_picker: false
20
+ show_in_paid_picker: false
21
+
22
+ - model: "claude-3-opus-20240229"
23
+ pricing:
24
+ text:
25
+ prompt: 15.00
26
+ cached_discount: 0.5
27
+ completion: 75.00
28
+ audio: null
29
+ capabilities:
30
+ modalities: ["text", "image"]
31
+ endpoints: ["chat_completions"]
32
+ features: ["streaming", "function_calling"]
33
+ permissions:
34
+ show_in_free_picker: true
35
+ show_in_paid_picker: true
36
+
37
+ - model: "claude-3-sonnet-20240229"
38
+ pricing:
39
+ text:
40
+ prompt: 3.00
41
+ cached_discount: 0.5
42
+ completion: 15.00
43
+ audio: null
44
+ capabilities:
45
+ modalities: ["text", "image"]
46
+ endpoints: ["chat_completions"]
47
+ features: ["streaming", "function_calling"]
48
+
49
+ - model: "claude-3-haiku-20240307"
50
+ pricing:
51
+ text:
52
+ prompt: 0.25
53
+ cached_discount: 0.5
54
+ completion: 1.25
55
+ audio: null
56
+ capabilities:
57
+ modalities: ["text", "image"]
58
+ endpoints: ["chat_completions"]
59
+ features: ["streaming", "function_calling"]
@@ -0,0 +1,43 @@
1
+ - model: "auto-large"
2
+ pricing:
3
+ text:
4
+ prompt: 2.00
5
+ cached_discount: 0.25
6
+ completion: 8.00
7
+ audio: null
8
+ ft_price_hike: 1.5
9
+ capabilities:
10
+ modalities: ["text", "image"]
11
+ endpoints: ["chat_completions"]
12
+ features: ["streaming", "function_calling", "structured_outputs"]
13
+ temperature_support: true
14
+
15
+ - model: "auto-small"
16
+ pricing:
17
+ text:
18
+ prompt: 0.4
19
+ cached_discount: 0.25
20
+ completion: 1.6
21
+ audio:
22
+ prompt: 0.7
23
+ cached_discount: 0.175
24
+ completion: 1000
25
+ capabilities:
26
+ modalities: ["text", "image"]
27
+ endpoints: ["chat_completions"]
28
+ features: ["streaming", "function_calling", "structured_outputs"]
29
+ temperature_support: true
30
+
31
+ - model: "auto-micro"
32
+ pricing:
33
+ text:
34
+ prompt: 0.1
35
+ cached_discount: 0.25
36
+ completion: 0.4
37
+ audio: null
38
+ ft_price_hike: 1.5
39
+ capabilities:
40
+ modalities: ["text", "image"]
41
+ endpoints: ["chat_completions"]
42
+ features: ["streaming", "function_calling", "structured_outputs"]
43
+ temperature_support: true
@@ -0,0 +1,117 @@
1
+ # gemini-2.5-pro family
2
+ - model: "gemini-2.5-pro"
3
+ pricing:
4
+ text:
5
+ prompt: 1.25
6
+ cached_discount: 0.25
7
+ completion: 10.00
8
+ audio: null
9
+ capabilities:
10
+ modalities: ["text", "image"]
11
+ endpoints: ["chat_completions"]
12
+ features: ["streaming", "function_calling", "structured_outputs"]
13
+ permissions:
14
+ show_in_free_picker: true
15
+ show_in_paid_picker: true
16
+
17
+ - model: "gemini-2.5-pro-exp-03-25"
18
+ inherits: "gemini-2.5-pro"
19
+ permissions:
20
+ show_in_free_picker: false
21
+ show_in_paid_picker: false
22
+
23
+ - model: "gemini-2.5-pro-preview-06-05"
24
+ inherits: "gemini-2.5-pro"
25
+ permissions:
26
+ show_in_free_picker: false
27
+ show_in_paid_picker: false
28
+
29
+ - model: "gemini-2.5-pro-preview-05-06"
30
+ inherits: "gemini-2.5-pro"
31
+ permissions:
32
+ show_in_free_picker: false
33
+ show_in_paid_picker: false
34
+
35
+ - model: "gemini-2.5-pro-preview-03-25"
36
+ inherits: "gemini-2.5-pro"
37
+ permissions:
38
+ show_in_free_picker: false
39
+ show_in_paid_picker: false
40
+
41
+ - model: "gemini-2.5-flash"
42
+ pricing:
43
+ text:
44
+ prompt: 0.30
45
+ completion: 2.50
46
+ audio:
47
+ prompt: 1.00
48
+ completion: 1000
49
+ capabilities:
50
+ modalities: ["text", "image", "audio"]
51
+ endpoints: ["chat_completions"]
52
+ features: ["streaming", "function_calling", "structured_outputs"]
53
+ permissions:
54
+ show_in_free_picker: true
55
+ show_in_paid_picker: true
56
+
57
+ - model: "gemini-2.5-flash-preview-05-20"
58
+ pricing:
59
+ text:
60
+ prompt: 0.15
61
+ completion: 0.60
62
+ audio: null
63
+ capabilities:
64
+ modalities: ["text", "image"]
65
+ endpoints: ["chat_completions"]
66
+ features: ["streaming", "function_calling", "structured_outputs"]
67
+
68
+ - model: "gemini-2.5-flash-preview-04-17"
69
+ inherits: "gemini-2.5-flash-preview-05-20"
70
+
71
+ # gemini-2.0-flash family
72
+ - model: "gemini-2.0-flash"
73
+ pricing:
74
+ text:
75
+ prompt: 0.1
76
+ cached_discount: 0.25
77
+ completion: 0.40
78
+ audio:
79
+ prompt: 0.7
80
+ cached_discount: 0.25
81
+ completion: 1000
82
+ capabilities:
83
+ modalities: ["text", "image"]
84
+ endpoints: ["chat_completions"]
85
+ features: ["streaming", "function_calling", "structured_outputs"]
86
+ temperature_support: true
87
+
88
+ - model: "gemini-2.0-flash-lite"
89
+ pricing:
90
+ text:
91
+ prompt: 0.075
92
+ completion: 0.30
93
+ audio:
94
+ prompt: 0.075
95
+ completion: 1000
96
+ capabilities:
97
+ modalities: ["text", "image", "audio"]
98
+ endpoints: ["chat_completions"]
99
+ features: ["streaming", "structured_outputs"]
100
+ temperature_support: true
101
+
102
+ - model: "gemini-2.5-flash-lite-preview-06-17"
103
+ pricing:
104
+ text:
105
+ prompt: 0.10
106
+ completion: 0.40
107
+ audio:
108
+ prompt: 0.50
109
+ completion: 0.40
110
+ capabilities:
111
+ modalities: ["text", "image", "audio"]
112
+ endpoints: ["chat_completions"]
113
+ features: ["streaming", "structured_outputs"]
114
+ temperature_support: true
115
+ permissions:
116
+ show_in_free_picker: true
117
+ show_in_paid_picker: true
@@ -0,0 +1,301 @@
1
+
2
+ # Reasoning models
3
+ # o1 family
4
+ - model: "o1"
5
+ pricing:
6
+ text:
7
+ prompt: 15.00
8
+ cached_discount: 0.5
9
+ completion: 60.00
10
+ audio: null
11
+ capabilities:
12
+ modalities: ["text", "image"]
13
+ endpoints: ["chat_completions", "responses", "assistants", "batch"]
14
+ features: ["streaming", "function_calling", "structured_outputs"]
15
+ temperature_support: false
16
+ reasoning_effort_support: true
17
+
18
+ - model: "o1-2024-12-17"
19
+ inherits: "o1"
20
+
21
+ # o3 family
22
+ - model: "o3"
23
+ pricing:
24
+ text:
25
+ prompt: 2.0
26
+ cached_discount: 0.25
27
+ completion: 8.0
28
+ audio: null
29
+ ft_price_hike: 1.5
30
+ capabilities:
31
+ modalities: ["text", "image"]
32
+ endpoints: ["chat_completions", "responses", "assistants", "batch"]
33
+ features: ["streaming", "function_calling", "structured_outputs", "schema_generation"]
34
+ temperature_support: false
35
+ reasoning_effort_support: true
36
+ permissions:
37
+ show_in_free_picker: false
38
+ show_in_paid_picker: true
39
+
40
+ - model: "o3-2025-04-16"
41
+ inherits: "o3"
42
+ permissions:
43
+ show_in_free_picker: false
44
+ show_in_paid_picker: false
45
+
46
+ # o4-mini family
47
+ - model: "o4-mini"
48
+ pricing:
49
+ text:
50
+ prompt: 1.10
51
+ cached_discount: 0.25
52
+ completion: 4.40
53
+ audio: null
54
+ ft_price_hike: 1.5
55
+ capabilities:
56
+ modalities: ["text", "image"]
57
+ endpoints: ["chat_completions", "responses", "assistants", "batch"]
58
+ features: ["streaming", "function_calling", "structured_outputs", "schema_generation"]
59
+ temperature_support: false
60
+ reasoning_effort_support: true
61
+ permissions:
62
+ show_in_free_picker: false
63
+ show_in_paid_picker: true
64
+
65
+ - model: "o4-mini-2025-04-16"
66
+ inherits: "o4-mini"
67
+ permissions:
68
+ show_in_free_picker: false
69
+ show_in_paid_picker: false
70
+
71
+ # Chat models
72
+ # gpt-4.1 family
73
+ - model: "gpt-4.1"
74
+ pricing:
75
+ text:
76
+ prompt: 2.00
77
+ cached_discount: 0.25
78
+ completion: 8.00
79
+ audio: null
80
+ ft_price_hike: 1.5
81
+ capabilities:
82
+ modalities: ["text", "image"]
83
+ endpoints: ["chat_completions", "responses", "assistants", "batch"]
84
+ features: ["streaming", "function_calling", "structured_outputs", "schema_generation"]
85
+ temperature_support: true
86
+ reasoning_effort_support: false
87
+ permissions:
88
+ show_in_free_picker: true
89
+ show_in_paid_picker: true
90
+
91
+ - model: "gpt-4.1-2025-04-14"
92
+ inherits: "gpt-4.1"
93
+ permissions:
94
+ show_in_free_picker: false
95
+ show_in_paid_picker: false
96
+
97
+ - model: "gpt-4.1-mini"
98
+ pricing:
99
+ text:
100
+ prompt: 0.40
101
+ cached_discount: 0.25
102
+ completion: 1.60
103
+ audio: null
104
+ ft_price_hike: 1.5
105
+ capabilities:
106
+ modalities: ["text", "image"]
107
+ endpoints: ["chat_completions", "responses", "assistants", "batch"]
108
+ features: ["streaming", "function_calling", "structured_outputs", "schema_generation"]
109
+ temperature_support: true
110
+ reasoning_effort_support: false
111
+ permissions:
112
+ show_in_free_picker: true
113
+ show_in_paid_picker: true
114
+
115
+ - model: "gpt-4.1-mini-2025-04-14"
116
+ inherits: "gpt-4.1-mini"
117
+ permissions:
118
+ show_in_free_picker: false
119
+ show_in_paid_picker: false
120
+
121
+ - model: "gpt-4.1-nano"
122
+ pricing:
123
+ text:
124
+ prompt: 0.10
125
+ cached_discount: 0.25
126
+ completion: 0.40
127
+ audio: null
128
+ ft_price_hike: 1.5
129
+ capabilities:
130
+ modalities: ["text", "image"]
131
+ endpoints: ["chat_completions", "responses", "assistants", "batch"]
132
+ features: ["streaming", "function_calling", "structured_outputs", "schema_generation"]
133
+ temperature_support: true
134
+ reasoning_effort_support: false
135
+ permissions:
136
+ show_in_free_picker: true
137
+ show_in_paid_picker: true
138
+
139
+ - model: "gpt-4.1-nano-2025-04-14"
140
+ inherits: "gpt-4.1-nano"
141
+ permissions:
142
+ show_in_free_picker: false
143
+ show_in_paid_picker: false
144
+
145
+ # gpt-4o family
146
+ - model: "chatgpt-4o-latest"
147
+ pricing:
148
+ text:
149
+ prompt: 2.50
150
+ cached_discount: 0.5
151
+ completion: 10.00
152
+ audio: null
153
+ ft_price_hike: 1.5
154
+ capabilities:
155
+ modalities: ["text", "image"]
156
+ endpoints: ["chat_completions", "responses", "assistants", "batch", "fine_tuning"]
157
+ features: ["streaming", "function_calling", "structured_outputs", "fine_tuning", "distillation", "predicted_outputs"]
158
+ temperature_support: true
159
+
160
+ - model: "gpt-4o"
161
+ inherits: "chatgpt-4o-latest"
162
+
163
+ - model: "gpt-4o-2024-08-06"
164
+ inherits: "chatgpt-4o-latest"
165
+
166
+ - model: "gpt-4o-2024-11-20"
167
+ inherits: "chatgpt-4o-latest"
168
+
169
+ - model: "gpt-4o-2024-05-13"
170
+ pricing:
171
+ text:
172
+ prompt: 5.00
173
+ cached_discount: 0.5
174
+ completion: 15.00
175
+ audio: null
176
+ ft_price_hike: 1.5
177
+ capabilities:
178
+ modalities: ["text", "image"]
179
+ endpoints: ["chat_completions", "responses", "assistants", "batch", "fine_tuning"]
180
+ features: ["streaming", "function_calling", "structured_outputs", "fine_tuning", "distillation", "predicted_outputs"]
181
+ temperature_support: true
182
+
183
+ # gpt-4o-audio family
184
+ - model: "gpt-4o-audio-preview-2024-12-17"
185
+ pricing:
186
+ text:
187
+ prompt: 2.50
188
+ cached_discount: 0.5
189
+ completion: 10.00
190
+ audio:
191
+ prompt: 40.00
192
+ cached_discount: 0.2
193
+ completion: 80.00
194
+ capabilities:
195
+ modalities: ["text", "audio"]
196
+ endpoints: ["chat_completions"]
197
+ features: ["streaming", "function_calling"]
198
+ temperature_support: true
199
+
200
+ - model: "gpt-4o-audio-preview-2024-10-01"
201
+ pricing:
202
+ text:
203
+ prompt: 2.50
204
+ cached_discount: 0.5
205
+ completion: 10.00
206
+ audio:
207
+ prompt: 100.00
208
+ cached_discount: 0.2
209
+ completion: 200.00
210
+ capabilities:
211
+ modalities: ["text", "audio"]
212
+ endpoints: ["chat_completions"]
213
+ features: ["streaming", "function_calling"]
214
+ temperature_support: true
215
+
216
+ - model: "gpt-4o-realtime-preview-2024-12-17"
217
+ pricing:
218
+ text:
219
+ prompt: 5.00
220
+ cached_discount: 0.5
221
+ completion: 20.00
222
+ audio:
223
+ prompt: 40.00
224
+ cached_discount: 0.2
225
+ completion: 80.00
226
+ capabilities:
227
+ modalities: ["text", "audio"]
228
+ endpoints: ["chat_completions"]
229
+ features: ["streaming", "function_calling"]
230
+ temperature_support: true
231
+
232
+ - model: "gpt-4o-realtime-preview-2024-10-01"
233
+ pricing:
234
+ text:
235
+ prompt: 5.00
236
+ cached_discount: 0.5
237
+ completion: 20.00
238
+ audio:
239
+ prompt: 100.00
240
+ cached_discount: 0.2
241
+ completion: 200.00
242
+ capabilities:
243
+ modalities: ["text", "audio"]
244
+ endpoints: ["chat_completions"]
245
+ features: ["streaming", "function_calling"]
246
+ temperature_support: true
247
+
248
+ # gpt-4o-mini family
249
+ - model: "gpt-4o-mini"
250
+ pricing:
251
+ text:
252
+ prompt: 0.15
253
+ cached_discount: 0.5
254
+ completion: 0.60
255
+ audio: null
256
+ ft_price_hike: 2.0
257
+ capabilities:
258
+ modalities: ["text", "image"]
259
+ endpoints: ["chat_completions", "responses", "assistants", "batch", "fine_tuning"]
260
+ features: ["streaming", "function_calling", "structured_outputs", "fine_tuning"]
261
+ temperature_support: true
262
+
263
+ - model: "gpt-4o-mini-2024-07-18"
264
+ inherits: "gpt-4o-mini"
265
+
266
+ # gpt-4o-mini-audio family
267
+ - model: "gpt-4o-mini-audio-preview-2024-12-17"
268
+ pricing:
269
+ text:
270
+ prompt: 0.15
271
+ cached_discount: 0.5
272
+ completion: 0.60
273
+ audio:
274
+ prompt: 10.00
275
+ cached_discount: 0.2
276
+ completion: 20.00
277
+ ft_price_hike: 2.0
278
+ capabilities:
279
+ modalities: ["text", "audio"]
280
+ endpoints: ["chat_completions"]
281
+ features: ["streaming", "function_calling"]
282
+ temperature_support: true
283
+
284
+ - model: "gpt-4o-mini-realtime-preview-2024-12-17"
285
+ pricing:
286
+ text:
287
+ prompt: 0.60
288
+ cached_discount: 0.5
289
+ completion: 2.40
290
+ audio:
291
+ prompt: 10.00
292
+ cached_discount: 0.2
293
+ completion: 20.00
294
+ ft_price_hike: 2.0
295
+ capabilities:
296
+ modalities: ["text", "audio"]
297
+ endpoints: ["chat_completions"]
298
+ features: ["streaming", "function_calling"]
299
+ temperature_support: true
300
+
301
+
@@ -0,0 +1,28 @@
1
+ # grok3-family
2
+ - model: "grok-3"
3
+ pricing:
4
+ text:
5
+ prompt: 3
6
+ completion: 15
7
+ audio: null
8
+ capabilities:
9
+ modalities: ["text"]
10
+ endpoints: ["chat_completions"]
11
+ features: ["streaming", "structured_outputs"]
12
+ permissions:
13
+ show_in_free_picker: true
14
+ show_in_paid_picker: true
15
+
16
+ - model: "grok-3-mini"
17
+ pricing:
18
+ text:
19
+ prompt: 0.3
20
+ completion: 0.5
21
+ audio: null
22
+ capabilities:
23
+ modalities: ["text"]
24
+ endpoints: ["chat_completions"]
25
+ features: ["streaming", "structured_outputs"]
26
+ permissions:
27
+ show_in_free_picker: true
28
+ show_in_paid_picker: true