模型支持企业博客
500+ AI 模型 API,一次搞定,就在 CometAPI
模型 API
开发者
快速入门文档API 仪表板
资源
AI 模型博客企业更新日志关于
2025 CometAPI。保留所有权利。隐私政策服务条款
Home/Models/OpenAI/GPT-4o Audio Preview
O

GPT-4o Audio Preview

输入:$60/M
输出:$240/M
โมเดลนี้รองรับความยาวบริบทได้สูงสุด 128,000 โทเค็น.
商用
概览
功能亮点
定价
API
版本

Technical Specifications of gpt-4o-audio-preview

SpecificationDetails
Model IDgpt-4o-audio-preview
Maximum context length128,000 tokens
Input typesText, audio
Output typesText, audio
Primary capabilityMultimodal interaction with audio support
AvailabilityVia CometAPI
Integration styleStandard API-based request/response workflow

What is gpt-4o-audio-preview?

gpt-4o-audio-preview is a multimodal AI model available through CometAPI that supports a maximum context length of 128,000 tokens. It is designed for applications that need to work with both text and audio, making it suitable for conversational systems, transcription-adjacent workflows, audio-aware assistants, and other experiences that benefit from spoken input or output.

With its large context window, gpt-4o-audio-preview can handle longer interactions and more extensive prompts than smaller-context models. This makes it useful for developers building workflows that need richer conversation history, longer instructions, or larger reference inputs while still benefiting from audio-enabled capabilities.

Main features of gpt-4o-audio-preview

  • 128,000-token context window: Supports long prompts and extended conversations, enabling more context-aware responses across complex workflows.
  • Audio-capable multimodal interaction: Accepts audio alongside text, which is useful for voice interfaces, speech-driven applications, and mixed-media experiences.
  • Text and audio output flexibility: Can support applications that need responses in textual form, audio form, or both depending on the implementation.
  • Conversational use cases: Well suited for assistants, support tools, and interactive systems that need natural back-and-forth exchanges.
  • API-first integration: Can be accessed through CometAPI using a standard developer workflow for authentication, request submission, and response handling.

How to access and integrate gpt-4o-audio-preview

Step 1: Sign Up for API Key

To get started, create an account on CometAPI and generate your API key from the dashboard. This key is required to authenticate every request you send to the gpt-4o-audio-preview API. Store it securely and avoid exposing it in client-side code or public repositories.

Step 2: Send Requests to gpt-4o-audio-preview API

After obtaining your API key, send requests to the CometAPI endpoint specifying gpt-4o-audio-preview as the model. Include your prompt or audio payload, required parameters, and authorization headers in the request. A typical integration uses your server or backend service to forward requests securely and manage retries, logging, and usage tracking.

curl https://api.cometapi.com/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_API_KEY" \
  -d '{
    "model": "gpt-4o-audio-preview",
    "input": "Hello! Please describe the audio content clearly."
  }'

Step 3: Retrieve and Verify Results

Once the request is processed, CometAPI returns the model output in the response body. Parse the returned data, extract the generated content, and verify that the output matches your application requirements. For production use, you should also add validation, error handling, and monitoring to ensure reliable integration with gpt-4o-audio-preview.

GPT-4o Audio Preview 的功能

了解 GPT-4o Audio Preview 的核心能力,帮助提升性能与可用性,并改善整体体验。

GPT-4o Audio Preview 的定价

查看 GPT-4o Audio Preview 的竞争性定价,满足不同预算与使用需求,灵活方案确保随需求扩展。
Comet 价格 (USD / M Tokens)官方定价 (USD / M Tokens)折扣
输入:$60/M
输出:$240/M
输入:$75/M
输出:$300/M
-20%

GPT-4o Audio Preview 的示例代码与 API

获取完整示例代码与 API 资源,简化 GPT-4o Audio Preview 的集成流程,我们提供逐步指导,助你发挥模型潜能。

GPT-4o Audio Preview 的版本

GPT-4o Audio Preview 可能存在多个快照,原因包括:更新后保持一致性需要保留旧版、给开发者留出迁移窗口,以及全球/区域端点提供的优化差异。具体差异请参考官方文档。
version
gpt-4o-audio-preview-2024-12-17
gpt-4o-audio-preview-2025-06-03
gpt-4o-audio-preview
gpt-4o-audio-preview-2024-10-01

更多模型

G

Nano Banana 2

输入:$0.4/M
输出:$2.4/M
核心能力概览:分辨率:最高 4K(4096×4096),与 Pro 相当。参考图像一致性:最多 14 张参考图像(10 个物体 + 4 个角色),保持风格/角色一致性。极端纵横比:新增 1:4、4:1、1:8、8:1 比例,适用于长图、海报和横幅。文本渲染:高级文本生成,适用于信息图和营销海报版式。搜索增强:集成 Google Search + 图片搜索。Grounding:内置思维过程;生成前先对复杂提示进行推理。
A

Claude Opus 4.6

输入:$4/M
输出:$20/M
Claude Opus 4.6 是 Anthropic 的“Opus”级大型语言模型,于 2026 年 2 月发布。其定位为知识工作与研究工作流的主力模型——提升长上下文推理、多步骤规划、工具使用(包括代理型软件工作流),以及计算机使用类任务,如自动生成幻灯片和电子表格。
A

Claude Sonnet 4.6

输入:$2.4/M
输出:$12/M
Claude Sonnet 4.6 是迄今为止我们最强大的 Sonnet 模型。它对模型在编码、计算机使用、长上下文推理、智能体规划、知识工作和设计等方面的能力进行了全面升级。Sonnet 4.6 还在 beta 阶段提供 1M token 上下文窗口。
O

GPT-5.4 nano

输入:$0.16/M
输出:$1/M
GPT-5.4 nano 专为速度和成本最为关键的任务而设计,例如分类、数据提取、排序以及子智能体。
O

GPT-5.4 mini

输入:$0.6/M
输出:$3.6/M
GPT-5.4 mini 将 GPT-5.4 的优势融入到一款更快速、更高效、专为大规模工作负载设计的模型中。
A

Claude Mythos Preview

A

Claude Mythos Preview

即将推出
输入:$60/M
输出:$240/M
Claude Mythos Preview 是我们迄今为止最强大的前沿模型,并显示出 在许多评测基准上的得分相较于我们此前的前沿模型 Claude Opus 4.6 有显著跃升。