Skip to content

docs: replace gpt-3.5-turbo with gpt-4o across all documentation#24304

Draft
krrishdholakia wants to merge 14 commits intomainfrom
cursor/docs-gpt-4o-model-update-64c7
Draft

docs: replace gpt-3.5-turbo with gpt-4o across all documentation#24304
krrishdholakia wants to merge 14 commits intomainfrom
cursor/docs-gpt-4o-model-update-64c7

Conversation

@krrishdholakia
Copy link
Member

Relevant issues

Documentation feedback request to modernize examples from gpt-3.5-turbo to gpt-4o.

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/test_litellm/ directory, Adding at least 1 test is a hard requirement - see details
    • N/A - Documentation-only changes
  • My PR passes all unit tests on make test-unit
    • N/A - Documentation-only changes
  • My PR's scope is as isolated as possible, it only solves 1 specific problem
  • I have requested a Greptile review by commenting @greptileai and received a Confidence Score of at least 4/5 before requesting a maintainer review

Type

📖 Documentation

Changes

This PR replaces all occurrences of gpt-3.5-turbo with gpt-4o across the entire documentation to modernize examples with the current recommended model.

Summary of changes:

  • ~700+ occurrences replaced across documentation files
  • Updated files include:
    • OpenAI provider docs (docs/providers/openai.md)
    • Proxy documentation (quick start, configs, guardrails, logging, etc.)
    • Tutorial files
    • Observability integration docs
    • Completion documentation
    • Caching documentation
    • Static files (llms-full.txt)
    • Release notes
    • JavaScript components (QuickStart.js, queryParamReader.js)

Note:

Since this is a substring replacement, some versioned model names were also updated (e.g., gpt-3.5-turbo-1106gpt-4o-1106). These are still valid OpenAI model identifiers or serve as example placeholders.

Slack Thread

Open in Web Open in Cursor 

cursoragent and others added 14 commits March 21, 2026 17:58
Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
Update example model names across virtual keys, users, keys, onboarding,
reliability, projects, team routing, model management, logging, timeouts,
provider budgets, service accounts, pass-through, tag routing, and token auth.

Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
Update model name strings across proxy documentation pages for consistency
with current OpenAI model guidance.

Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
Update tutorial snippets and tables to reference gpt-4o instead of
gpt-3.5-turbo across 16 documentation files.

Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
…ckStart

Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
Update model strings across OpenRouter, Azure, caching, LangChain, Letta,
and related docs using StrReplace (replace_all) for consistency with gpt-4o.

Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
…rsions

Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
- Updated OpenAI provider docs with gpt-4o examples
- Updated proxy quickstart and configuration docs
- Updated index.md and set_keys.md
- Updated static llms-full.txt file

This change modernizes the documentation examples to use the
newer gpt-4o model instead of the deprecated gpt-3.5-turbo.

Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
@vercel
Copy link

vercel bot commented Mar 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview, Comment Mar 21, 2026 6:08pm

Request Review

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@codspeed-hq
Copy link
Contributor

codspeed-hq bot commented Mar 21, 2026

Merging this PR will not alter performance

✅ 16 untouched benchmarks


Comparing cursor/docs-gpt-4o-model-update-64c7 (ace7c7c) with main (b64b0d4)

Open in CodSpeed

@krrishdholakia
Copy link
Member Author

@cursor don't modify release notes

@cursor
Copy link

cursor bot commented Mar 21, 2026

❌ Unable to add follow-up after multiple attempts. The agent may be experiencing issues.

Please try again later or Open in Web to view the status.

Open in Web Open in Cursor 

Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants