Skip to content
2 changes: 2 additions & 0 deletions litellm/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,7 @@ class ServerStreamingClassification(str, Enum):
"https://api.scx.ai/v1",
"https://api.prisminference.com/v1",
"https://api.reka.ai/v1",
"https://api.inferenceapis.com/v1",
"https://gigachat.devices.sberbank.ru/api/v1",
]

Expand Down Expand Up @@ -1097,6 +1098,7 @@ class ServerStreamingClassification(str, Enum):
"prism",
"sail",
"reka",
"inferenceapis",
]

OPENAI_AUDIO_TRANSCRIPTION_PROVIDERS: Final = frozenset({"openai"} | frozenset(openai_compatible_providers))
Expand Down
9 changes: 9 additions & 0 deletions litellm/llms/openai_like/providers.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,5 +229,14 @@
"base_url": "https://api.reka.ai/v1",
"api_key_env": "REKA_API_KEY",
"api_base_env": "REKA_API_BASE"
},
"inferenceapis": {
"base_url": "https://api.inferenceapis.com/v1",
"api_key_env": "INFERENCEAPIS_API_KEY",
"api_base_env": "INFERENCEAPIS_API_BASE",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/responses"
]
}
}
232 changes: 232 additions & 0 deletions litellm/model_prices_and_context_window_backup.json
Original file line number Diff line number Diff line change
Expand Up @@ -39144,6 +39144,238 @@
"supports_system_messages": true,
"supports_tool_choice": true
},
"inferenceapis/deepseek-ai/DeepSeek-V4-Flash": {
"cache_read_input_token_cost": 4e-08,
"input_cost_per_token": 1.9e-07,
"litellm_provider": "inferenceapis",
"max_input_tokens": 1048576,
"max_tokens": 1048576,
"mode": "chat",
"output_cost_per_token": 3.8e-07,
"source": "https://inferenceapis.com/pricing",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/responses"
],
"supports_function_calling": true,
"supports_native_streaming": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
"supports_tool_choice": true,
"supports_vision": false
},
"inferenceapis/deepseek-ai/DeepSeek-V4-Pro": {
"cache_read_input_token_cost": 1.7e-07,
"input_cost_per_token": 1.72e-06,
"litellm_provider": "inferenceapis",
"max_input_tokens": 1048576,
"max_tokens": 1048576,
"mode": "chat",
"output_cost_per_token": 5.15e-06,
"source": "https://inferenceapis.com/pricing",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/responses"
],
"supports_function_calling": true,
"supports_native_streaming": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
"supports_tool_choice": true,
"supports_vision": false
},
"inferenceapis/deepseek-ai/DeepSeek-V4.1-Flash": {
"cache_read_input_token_cost": 1e-08,
"input_cost_per_token": 4e-07,
"litellm_provider": "inferenceapis",
"max_input_tokens": 1048576,
"max_tokens": 1048576,
"mode": "chat",
"output_cost_per_token": 1.6e-06,
"source": "https://inferenceapis.com/pricing",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/responses"
],
"supports_function_calling": true,
"supports_native_streaming": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
"supports_tool_choice": true,
"supports_vision": false
},
"inferenceapis/meta-llama/Llama-3.3-70B-Instruct-Turbo": {
"input_cost_per_token": 2e-07,
"litellm_provider": "inferenceapis",
"max_input_tokens": 131072,
"max_tokens": 131072,
"mode": "chat",
"output_cost_per_token": 5e-07,
"source": "https://inferenceapis.com/pricing",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/responses"
],
"supports_function_calling": true,
"supports_native_streaming": true,
"supports_reasoning": false,
"supports_tool_choice": true,
"supports_vision": false
},
"inferenceapis/MiniMaxAI/MiniMax-M3": {
"cache_read_input_token_cost": 8e-08,
"input_cost_per_token": 3.9e-07,
"litellm_provider": "inferenceapis",
"max_input_tokens": 524288,
"max_tokens": 524288,
"mode": "chat",
"output_cost_per_token": 1.56e-06,
"source": "https://inferenceapis.com/pricing",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/responses"
],
"supports_function_calling": true,
"supports_native_streaming": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
"supports_tool_choice": true,
"supports_vision": false
},
"inferenceapis/moonshotai/Kimi-K2.7-Code": {
"cache_read_input_token_cost": 1.8e-07,
"input_cost_per_token": 8.9e-07,
"litellm_provider": "inferenceapis",
"max_input_tokens": 262144,
"max_tokens": 262144,
"mode": "chat",
"output_cost_per_token": 4.42e-06,
"source": "https://inferenceapis.com/pricing",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/responses"
],
"supports_function_calling": true,
"supports_native_streaming": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
"supports_tool_choice": true,
"supports_vision": false
},
"inferenceapis/openai/gpt-oss-120b": {
"input_cost_per_token": 2e-07,
"litellm_provider": "inferenceapis",
"max_input_tokens": 131072,
"max_tokens": 131072,
"mode": "chat",
"output_cost_per_token": 8e-07,
"source": "https://inferenceapis.com/pricing",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/responses"
],
"supports_function_calling": true,
"supports_native_streaming": true,
"supports_reasoning": true,
"supports_tool_choice": true,
"supports_vision": false
},
"inferenceapis/openai/gpt-oss-20b": {
"input_cost_per_token": 4e-08,
"litellm_provider": "inferenceapis",
"max_input_tokens": 131072,
"max_tokens": 131072,
"mode": "chat",
"output_cost_per_token": 1.9e-07,
"source": "https://inferenceapis.com/pricing",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/responses"
],
"supports_function_calling": true,
"supports_native_streaming": true,
"supports_reasoning": true,
"supports_tool_choice": true,
"supports_vision": false
},
"inferenceapis/Qwen/Qwen3-VL-235B-A22B-Instruct": {
"input_cost_per_token": 2.6e-07,
"litellm_provider": "inferenceapis",
"max_input_tokens": 262144,
"max_tokens": 262144,
"mode": "chat",
"output_cost_per_token": 1.15e-06,
"source": "https://inferenceapis.com/pricing",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/responses"
],
"supports_function_calling": true,
"supports_native_streaming": true,
"supports_reasoning": false,
"supports_tool_choice": true,
"supports_vision": true
},
"inferenceapis/Qwen/Qwen3.8-Flash": {
"cache_read_input_token_cost": 2e-08,
"input_cost_per_token": 1.5e-07,
"litellm_provider": "inferenceapis",
"max_input_tokens": 1000000,
"max_tokens": 1000000,
"mode": "chat",
"output_cost_per_token": 5e-07,
"source": "https://inferenceapis.com/pricing",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/responses"
],
"supports_function_calling": true,
"supports_native_streaming": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
"supports_tool_choice": true,
"supports_vision": false
},
"inferenceapis/zai-org/GLM-5.3": {
"cache_read_input_token_cost": 3.4e-07,
"input_cost_per_token": 1.82e-06,
"litellm_provider": "inferenceapis",
"max_input_tokens": 1048575,
"max_tokens": 1048575,
"mode": "chat",
"output_cost_per_token": 5.72e-06,
"source": "https://inferenceapis.com/pricing",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/responses"
],
"supports_function_calling": true,
"supports_native_streaming": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
"supports_tool_choice": true,
"supports_vision": false
},
"inferenceapis/zai-org/GLM-5.3-Flash": {
"cache_read_input_token_cost": 4e-08,
"input_cost_per_token": 2e-07,
"litellm_provider": "inferenceapis",
"max_input_tokens": 1048575,
"max_tokens": 1048575,
"mode": "chat",
"output_cost_per_token": 6.6e-07,
"source": "https://inferenceapis.com/pricing",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/responses"
],
"supports_function_calling": true,
"supports_native_streaming": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
"supports_tool_choice": true,
"supports_vision": false
},
"text-completion-inception/mercury-edit-2": {
"cache_read_input_token_cost": 2.5e-08,
"input_cost_per_token": 2.5e-07,
Expand Down
18 changes: 18 additions & 0 deletions litellm/provider_endpoints_support_backup.json
Original file line number Diff line number Diff line change
Expand Up @@ -2189,6 +2189,24 @@
"a2a": false
}
},
"inferenceapis": {
"display_name": "Inference APIs (`inferenceapis`)",
"url": "https://docs.litellm.ai/docs/providers/inferenceapis",
"endpoints": {
"chat_completions": true,
"messages": false,
"responses": true,
"embeddings": false,
"image_generations": false,
"audio_transcriptions": false,
"audio_speech": false,
"moderations": false,
"batches": false,
"rerank": false,
"a2a": false,
"interactions": false
}
},
"snowflake": {
"display_name": "Snowflake (`snowflake`)",
"url": "https://docs.litellm.ai/docs/providers/snowflake",
Expand Down
28 changes: 28 additions & 0 deletions litellm/proxy/public_endpoints/provider_create_fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -3323,6 +3323,34 @@
],
"default_model_placeholder": "scx-ai/GLM-5.2"
},
{
"provider": "INFERENCEAPIS",
"provider_display_name": "Inference APIs",
"litellm_provider": "inferenceapis",
"credential_fields": [
{
"key": "api_base",
"label": "API Base",
"placeholder": "https://api.inferenceapis.com/v1",
"tooltip": null,
"required": false,
"field_type": "text",
"options": null,
"default_value": null
},
{
"key": "api_key",
"label": "API Key",
"placeholder": null,
"tooltip": null,
"required": true,
"field_type": "password",
"options": null,
"default_value": null
}
],
"default_model_placeholder": "inferenceapis/deepseek-ai/DeepSeek-V4-Flash"
},
{
"provider": "Snowflake",
"provider_display_name": "Snowflake",
Expand Down
1 change: 1 addition & 0 deletions litellm/types/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4337,6 +4337,7 @@ class LlmProviders(str, Enum):
CORTECS = "cortecs"
SCX_AI = "scx-ai"
PRISM = "prism"
INFERENCEAPIS = "inferenceapis"
DARKBLOOM = "darkbloom"
META = "meta"
SAIL = "sail"
Expand Down
Loading
Loading