1# Upgrade your API integration | Codex use cases1# Upgrade your API integration | Codex use cases
2 2
3Codex use cases
4
5
6
7
8
9Codex use case
10
11# Upgrade your API integration
12
13Upgrade your app to the latest OpenAI API models.
14
15Difficulty **Intermediate**
16
17Time horizon **1h**
18
19Use Codex to update your existing OpenAI API integration to the latest recommended models and API features, while checking for regressions before you ship.
20
21## Best for
22
23 - Teams upgrading from older models or API surfaces
24 - Repos that need behavior-preserving migrations with explicit validation
25
26# Contents
27
3[← All use cases](https://developers.openai.com/codex/use-cases)28[← All use cases](https://developers.openai.com/codex/use-cases)
4 29
5Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/api-integration-migrations/?export=pdf)30Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/api-integration-migrations/?export=pdf)
40 - Update prompts using the latest model prompt guidance. 65 - Update prompts using the latest model prompt guidance.
41- Call out any prompt, tool, or response-shape changes we need to review manually.66- Call out any prompt, tool, or response-shape changes we need to review manually.
42 67
68[Open in the Codex app](codex://new?prompt=Use+%24openai-docs+to+upgrade+this+OpenAI+integration+to+the+latest+recommended+model+and+API+features.%0A%0ASpecifically%2C+look+for+the+latest+model+and+prompt+guidance+for+this+specific+model.%0A%0ARequirements%3A%0A-+Start+by+inventorying+the+current+models%2C+endpoints%2C+and+tool+assumptions+in+the+repo.%0A-+Identify+the+smallest+migration+plan+that+gets+us+onto+the+latest+supported+path.%0A-+Preserve+behavior+unless+a+change+is+required+by+the+new+API+or+model.%0A-+Update+prompts+using+the+latest+model+prompt+guidance.+%0A-+Call+out+any+prompt%2C+tool%2C+or+response-shape+changes+we+need+to+review+manually. "Open in the Codex app")
69
43Use $openai-docs to upgrade this OpenAI integration to the latest recommended model and API features.70Use $openai-docs to upgrade this OpenAI integration to the latest recommended model and API features.
44Specifically, look for the latest model and prompt guidance for this specific model.71Specifically, look for the latest model and prompt guidance for this specific model.
45 Requirements:72 Requirements: