litellm/tests/test_litellm/llms
michelligabriele a395a25705
fix(cost-calc): use per-image pricing for Bedrock multimodal embeddings (#21646)
Bedrock multimodal embedding models (Titan and Nova) were being costed
using the per-token text rate instead of the correct flat per-image rate
($0.00006/image). The pricing data was correct but never applied because
image_count was never populated in prompt_tokens_details.

Pass batch_data to Titan/Nova response transformers so they can count
image inputs and set PromptTokensDetailsWrapper(image_count=N) on Usage,
mirroring the existing Vertex AI pattern from PR #9623. Also fix the
text_tokens fallback in generic_cost_per_token to not override
text_tokens=0 when image_count > 0 (image-only requests).
2026-02-20 08:51:21 -08:00
..
amazon_nova/chat
anthropic fix(tests): update test_max_effort_rejected_for_opus_45 regex to match new error message 2026-02-20 11:07:52 -03:00
azure fix llm tests 2026-02-17 20:13:23 +05:30
azure_ai fix: support Azure AD token auth for non-Claude azure_ai models (#20981) 2026-02-11 10:48:44 -08:00
baseten/chat
bedrock fix(cost-calc): use per-image pricing for Bedrock multimodal embeddings (#21646) 2026-02-20 08:51:21 -08:00
bytez/chat
chat
chatgpt fix(proxy): fix master key rotation Prisma validation errors (#21330) 2026-02-16 15:13:05 -08:00
cohere
cometapi/chat
compactifai
custom_httpx fix(tests): resolve test isolation issue in http_handler tests 2026-02-17 19:01:02 -03:00
dashscope fix: remove list-to-str transformation from dashscope 2026-02-19 07:30:13 +00:00
databricks Address Greptile review: fix SDK auth fallback and remove unused imports 2026-02-18 15:57:50 +09:00
datarobot
deepgram
deepinfra
docker_model_runner
featherless_ai/chat
fireworks_ai
gemini
github_copilot
heroku
hosted_vllm Convert thinking_blocks to content blocks for hosted_vllm multi-turn 2026-02-19 12:25:18 +00:00
huggingface fix: improve test isolation for parallel execution 2026-02-17 21:28:23 -03:00
jina_ai/embedding
lemonade
litellm_proxy/chat
llamafile/chat
lm_studio
manus
meta_llama fix: add missing OpenAI chat completion params to OPENAI_CHAT_COMPLETION_PARAMS (#21360) 2026-02-16 20:31:21 -08:00
minimax
mistral
moonshot
nebius
novita/chat
nscale/chat
oci/chat Fixes #20957 2026-02-11 11:20:18 +00:00
ollama [Critical] - Fix ollama_chat reasoning content (#20750) 2026-02-10 16:00:36 +05:30
openai Add reasoning' field to 'reasoning_content' field in delta 2026-02-18 16:47:05 +05:30
openai_like fix(proxy): fix master key rotation Prisma validation errors (#21330) 2026-02-16 15:13:05 -08:00
openrouter
ovhcloud
perplexity
pg_vector/vector_stores
publicai fix: add missing OpenAI chat completion params to OPENAI_CHAT_COMPLETION_PARAMS (#21360) 2026-02-16 20:31:21 -08:00
ragflow/chat
recraft
runwayml
s3_vectors
sagemaker fix(sagemaker): Support TEI raw array response format for embeddings (#20487) 2026-02-12 19:39:05 +05:30
sambanova
sap
snowflake
stability
vercel_ai_gateway
vertex_ai fix(tests): correct medium reasoning_effort assertion for gemini-3-pro-preview 2026-02-20 12:09:26 -03:00
volcengine test: Fix additional broken tests 2026-02-15 13:08:41 -03:00
voyage/rerank
wandb
watsonx Merge branch 'main' into litellm_oss_staging_02_17_2026 2026-02-18 17:26:33 +05:30
xai
zai
test_cache_control_and_reasoning.py
test_lifecycle_fix.py
test_oom_fixes.py