litellm/tests/unit/llms/openai
Yujong Lee 2f65871b42 refactor(cost): price characters and seconds with the Rust cost core [09/12]
cost::calculate gains character, second and text-message arms. Second meters take a Duration, so no caller hands a
millisecond to a per-second price. Speech, transcription, wall-clock, video, Replicate, realtime and Amazon Transcribe
price through Prices.price, the row's text unit replaces the Vertex model-name router, and the Vertex character band
and completion characters are fixed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 09:11:28 -07:00
..
chat fix: preserve media across Responses and Gemini conversions (#48484) 2026-10-27 18:07:10 -07:00
completion fix(streaming)!: send the include_usage chunk with an empty choices array (#47109) 2026-10-21 02:26:05 +00:00
decisions fix(decisions): preserve omitted probabilities (#48449) (#48524) 2026-10-26 19:49:32 -07:00
embeddings
evals fix(llms): join api_base and route with one shared helper (#47535) 2026-10-21 06:59:32 +00:00
image_generation
live feat(realtime): proxy OpenAI Live sessions on /v1/live/sessions (#43621) 2026-10-13 13:59:27 -07:00
realtime fix: preserve explicit provider for async image, audio, and realtime routes (#36346) 2026-10-15 05:21:43 -07:00
responses fix(responses): preserve typed parts when logprobs is omitted (#48686) 2026-10-27 18:33:39 -07:00
speech
transcriptions refactor(cost): price characters and seconds with the Rust cost core [09/12] 2026-10-28 09:11:28 -07:00
vector_store_files fix(proxy)!: return provider-matching 4xx for the LIT-8062 status code follow-ups (#45537) 2026-10-13 11:42:39 -07:00
vector_stores
videos
__init__.py
test_cost_calculation.py refactor(cost): price characters and seconds with the Rust cost core [09/12] 2026-10-28 09:11:28 -07:00
test_data_residency.py
test_gpt_reasoning_transformation.py fix(model-cost): keep get_model_cost_map(url) free of global side effects 2026-10-28 09:10:12 -07:00
test_is_model_gpt_5_model.py refactor(llms): rename model-version transformation files to family names (#48509) 2026-10-26 18:53:16 -07:00
test_o_series_transformation.py fix(openai): send chat completions through client.post so the SDK's per-message param transform stops holding the event loop (#46967) 2026-10-16 18:06:01 -07:00
test_openai.py fix(openai): send chat completions through client.post so the SDK's per-message param transform stops holding the event loop (#46967) 2026-10-16 18:06:01 -07:00
test_openai_authentication_error.py
test_openai_common_utils.py feat(openai)!: honor per-deployment workload identity on non-chat routes (#39966) 2026-10-16 22:25:15 +00:00
test_openai_empty_response.py fix(openai): send chat completions through client.post so the SDK's per-message param transform stops holding the event loop (#46967) 2026-10-16 18:06:01 -07:00
test_openai_file_content_streaming.py
test_openai_image_edit_transformation.py
test_openai_workload_identity.py feat(openai)!: honor per-deployment workload identity on non-chat routes (#39966) 2026-10-16 22:25:15 +00:00
test_organization_costs.py
test_use_chat_completions_api_no_leak.py fix(openai): send chat completions through client.post so the SDK's per-message param transform stops holding the event loop (#46967) 2026-10-16 18:06:01 -07:00