Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Fix error about encoding video id for azure

Sameer Kankutea7e5be8e0335
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index ca438b5fd24..549c3d60018 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -28153,5 +28153,2049 @@
"metadata": {
"comment": "Estimated cost based on standard TTS pricing. RunwayML uses ElevenLabs models."
}
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-coder-480b-a35b-instruct": {
+ "max_tokens": 262144,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "input_cost_per_token": 4.5e-07,
+ "output_cost_per_token": 1.8e-06,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/flux-kontext-pro": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 4e-08,
+ "output_cost_per_token": 4e-08,
+ "litellm_provider": "fireworks_ai",
+ "mode": "image_generation"
+ },
+ "fireworks_ai/accounts/fireworks/models/SSD-1B": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 1.3e-10,
+ "output_cost_per_token": 1.3e-10,
+ "litellm_provider": "fireworks_ai",
+ "mode": "image_generation"
+ },
+ "fireworks_ai/accounts/fireworks/models/chronos-hermes-13b-v2": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/code-llama-13b": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/code-llama-13b-instruct": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/code-llama-13b-python": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/code-llama-34b": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/code-llama-34b-instruct": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/code-llama-34b-python": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/code-llama-70b": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/code-llama-70b-instruct": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/code-llama-70b-python": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/code-llama-7b": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/code-llama-7b-instruct": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/code-llama-7b-python": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/code-qwen-1p5-7b": {
+ "max_tokens": 65536,
+ "max_input_tokens": 65536,
+ "max_output_tokens": 65536,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/codegemma-2b": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/codegemma-7b": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/cogito-671b-v2-p1": {
+ "max_tokens": 163840,
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "input_cost_per_token": 1.2e-06,
+ "output_cost_per_token": 1.2e-06,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/cogito-v1-preview-llama-3b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/cogito-v1-preview-llama-70b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/cogito-v1-preview-llama-8b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/cogito-v1-preview-qwen-14b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/cogito-v1-preview-qwen-32b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/flux-kontext-max": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 8e-08,
+ "output_cost_per_token": 8e-08,
+ "litellm_provider": "fireworks_ai",
+ "mode": "image_generation"
+ },
+ "fireworks_ai/accounts/fireworks/models/dbrx-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 1.2e-06,
+ "output_cost_per_token": 1.2e-06,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/deepseek-coder-1b-base": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/deepseek-coder-33b-instruct": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/deepseek-coder-7b-base": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/deepseek-coder-7b-base-v1p5": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/deepseek-coder-7b-instruct-v1p5": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/deepseek-coder-v2-lite-base": {
+ "max_tokens": 163840,
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "input_cost_per_token": 5e-07,
+ "output_cost_per_token": 5e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/deepseek-coder-v2-lite-instruct": {
+ "max_tokens": 163840,
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "input_cost_per_token": 5e-07,
+ "output_cost_per_token": 5e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/deepseek-prover-v2": {
+ "max_tokens": 163840,
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "input_cost_per_token": 1.2e-06,
+ "output_cost_per_token": 1.2e-06,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/deepseek-r1-0528-distill-qwen3-8b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/deepseek-r1-distill-llama-70b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/deepseek-r1-distill-llama-8b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/deepseek-r1-distill-qwen-14b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/deepseek-r1-distill-qwen-1p5b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/deepseek-r1-distill-qwen-32b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/deepseek-r1-distill-qwen-7b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/deepseek-v2-lite-chat": {
+ "max_tokens": 163840,
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "input_cost_per_token": 5e-07,
+ "output_cost_per_token": 5e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/deepseek-v2p5": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 1.2e-06,
+ "output_cost_per_token": 1.2e-06,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/devstral-small-2505": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/dobby-mini-unhinged-plus-llama-3-1-8b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/dobby-unhinged-llama-3-3-70b-new": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/dolphin-2-9-2-qwen2-72b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/dolphin-2p6-mixtral-8x7b": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 5e-07,
+ "output_cost_per_token": 5e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/ernie-4p5-21b-a3b-pt": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/ernie-4p5-300b-a47b-pt": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/fare-20b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/firefunction-v1": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 5e-07,
+ "output_cost_per_token": 5e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/firellava-13b": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/firesearch-ocr-v6": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/fireworks-asr-large": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 0.0,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "fireworks_ai",
+ "mode": "audio_transcription"
+ },
+ "fireworks_ai/accounts/fireworks/models/fireworks-asr-v2": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 0.0,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "fireworks_ai",
+ "mode": "audio_transcription"
+ },
+ "fireworks_ai/accounts/fireworks/models/flux-1-dev": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/flux-1-dev-controlnet-union": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 1e-09,
+ "output_cost_per_token": 1e-09,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/flux-1-dev-fp8": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 5e-10,
+ "output_cost_per_token": 5e-10,
+ "litellm_provider": "fireworks_ai",
+ "mode": "image_generation"
+ },
+ "fireworks_ai/accounts/fireworks/models/flux-1-schnell": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/flux-1-schnell-fp8": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 3.5e-10,
+ "output_cost_per_token": 3.5e-10,
+ "litellm_provider": "fireworks_ai",
+ "mode": "image_generation"
+ },
+ "fireworks_ai/accounts/fireworks/models/gemma-2b-it": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/gemma-3-27b-it": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/gemma-7b": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/gemma-7b-it": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/gemma2-9b-it": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/glm-4p5v": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 1.2e-06,
+ "output_cost_per_token": 1.2e-06,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/gpt-oss-safeguard-120b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 1.2e-06,
+ "output_cost_per_token": 1.2e-06,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/gpt-oss-safeguard-20b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 5e-07,
+ "output_cost_per_token": 5e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/hermes-2-pro-mistral-7b": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/internvl3-38b": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/internvl3-78b": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/internvl3-8b": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/japanese-stable-diffusion-xl": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 1.3e-10,
+ "output_cost_per_token": 1.3e-10,
+ "litellm_provider": "fireworks_ai",
+ "mode": "image_generation"
+ },
+ "fireworks_ai/accounts/fireworks/models/kat-coder": {
+ "max_tokens": 262144,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/kat-dev-32b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/kat-dev-72b-exp": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-guard-2-8b": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-guard-3-1b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-guard-3-8b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-v2-13b": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-v2-13b-chat": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-v2-70b": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-v2-70b-chat": {
+ "max_tokens": 2048,
+ "max_input_tokens": 2048,
+ "max_output_tokens": 2048,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-v2-7b": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-v2-7b-chat": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-v3-70b-instruct": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-v3-70b-instruct-hf": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-v3-8b": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-v3-8b-instruct-hf": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-v3p1-405b-instruct-long": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-v3p1-70b-instruct": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-v3p1-70b-instruct-1b": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-v3p1-nemotron-70b-instruct": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-v3p2-1b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-v3p2-3b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llama-v3p3-70b-instruct": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llamaguard-7b": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/llava-yi-34b": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/minimax-m1-80k": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/minimax-m2": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/ministral-3-14b-instruct-2512": {
+ "max_tokens": 256000,
+ "max_input_tokens": 256000,
+ "max_output_tokens": 256000,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/ministral-3-3b-instruct-2512": {
+ "max_tokens": 256000,
+ "max_input_tokens": 256000,
+ "max_output_tokens": 256000,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/ministral-3-8b-instruct-2512": {
+ "max_tokens": 256000,
+ "max_input_tokens": 256000,
+ "max_output_tokens": 256000,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/mistral-7b": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/mistral-7b-instruct-4k": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/mistral-7b-instruct-v0p2": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/mistral-7b-instruct-v3": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/mistral-7b-v0p2": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/mistral-large-3-fp8": {
+ "max_tokens": 256000,
+ "max_input_tokens": 256000,
+ "max_output_tokens": 256000,
+ "input_cost_per_token": 1.2e-06,
+ "output_cost_per_token": 1.2e-06,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/mistral-nemo-base-2407": {
+ "max_tokens": 128000,
+ "max_input_tokens": 128000,
+ "max_output_tokens": 128000,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/mistral-nemo-instruct-2407": {
+ "max_tokens": 128000,
+ "max_input_tokens": 128000,
+ "max_output_tokens": 128000,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/mistral-small-24b-instruct-2501": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/mixtral-8x22b": {
+ "max_tokens": 65536,
+ "max_input_tokens": 65536,
+ "max_output_tokens": 65536,
+ "input_cost_per_token": 1.2e-06,
+ "output_cost_per_token": 1.2e-06,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/mixtral-8x22b-instruct": {
+ "max_tokens": 65536,
+ "max_input_tokens": 65536,
+ "max_output_tokens": 65536,
+ "input_cost_per_token": 1.2e-06,
+ "output_cost_per_token": 1.2e-06,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/mixtral-8x7b": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 5e-07,
+ "output_cost_per_token": 5e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/mixtral-8x7b-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 5e-07,
+ "output_cost_per_token": 5e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/mixtral-8x7b-instruct-hf": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 5e-07,
+ "output_cost_per_token": 5e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/mythomax-l2-13b": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/nemotron-nano-v2-12b-vl": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/nous-capybara-7b-v1p9": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/nous-hermes-2-mixtral-8x7b-dpo": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 5e-07,
+ "output_cost_per_token": 5e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/nous-hermes-2-yi-34b": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/nous-hermes-llama2-13b": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/nous-hermes-llama2-70b": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/nous-hermes-llama2-7b": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/nvidia-nemotron-nano-12b-v2": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/nvidia-nemotron-nano-9b-v2": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/openchat-3p5-0106-7b": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/openhermes-2-mistral-7b": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/openhermes-2p5-mistral-7b": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/openorca-7b": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/phi-2-3b": {
+ "max_tokens": 2048,
+ "max_input_tokens": 2048,
+ "max_output_tokens": 2048,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/phi-3-mini-128k-instruct": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/phi-3-vision-128k-instruct": {
+ "max_tokens": 32064,
+ "max_input_tokens": 32064,
+ "max_output_tokens": 32064,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/phind-code-llama-34b-python-v1": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/phind-code-llama-34b-v1": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/phind-code-llama-34b-v2": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/playground-v2-1024px-aesthetic": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 1.3e-10,
+ "output_cost_per_token": 1.3e-10,
+ "litellm_provider": "fireworks_ai",
+ "mode": "image_generation"
+ },
+ "fireworks_ai/accounts/fireworks/models/playground-v2-5-1024px-aesthetic": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 1.3e-10,
+ "output_cost_per_token": 1.3e-10,
+ "litellm_provider": "fireworks_ai",
+ "mode": "image_generation"
+ },
+ "fireworks_ai/accounts/fireworks/models/pythia-12b": {
+ "max_tokens": 2048,
+ "max_input_tokens": 2048,
+ "max_output_tokens": 2048,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen-qwq-32b-preview": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen-v2p5-14b-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen-v2p5-7b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen1p5-72b-chat": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2-7b-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2-vl-2b-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2-vl-72b-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2-vl-7b-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-0p5b-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-14b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-1p5b-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-32b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-32b-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-72b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-72b-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-7b-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-coder-0p5b": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-coder-0p5b-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-coder-14b": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-coder-14b-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-coder-1p5b": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-coder-1p5b-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-coder-32b": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-coder-32b-instruct-128k": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-coder-32b-instruct-32k-rope": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-coder-32b-instruct-64k": {
+ "max_tokens": 65536,
+ "max_input_tokens": 65536,
+ "max_output_tokens": 65536,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-coder-3b": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-coder-3b-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-coder-7b": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-coder-7b-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-math-72b-instruct": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-vl-32b-instruct": {
+ "max_tokens": 128000,
+ "max_input_tokens": 128000,
+ "max_output_tokens": 128000,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-vl-3b-instruct": {
+ "max_tokens": 128000,
+ "max_input_tokens": 128000,
+ "max_output_tokens": 128000,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-vl-72b-instruct": {
+ "max_tokens": 128000,
+ "max_input_tokens": 128000,
+ "max_output_tokens": 128000,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen2p5-vl-7b-instruct": {
+ "max_tokens": 128000,
+ "max_input_tokens": 128000,
+ "max_output_tokens": 128000,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-0p6b": {
+ "max_tokens": 40960,
+ "max_input_tokens": 40960,
+ "max_output_tokens": 40960,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-14b": {
+ "max_tokens": 40960,
+ "max_input_tokens": 40960,
+ "max_output_tokens": 40960,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-1p7b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-1p7b-fp8-draft": {
+ "max_tokens": 262144,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-1p7b-fp8-draft-131072": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-1p7b-fp8-draft-40960": {
+ "max_tokens": 40960,
+ "max_input_tokens": 40960,
+ "max_output_tokens": 40960,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-235b-a22b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2.2e-07,
+ "output_cost_per_token": 8.8e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-235b-a22b-instruct-2507": {
+ "max_tokens": 262144,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "input_cost_per_token": 2.2e-07,
+ "output_cost_per_token": 8.8e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-235b-a22b-thinking-2507": {
+ "max_tokens": 262144,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "input_cost_per_token": 2.2e-07,
+ "output_cost_per_token": 8.8e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-30b-a3b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 1.5e-07,
+ "output_cost_per_token": 6e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-30b-a3b-instruct-2507": {
+ "max_tokens": 262144,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "input_cost_per_token": 5e-07,
+ "output_cost_per_token": 5e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-30b-a3b-thinking-2507": {
+ "max_tokens": 262144,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-32b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-4b": {
+ "max_tokens": 40960,
+ "max_input_tokens": 40960,
+ "max_output_tokens": 40960,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-4b-instruct-2507": {
+ "max_tokens": 262144,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-8b": {
+ "max_tokens": 40960,
+ "max_input_tokens": 40960,
+ "max_output_tokens": 40960,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-coder-30b-a3b-instruct": {
+ "max_tokens": 262144,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "input_cost_per_token": 1.5e-07,
+ "output_cost_per_token": 6e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-coder-480b-instruct-bf16": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-embedding-0p6b": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 0.0,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "fireworks_ai",
+ "mode": "embedding"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-embedding-4b": {
+ "max_tokens": 40960,
+ "max_input_tokens": 40960,
+ "max_output_tokens": 40960,
+ "input_cost_per_token": 0.0,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "fireworks_ai",
+ "mode": "embedding"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-embedding-8b": {
+ "max_tokens": 40960,
+ "max_input_tokens": 40960,
+ "max_output_tokens": 40960,
+ "input_cost_per_token": 0.0,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "fireworks_ai",
+ "mode": "embedding"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-next-80b-a3b-instruct": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-next-80b-a3b-thinking": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-reranker-0p6b": {
+ "max_tokens": 40960,
+ "max_input_tokens": 40960,
+ "max_output_tokens": 40960,
+ "input_cost_per_token": 0.0,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "fireworks_ai",
+ "mode": "rerank"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-reranker-4b": {
+ "max_tokens": 40960,
+ "max_input_tokens": 40960,
+ "max_output_tokens": 40960,
+ "input_cost_per_token": 0.0,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "fireworks_ai",
+ "mode": "rerank"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-reranker-8b": {
+ "max_tokens": 40960,
+ "max_input_tokens": 40960,
+ "max_output_tokens": 40960,
+ "input_cost_per_token": 0.0,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "fireworks_ai",
+ "mode": "rerank"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-vl-235b-a22b-instruct": {
+ "max_tokens": 262144,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "input_cost_per_token": 2.2e-07,
+ "output_cost_per_token": 8.8e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-vl-235b-a22b-thinking": {
+ "max_tokens": 262144,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "input_cost_per_token": 2.2e-07,
+ "output_cost_per_token": 8.8e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-vl-30b-a3b-instruct": {
+ "max_tokens": 262144,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "input_cost_per_token": 1.5e-07,
+ "output_cost_per_token": 6e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-vl-30b-a3b-thinking": {
+ "max_tokens": 262144,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "input_cost_per_token": 1.5e-07,
+ "output_cost_per_token": 6e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-vl-32b-instruct": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwen3-vl-8b-instruct": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/qwq-32b": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/rolm-ocr": {
+ "max_tokens": 128000,
+ "max_input_tokens": 128000,
+ "max_output_tokens": 128000,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/snorkel-mistral-7b-pairrm-dpo": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/stable-diffusion-xl-1024-v1-0": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 1.3e-10,
+ "output_cost_per_token": 1.3e-10,
+ "litellm_provider": "fireworks_ai",
+ "mode": "image_generation"
+ },
+ "fireworks_ai/accounts/fireworks/models/stablecode-3b": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/starcoder-16b": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/starcoder-7b": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/starcoder2-15b": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/starcoder2-3b": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 1e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/starcoder2-7b": {
+ "max_tokens": 16384,
+ "max_input_tokens": 16384,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/toppy-m-7b": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/whisper-v3": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 0.0,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "fireworks_ai",
+ "mode": "audio_transcription"
+ },
+ "fireworks_ai/accounts/fireworks/models/whisper-v3-turbo": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 0.0,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "fireworks_ai",
+ "mode": "audio_transcription"
+ },
+ "fireworks_ai/accounts/fireworks/models/yi-34b": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/yi-34b-200k-capybara": {
+ "max_tokens": 200000,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 200000,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/yi-34b-chat": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 9e-07,
+ "output_cost_per_token": 9e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/yi-6b": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
+ },
+ "fireworks_ai/accounts/fireworks/models/zephyr-7b-beta": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-07,
+ "litellm_provider": "fireworks_ai",
+ "mode": "chat"
}
-}
+
+}
\ No newline at end of file
diff --git a/litellm/types/videos/utils.py b/litellm/types/videos/utils.py
index 329aea645c5..7f2148bb966 100644
--- a/litellm/types/videos/utils.py
+++ b/litellm/types/videos/utils.py
@@ -5,12 +5,11 @@ Follows the pattern used in responses/utils.py for consistency.
Format: vid_{base64_encoded_string}
"""
import base64
-from typing import Tuple, Optional
-from litellm.types.utils import SpecialEnums
-from litellm.types.videos.main import DecodedVideoId
-from litellm._logging import verbose_logger
-
+from typing import Optional, Tuple
+from litellm._logging import verbose_logger
+from litellm.types.utils import SpecialEnums
+from litellm.types.videos.main import DecodedVideoId
VIDEO_ID_PREFIX = "video_"
@@ -24,9 +23,15 @@ def encode_video_id_with_provider(
if not provider or not video_id:
return video_id
- if video_id.startswith(VIDEO_ID_PREFIX):
+ # Try to decode the ID first to check if it's already encoded
+ # This handles the case where Azure/OpenAI return IDs that start with "video_"
+ # but are not yet encoded with provider information
+ decoded = decode_video_id_with_provider(video_id)
+ if decoded.get("custom_llm_provider") is not None:
+ # ID is already encoded, return as-is
return video_id
+ # ID is not encoded (even if it starts with video_), so encode it
assembled_id = str(
SpecialEnums.LITELLM_MANAGED_VIDEO_COMPLETE_STR.value
).format(provider, model_id or "", video_id)
diff --git a/tests/test_litellm/test_video_generation.py b/tests/test_litellm/test_video_generation.py
index 1a66cd29c71..254209c1c07 100644
--- a/tests/test_litellm/test_video_generation.py
+++ b/tests/test_litellm/test_video_generation.py
@@ -1,8 +1,8 @@
+import asyncio
import json
import os
import sys
from unittest.mock import MagicMock, patch
-import asyncio
import pytest
@@ -11,14 +11,19 @@ sys.path.insert(
) # Adds the parent directory to the system path
import litellm
-from litellm.types.videos.main import VideoObject, VideoResponse
-from litellm.videos.main import video_generation, avideo_generation, video_status, avideo_status
-from litellm.llms.openai.videos.transformation import OpenAIVideoConfig
-from litellm.llms.gemini.videos.transformation import GeminiVideoConfig
-from litellm.llms.custom_httpx.llm_http_handler import BaseLLMHTTPHandler
from litellm.cost_calculator import default_video_cost_calculator
-from litellm.litellm_core_utils.litellm_logging import Logging as LitellmLogging
from litellm.integrations.custom_logger import CustomLogger
+from litellm.litellm_core_utils.litellm_logging import Logging as LitellmLogging
+from litellm.llms.custom_httpx.llm_http_handler import BaseLLMHTTPHandler
+from litellm.llms.gemini.videos.transformation import GeminiVideoConfig
+from litellm.llms.openai.videos.transformation import OpenAIVideoConfig
+from litellm.types.videos.main import VideoObject, VideoResponse
+from litellm.videos.main import (
+ avideo_generation,
+ avideo_status,
+ video_generation,
+ video_status,
+)
class TestVideoGeneration:
@@ -346,7 +351,7 @@ class TestVideoGeneration:
def test_video_generation_unsupported_parameters(self):
"""Test video generation with provider-specific parameters via extra_body."""
from litellm.videos.utils import VideoGenerationRequestUtils
-
+
# Test that provider-specific parameters can be passed via extra_body
# This allows support for Vertex AI and Gemini specific parameters
result = VideoGenerationRequestUtils.get_optional_params_video_generation(
@@ -821,5 +826,50 @@ def test_gemini_video_config_has_async_transform():
assert callable(getattr(cfg, "async_transform_video_content_response", None))
+def test_encode_video_id_with_provider_handles_azure_video_prefix():
+ """
+ Test that encode_video_id_with_provider correctly encodes Azure/OpenAI video IDs
+ that start with 'video_' prefix.
+
+ This test verifies the fix for the issue where Azure returns video IDs like
+ 'video_69323201cf6081909263f751f89991e6', which were previously skipped
+ from encoding, causing video status retrieval to default to 'openai' provider.
+ """
+ from litellm.types.videos.utils import (
+ decode_video_id_with_provider,
+ encode_video_id_with_provider,
+ )
+
+ # Test case: Azure returns a video ID starting with 'video_'
+ raw_azure_video_id = "video_69323201cf6081909263f751f89991e6"
+ provider = "azure"
+ model_id = "azure/sora-2"
+
+ # Encode the video ID with provider information
+ encoded_id = encode_video_id_with_provider(
+ video_id=raw_azure_video_id,
+ provider=provider,
+ model_id=model_id
+ )
+
+ # Verify the ID was encoded (should be different from the original)
+ assert encoded_id != raw_azure_video_id
+ assert encoded_id.startswith("video_")
+
+ # Decode the encoded ID to verify provider information is preserved
+ decoded = decode_video_id_with_provider(encoded_id)
+ assert decoded.get("custom_llm_provider") == provider
+ assert decoded.get("model_id") == model_id
+ assert decoded.get("video_id") == raw_azure_video_id
+
+ # Verify that encoding an already-encoded ID doesn't double-encode it
+ encoded_twice = encode_video_id_with_provider(
+ video_id=encoded_id,
+ provider=provider,
+ model_id=model_id
+ )
+ assert encoded_twice == encoded_id # Should return the same encoded ID
+
+
if __name__ == "__main__":
pytest.main([__file__])