Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

docs: Clean up budget reset and timezones documentation (#22428)

Krish Dholakiac4ca4566c0bc
diff --git a/docs/my-website/docs/proxy/budget_reset_and_tz.md b/docs/my-website/docs/proxy/budget_reset_and_tz.md
index 0fedff8be18..b7bbf9034f0 100644
--- a/docs/my-website/docs/proxy/budget_reset_and_tz.md
+++ b/docs/my-website/docs/proxy/budget_reset_and_tz.md
@@ -1,16 +1,20 @@
-## Budget Reset Times and Timezones
+# Budget Reset Times and Timezones
-LiteLLM now supports predictable budget reset times that align with natural calendar boundaries:
+LiteLLM supports predictable budget reset times that align with natural calendar boundaries.
-- All budgets reset at midnight (00:00:00) in the configured timezone
-- Special handling for common durations:
- - Daily (24h/1d): Reset at midnight every day
- - Weekly (7d): Reset on Monday at midnight
- - Monthly (30d): Reset on the 1st of each month at midnight
+## How Budget Resets Work
-### Configuring the Timezone
+All budgets reset at midnight (00:00:00) in the configured timezone with special handling for common durations:
-You can specify the timezone for all budget resets in your configuration file:
+| Duration | Reset Behavior |
+| --- | --- |
+| Daily (24h/1d) | Resets at midnight every day |
+| Weekly (7d) | Resets on Monday at midnight |
+| Monthly (30d) | Resets on the 1st of each month at midnight |
+
+## Configuring the Timezone
+
+Specify the timezone for all budget resets in your configuration file:
```yaml
litellm_settings:
@@ -19,18 +23,21 @@ litellm_settings:
timezone: "US/Eastern" # Any valid timezone string
```
-This ensures that all budget resets happen at midnight in your specified timezone rather than in UTC.
-If no timezone is specified, UTC will be used by default.
+This ensures that all budget resets happen at midnight in your specified timezone rather than in UTC. If no timezone is specified, UTC will be used by default.
-Any valid [IANA timezone string](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) is supported (powered by Python's `zoneinfo` module). DST transitions are handled automatically.
+## Supported Timezones
-Common timezone values:
+Any valid [IANA timezone string](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) is supported (powered by Python's `zoneinfo` module). DST transitions are handled automatically.
-- `UTC` - Coordinated Universal Time
-- `US/Eastern` - Eastern Time
-- `US/Pacific` - Pacific Time
-- `Europe/London` - UK Time
-- `Asia/Kolkata` - Indian Standard Time (IST)
-- `Asia/Bangkok` - Indochina Time (ICT)
-- `Asia/Tokyo` - Japan Standard Time
-- `Australia/Sydney` - Australian Eastern Time
+**Common timezone values:**
+
+| Timezone | Description |
+| --- | --- |
+| `UTC` | Coordinated Universal Time |
+| `US/Eastern` | Eastern Time |
+| `US/Pacific` | Pacific Time |
+| `Europe/London` | UK Time |
+| `Asia/Kolkata` | Indian Standard Time (IST) |
+| `Asia/Bangkok` | Indochina Time (ICT) |
+| `Asia/Tokyo` | Japan Standard Time |
+| `Australia/Sydney` | Australian Eastern Time |