OpenAI Introduces Structured Outputs and Slashes GPT-4o Pricing by 50%

August 08, 2024 at 5:34:30 PM

TL;DR OpenAI introduces Structured Outputs and reduces GPT-4 pricing by 50%. Structured Outputs ensure model outputs match developer-supplied JSON Schemas, addressing a challenge since function calling was introduced. Developers can implement this by setting `strict: true` in function definitions or as a `response_format` option. The latest GPT-4 version also offers a 50% reduction in input token pricing and a 33% reduction in output token pricing.

OpenAI Introduces Structured Outputs and Slashes GPT-4o Pricing by 50%

OpenAI has announced two significant updates to its API offerings: the introduction of Structured Outputs and a substantial price reduction for its latest GPT-4 version.

Structured Outputs: Ensuring Schema Compliance

OpenAI has launched Structured Outputs, one of the most requested features for its API. This feature ensures that model outputs precisely match developer-supplied JSON Schemas, addressing a long-standing challenge since the introduction of function calling.

Developers can implement Structured Outputs in two ways:

  1. For function calling: Set strict: true within the function definition.
  2. As a response_format option: Supply a json_schema with a full schema definition and set strict: true.

Structured Outputs with function calling is supported across all function-calling-capable models, including GPT-4 and GPT-3.5-turbo variants.

Significant Price Reduction

The latest GPT-4 version (gpt-4o-2024-08-06) comes with substantial cost savings for developers:

  • 50% reduction in input token pricing
  • 33% reduction in output token pricing

Compared to the previous version, these price cuts make advanced AI capabilities more accessible to a broader range of developers and applications.

OpenAI encourages developers to explore these new features and looks forward to seeing the innovative applications that will emerge from these enhancements.

Have more questions on this topic? Ask our AI assistant for in-depth insights.

Read more from sources πŸ‘‡

The Only Digital Marketing Feed You'll Ever Need.

Stay informed your way. Tailored updates when and how you want them. 100% Free.

10,000+ Users

500+ Sources

1000+ Tools

Or

Related Posts

AI marketing workflows made simple

AI marketing workflows made simple

Featured
Markifact
Markifact

Verified Sponsor

Verified Sponsor

Markifact is a Verified Sponsor. Want to get featured here? Contact us.

Verified Sponsor
OpenAI introduces image generation feature powered by GPT-4o in ChatGPT Trending ️‍πŸ”₯

OpenAI introduces image generation feature powered by GPT-4o in ChatGPT

OpenAI
OpenAI

Official Source

Official Source

OpenAI is a Official Source. The source has been verified by Swipe Insight team.

Official Source
OpenAI launches new tools for businesses to build AI agents more easily

OpenAI launches new tools for businesses to build AI agents more easily

OpenAI
OpenAI

Official Source

Official Source

OpenAI is a Official Source. The source has been verified by Swipe Insight team.

Official Source
OpenAI launches GPT-4.5 as its largest AI model Trending ️‍πŸ”₯

OpenAI launches GPT-4.5 as its largest AI model

OpenAI
OpenAI

Official Source

Official Source

OpenAI is a Official Source. The source has been verified by Swipe Insight team.

Official Source
Deep Research now available to ChatGPT Plus users

Deep Research now available to ChatGPT Plus users

OpenAI
OpenAI

Official Source

Official Source

OpenAI is a Official Source. The source has been verified by Swipe Insight team.

Official Source
OpenAI Launches Data Residency in Europe for ChatGPT Enterprise, Edu, and API Platform

OpenAI Launches Data Residency in Europe for ChatGPT Enterprise, Edu, and API Platform

OpenAI
OpenAI

Official Source

Official Source

OpenAI is a Official Source. The source has been verified by Swipe Insight team.

Official Source
OpenAI launches deep research in ChatGPT to enhance complex research capabilities Trending ️‍πŸ”₯

OpenAI launches deep research in ChatGPT to enhance complex research capabilities

OpenAI
OpenAI

Official Source

Official Source

OpenAI is a Official Source. The source has been verified by Swipe Insight team.

Official Source
OpenAI launches Operator an AI agent for autonomous task execution Trending ️‍πŸ”₯

OpenAI launches Operator an AI agent for autonomous task execution

OpenAI
OpenAI

Official Source

Official Source

OpenAI is a Official Source. The source has been verified by Swipe Insight team.

Official Source

Related Tools

Markifact logo

Markifact

Verified Tool

Verified Tool

Markifact is a Verified Tool. Want to get this badge? Contact us.

Verified Tool

Marketing Workflows Powered by AI

Featured
Marketing Auditor logo

Marketing Auditor

Verified Tool

Verified Tool

Marketing Auditor is a Verified Tool. Want to get this badge? Contact us.

Verified Tool

Automated audits for Google Ads and Analytics.

Get Featured Here

Showcase your tool in this list.

Contact Us