test_above_max_tier0/ test_above_max_tiercurrent test_anthropic_format0/ test_anthropic_formatcurrent test_api_failure_returns_empty0/ test_api_failure_returns_emptycurrent test_api_failure_returns_stale0/ test_api_failure_returns_stalecurrent test_api_missing_context_lengt0/ test_api_missing_context_lengtcurrent test_bedrock_provider_returns_0/ test_bedrock_provider_returns_current test_bedrock_url_without_provi0/ test_bedrock_url_without_provicurrent test_bypass_keyed_on_url_not_p0/ test_bypass_keyed_on_url_not_pcurrent test_cache_takes_priority_over0/ test_cache_takes_priority_overcurrent test_cached_value_takes_priori0/ test_cached_value_takes_prioricurrent test_caches_result0/ test_caches_resultcurrent test_canonical_slug_aliasing0/ test_canonical_slug_aliasingcurrent test_completely_unrelated_erro0/ test_completely_unrelated_errocurrent test_config_context_length_non0/ test_config_context_length_noncurrent test_config_context_length_ove0/ test_config_context_length_ovecurrent test_config_context_length_zer0/ test_config_context_length_zercurrent test_context_length_exceeded0/ test_context_length_exceededcurrent test_context_size_exceeded0/ test_context_size_exceededcurrent test_corrupted_yaml_returns_em0/ test_corrupted_yaml_returns_emcurrent test_custom_endpoint_fuzzy_sub0/ test_custom_endpoint_fuzzy_subcurrent test_custom_endpoint_metadata_0/ test_custom_endpoint_metadata_current test_custom_endpoint_single_mo0/ test_custom_endpoint_single_mocurrent test_custom_endpoint_without_m0/ test_custom_endpoint_without_mcurrent test_deepseek_v4_models_1m_con0/ test_deepseek_v4_models_1m_concurrent test_empty_list0/ test_empty_listcurrent test_empty_string0/ test_empty_string1/ test_empty_stringcurrent test_fallback_table_used_witho0/ test_fallback_table_used_withocurrent test_fallback_to_defaults0/ test_fallback_to_defaultscurrent test_fresh_codex_cache_under_40/ test_fresh_codex_cache_under_4current test_from_128k0/ test_from_128kcurrent test_from_256k0/ test_from_256kcurrent test_from_32k0/ test_from_32kcurrent test_from_64k0/ test_from_64kcurrent test_from_8k_returns_none0/ test_from_8k_returns_nonecurrent test_from_arbitrary_value0/ test_from_arbitrary_valuecurrent test_from_below_min_returns_no0/ test_from_below_min_returns_nocurrent test_grok_substring_matching0/ test_grok_substring_matchingcurrent test_helper_returns_204800_for0/ test_helper_returns_204800_forcurrent test_helper_returns_curated_fo0/ test_helper_returns_curated_focurrent test_helper_returns_none_for_u0/ test_helper_returns_none_for_ucurrent test_http_urls_preserved0/ test_http_urls_preservedcurrent test_idempotent_save0/ test_idempotent_savecurrent test_known_length0/ test_known_lengthcurrent test_known_model_from_api0/ test_known_model_from_apicurrent test_known_provider_prefix_is_0/ test_known_provider_prefix_is_current test_live_probe_overrides_fall0/ test_live_probe_overrides_fallcurrent test_lmstudio_format0/ test_lmstudio_formatcurrent test_malformed_json_no_data_ke0/ test_malformed_json_no_data_kecurrent test_message_with_huge_base64_0/ test_message_with_huge_base64_current test_message_with_list_content0/ test_message_with_list_contentcurrent test_minimax_delta_only_messag0/ test_minimax_delta_only_messagcurrent test_missing_cache_returns_non0/ test_missing_cache_returns_noncurrent test_models_dev_equal_value_ac0/ test_models_dev_equal_value_accurrent test_models_dev_higher_value_a0/ test_models_dev_higher_value_acurrent test_models_dev_underreport_re0/ test_models_dev_underreport_recurrent test_multiple_messages_additiv0/ test_multiple_messages_additivcurrent test_multiple_models_cached0/ test_multiple_models_cachedcurrent test_no_base_url_skips_cache0/ test_no_base_url_skips_cachecurrent test_no_colon_returns_unchange0/ test_no_colon_returns_unchangecurrent test_no_limit_in_message0/ test_no_limit_in_messagecurrent test_non_bedrock_url_still_pro0/ test_non_bedrock_url_still_procurrent test_non_codex_providers_unaff0/ test_non_codex_providers_unaffcurrent test_none_returns_zero0/ test_none_returns_zerocurrent test_number_outside_reasonable0/ test_number_outside_reasonablecurrent test_ollama_format0/ test_ollama_formatcurrent test_ollama_model_tag_not_mang0/ test_ollama_model_tag_not_mangcurrent test_ollama_model_tag_preserve0/ test_ollama_model_tag_preservecurrent test_openai_format0/ test_openai_formatcurrent test_opencode_zen_live_resolut0/ test_opencode_zen_live_resolutcurrent test_openrouter_fallback_is_no0/ test_openrouter_fallback_is_nocurrent test_partial_match_in_defaults0/ test_partial_match_in_defaultscurrent test_portal_value_is_persisted0/ test_portal_value_is_persistedcurrent test_portal_value_wins_over_op0/ test_portal_value_wins_over_opcurrent test_probe_failure_falls_back_0/ test_probe_failure_falls_back_current test_proportional0/ test_proportionalcurrent test_provider_prefixed_models_0/ test_provider_prefixed_models_current test_qwen3_6_plus_context_leng0/ test_qwen3_6_plus_context_lengcurrent test_qwen3_coder_context_lengt0/ test_qwen3_coder_context_lengtcurrent test_qwen3_coder_plus_context_0/ test_qwen3_coder_plus_context_current test_qwen_generic_context_leng0/ test_qwen_generic_context_lengcurrent test_same_model_different_prov0/ test_same_model_different_provcurrent test_save_and_load0/ test_save_and_loadcurrent test_short_text0/ test_short_textcurrent test_single_message_concrete_v0/ test_single_message_concrete_vcurrent test_special_chars_in_model_na0/ test_special_chars_in_model_nacurrent test_stale_cache_is_bypassed_a0/ test_stale_cache_is_bypassed_acurrent test_stale_cache_survives_when0/ test_stale_cache_survives_whencurrent test_stale_codex_cache_over_400/ test_stale_codex_cache_over_40current test_stale_invalidation_scoped0/ test_stale_invalidation_scopedcurrent test_tiers_descending0/ test_tiers_descendingcurrent test_tool_call_message0/ test_tool_call_messagecurrent test_ttl_expiry_triggers_refet0/ test_ttl_expiry_triggers_refetcurrent test_unicode_multibyte0/ test_unicode_multibytecurrent test_unknown_model_returns_fir0/ test_unknown_model_returns_fircurrent test_unreasonable_small_number0/ test_unreasonable_small_numbercurrent test_update_existing_value0/ test_update_existing_valuecurrent test_wrong_structure_returns_n0/ test_wrong_structure_returns_ncurrent test_xai_oauth_grok_build_uses0/ test_xai_oauth_grok_build_usescurrent test_zero_returns_none0/ test_zero_returns_nonecurrent