List every known model
Value
A data frame with id, kind, context_window, max_output,
reasoning, input_usd_per_1m, output_usd_per_1m and as_of (the month
the entry was recorded; a stale date is a prompt to verify).
See also
gr_model_info(), gr_register_model()
Other cost and token functions:
gr_budget(),
gr_count_tokens(),
gr_estimate_cost(),
gr_model_info(),
gr_model_limits(),
gr_register_model(),
gr_set_tokenizer(),
gr_tokenizer(),
gr_truncate_tokens()
Examples
subset(gr_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-08
#> 8 gpt-4o-mini 128000 2026-08
#> 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-09