List every known model
Value
A data frame with id, kind, context_window, max_output,
reasoning, input_usd_per_1m, output_usd_per_1m, as_of and
cached_input_usd_per_1m. Built-in models have no prices, so their
price columns are NA until you set them. as_of is the month a
built-in model's limits were last checked, or the month a registered
entry was recorded; a stale date is a prompt to verify.
See also
hr_model_info(), hr_register_model(), hr_load_models()
Other cost and token functions:
hr_budget(),
hr_context_fit(),
hr_context_policy(),
hr_count_tokens(),
hr_estimate_cost(),
hr_load_models(),
hr_model_info(),
hr_model_limits(),
hr_register_model(),
hr_set_tokenizer(),
hr_tokenizer(),
hr_truncate(),
hr_truncate_tokens()
Examples
subset(hr_models(), kind == "chat")[, c("id", "context_window", "as_of")]
#> id context_window as_of
#> 1 gpt-3.5-turbo 16385 2026-08
#> 2 gpt-4 8192 2026-08
#> 3 gpt-4-turbo 128000 2026-08
#> 4 gpt-4.1 1047576 2026-08
#> 5 gpt-4.1-mini 1047576 2026-08
#> 6 gpt-4.1-nano 1047576 2026-08
#> 7 gpt-4o 128000 2026-11
#> 8 gpt-4o-mini 128000 2026-11
#> 9 gpt-5 400000 2026-08
#> 10 gpt-5-mini 400000 2026-08
#> 11 gpt-5-nano 400000 2026-08
#> 12 gpt-5.4 400000 2026-08
#> 13 gpt-5.4-mini 400000 2026-08
#> 14 gpt-5.5 400000 2026-08
#> 15 gpt-5.6-luna 1050000 2026-08
#> 16 gpt-5.6-sol 1050000 2026-08
#> 17 gpt-5.6-terra 1050000 2026-08
#> 18 mock-model 128000 2026-11
#> 19 my-backend 8000 2026-11
#> 20 my-priced-model 128000 2026-11
#> 21 priced-mock 128000 2026-11