Skip to content

Conversation

@piscue
Copy link
Contributor

@piscue piscue commented Aug 9, 2025

What

Add new GPT-5 models: gpt-5, gpt-5-mini, gpt-5-nano, gpt-5-chat

Details

OpenAI released GPT-5 in August 2025 with four model variants:

  • gpt-5: OpenAI's best AI system with significant leap in intelligence, designed for logic and multi-step tasks with deep reasoning
  • gpt-5-mini: Lightweight version for cost-sensitive applications
  • gpt-5-nano: Optimized for ultra-low latency and fast execution
  • gpt-5-chat: Built for advanced, natural, multimodal conversations

This PR adds these models to both the Models.swift file and updates the README documentation, following the same pattern as the GPT-4.1 models addition.

Changes Made

  • Added GPT-5 model constants in Sources/OpenAI/Public/Models/Models/Models.swift
  • Updated both chatCompletionsEndpoint and responsesEndpoint model sets to include the new models
  • Updated README.md with the new model constants in the documentation

Testing

The changes only add new model string constants and don't affect existing functionality.

Added new GPT-5 model variants:
- gpt-5: OpenAI's best AI system with significant leap in intelligence
- gpt-5-mini: Lightweight version for cost-sensitive applications
- gpt-5-nano: Optimized for ultra-low latency and fast execution
- gpt-5-chat: Built for advanced, natural, multimodal conversations
Copy link
Collaborator

@nezhyborets nezhyborets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks!

@Krivoblotsky Krivoblotsky merged commit 80045fc into MacPaw:main Aug 9, 2025
2 checks passed
@piscue piscue deleted the add-gpt-5-models branch August 9, 2025 21:33
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