Repository navigation
feat(providers): add CoralBricks as a native provider #44700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 9 commits
5763b4a
88814a9
5f5db59
f8568e3
c789c5c
07dc9e8
430c736
9f9a8be
35f9b6f
18ffd76
1dfd035
cb1a23d
efb24af
a4fb718
93c5048
d5bbab5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16429,6 +16429,75 @@ | |
| "supports_function_calling": true, | ||
| "supports_tool_choice": true | ||
| }, | ||
| "coralbricks/glm-5.3-fp4": { | ||
|
greptile-apps[bot] marked this conversation as resolved.
Resolved
|
||
| "cache_creation_input_token_cost": 1.68e-06, | ||
| "cache_read_input_token_cost": 0.0, | ||
| "input_cost_per_token": 1.12e-06, | ||
| "litellm_provider": "coralbricks", | ||
| "max_input_tokens": 1048576, | ||
| "max_tokens": 1048576, | ||
| "mode": "chat", | ||
| "output_cost_per_token": 4.4e-06, | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔴 Reasoning-heavy calls inflate CoralBricks spend When reasoning tokens exceed completion tokens, Learn moreCoralBricks can return a chat usage block where Example: A response reporting 10 completion tokens and 12 reasoning tokens bills 12 output tokens, rather than the vendor's 10, even before any text tokens are counted Recommended fix: Normalize CoralBricks reasoning details against Was this helpful? React with 👍 or 👎 to provide feedback.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CoralBricks nests reasoning inside its output count (35 of 39 tokens in the proof). The arithmetic is the shared calculator every OpenAI-style provider uses |
||
| "source": "https://www.coralbricks.ai/pricing", | ||
| "supported_endpoints": [ | ||
| "/v1/chat/completions", | ||
| "/v1/responses", | ||
| "/v1/messages" | ||
| ], | ||
| "supports_function_calling": true, | ||
| "supports_native_streaming": true, | ||
| "supports_prompt_caching": true, | ||
| "supports_reasoning": true, | ||
| "supports_system_messages": true, | ||
| "supports_tool_choice": true, | ||
| "supports_vision": false | ||
| }, | ||
| "coralbricks/glm-5.3-flash-fp4": { | ||
| "cache_creation_input_token_cost": 2.3e-07, | ||
| "cache_read_input_token_cost": 0.0, | ||
| "input_cost_per_token": 1.5e-07, | ||
| "litellm_provider": "coralbricks", | ||
| "max_input_tokens": 1048576, | ||
| "max_tokens": 1048576, | ||
| "mode": "chat", | ||
| "output_cost_per_token": 5e-07, | ||
| "source": "https://www.coralbricks.ai/pricing", | ||
| "supported_endpoints": [ | ||
| "/v1/chat/completions", | ||
| "/v1/responses", | ||
| "/v1/messages" | ||
| ], | ||
| "supports_function_calling": true, | ||
| "supports_native_streaming": true, | ||
| "supports_prompt_caching": true, | ||
| "supports_reasoning": true, | ||
| "supports_system_messages": true, | ||
| "supports_tool_choice": true, | ||
| "supports_vision": true | ||
| }, | ||
| "coralbricks/deepseek-v4.1-flash-fast-fp4": { | ||
| "cache_creation_input_token_cost": 9e-08, | ||
| "cache_read_input_token_cost": 0.0, | ||
| "input_cost_per_token": 3e-07, | ||
| "litellm_provider": "coralbricks", | ||
| "max_input_tokens": 1048576, | ||
| "max_tokens": 1048576, | ||
| "mode": "chat", | ||
| "output_cost_per_token": 1.2e-06, | ||
| "source": "https://www.coralbricks.ai/pricing", | ||
| "supported_endpoints": [ | ||
| "/v1/chat/completions", | ||
| "/v1/responses", | ||
| "/v1/messages" | ||
| ], | ||
| "supports_function_calling": true, | ||
| "supports_native_streaming": true, | ||
| "supports_prompt_caching": true, | ||
| "supports_reasoning": true, | ||
| "supports_system_messages": true, | ||
| "supports_tool_choice": true, | ||
| "supports_vision": true | ||
| }, | ||
| "computer-use-preview": { | ||
| "deprecation_date": "2026-07-23", | ||
| "input_cost_per_token": 3e-06, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.