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
30Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/api-integration-migrations/?export=pdf)
31
5Use Codex to update your existing OpenAI API integration to the latest recommended models and API features, while checking for regressions before you ship.32Use Codex to update your existing OpenAI API integration to the latest recommended models and API features, while checking for regressions before you ship.
6 33
7Intermediate34Intermediate
23 50
24 Pull the current model, migration, and API guidance before Codex makes edits to your implementation.51 Pull the current model, migration, and API guidance before Codex makes edits to your implementation.
25 52
53| Skill | Why use it |
54| --- | --- |
55| [OpenAI Docs](https://github.com/openai/skills/tree/main/skills/.curated/openai-docs) | Pull the current model, migration, and API guidance before Codex makes edits to your implementation. |
56
26## Starter prompt57## Starter prompt
27 58
28Use $openai-docs to upgrade this OpenAI integration to the latest recommended model and API features.59Use $openai-docs to upgrade this OpenAI integration to the latest recommended model and API features.
34 - Update prompts using the latest model prompt guidance. 65 - Update prompts using the latest model prompt guidance.
35- 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.
36 67
68Use $openai-docs to upgrade this OpenAI integration to the latest recommended model and API features.
69Specifically, look for the latest model and prompt guidance for this specific model.
70 Requirements:
71- Start by inventorying the current models, endpoints, and tool assumptions in the repo.
72- Identify the smallest migration plan that gets us onto the latest supported path.
73 - Preserve behavior unless a change is required by the new API or model.
74 - Update prompts using the latest model prompt guidance.
75- Call out any prompt, tool, or response-shape changes we need to review manually.
76
37## Introduction77## Introduction
38 78
39As we release new models and API features, we recommend upgrading your integration to benefit from the latest improvements.79As we release new models and API features, we recommend upgrading your integration to benefit from the latest improvements.
61 101
62## Related use cases102## Related use cases
63 103
64104[[
65 105
66106### Create browser-based games### Add Mac telemetry
67 107
68108Use Codex to turn a game brief into first a well-defined plan, and then a real browser-based...Use Codex and the Build macOS Apps plugin to add a few high-signal `Logger` events around...
69 109
70110Engineering Code](https://developers.openai.com/codex/use-cases/browser-games)[macOS Code](https://developers.openai.com/codex/use-cases/macos-telemetry-logs)[
71 111
72112### Bring your app to ChatGPT### Create a CLI Codex can use
73 113
74114Build one narrow ChatGPT app outcome end to end: define the tools, scaffold the MCP server...Ask Codex to create a composable CLI it can run from any folder, combine with repo scripts...
75 115
76116Integrations Code](https://developers.openai.com/codex/use-cases/chatgpt-apps)[Engineering Code](https://developers.openai.com/codex/use-cases/agent-friendly-clis)[
77 117
78118### Build for iOS and macOS### Create browser-based games
79 119
80120Use Codex to scaffold SwiftUI projects, keep the build loop CLI-first with `xcodebuild` or...Use Codex to turn a game brief into first a well-defined plan, and then a real browser-based...
81 121
82122Mobile Code](https://developers.openai.com/codex/use-cases/native-ios-macos-apps)Engineering Code](https://developers.openai.com/codex/use-cases/browser-games)