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

gpt-4-0613

输入:$24/M
输出:$48/M
商用
概览
功能亮点
定价
API

Technical Specifications of gpt-4-0613

AttributeDetails
Model IDgpt-4-0613
ProviderOpenAI
Model familyGPT-4
Release snapshotJune 13, 2023 snapshot with updated behavior and function-calling support at launch
Primary modalityText input and text output
Context window8,192 tokens
Max output tokens8,192 tokens
Knowledge cutoffDecember 1, 2023
Supported API styleChat Completions-compatible GPT-4 snapshot; also listed in OpenAI model documentation as a GPT-4 snapshot
Notable capabilityEarly GPT-4 snapshot known for improved function-calling behavior introduced in the June 13, 2023 update
Pricing referenceOpenAI lists GPT-4 pricing at $30 per 1M input tokens and $60 per 1M output tokens for this GPT-4 model page.

What is gpt-4-0613

gpt-4-0613 is a pinned GPT-4 snapshot from OpenAI associated with the June 13, 2023 model update. It is commonly recognized as one of the early stable GPT-4 API versions used by developers who wanted more predictable behavior than a moving alias. OpenAI specifically introduced this snapshot as an updated GPT-4 model with improved function-calling support.

In practice, gpt-4-0613 is best understood as an older but historically important GPT-4 release for chat-based applications, structured tool invocation patterns, and production systems that benefited from version pinning. OpenAI’s current model documentation labels GPT-4 as an older high-intelligence model and includes gpt-4-0613 among the available GPT-4 snapshots.

For CometAPI users, the model ID gpt-4-0613 can be treated as the platform identifier for accessing this specific GPT-4 snapshot through a unified API workflow.

Main features of gpt-4-0613

  • Pinned GPT-4 snapshot: gpt-4-0613 refers to a fixed GPT-4 version rather than a rolling alias, which is useful when you want more stable behavior across testing and production deployments.
  • Function-calling era model: OpenAI introduced gpt-4-0613 as part of the update that added improved function calling, making it an important model for tool-use workflows and structured external actions.
  • Strong general reasoning: As a GPT-4 model, it belongs to OpenAI’s higher-intelligence class of models intended for complex instructions, multi-step reasoning, and higher-quality text generation than earlier mainstream chat models.
  • 8K context handling: The model supports an 8,192-token context window, which is suitable for moderately long prompts, multi-turn chat history, and document-grounded tasks that do not require very large context sizes.
  • Chat-oriented integration: It is designed for chat-style prompting patterns, making it a practical fit for assistants, support bots, internal copilots, and prompt-engineered business workflows.
  • Legacy compatibility value: Because many older applications were built around this GPT-4 snapshot, gpt-4-0613 remains relevant when maintaining legacy integrations, reproducing earlier outputs, or migrating gradually from older OpenAI-compatible systems. This is an inference based on its snapshot role and continued listing in model documentation.

How to access and integrate gpt-4-0613

Step 1: Sign Up for API Key

Sign up on CometAPI and create an API key from the dashboard. After that, store the key securely as an environment variable such as COMETAPI_API_KEY so your application can authenticate requests safely.

Step 2: Send Requests to gpt-4-0613 API

Use CometAPI’s OpenAI-compatible endpoint and set the model field to gpt-4-0613.

curl https://api.cometapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_API_KEY" \
  -d '{
    "model": "gpt-4-0613",
    "messages": [
      {
        "role": "user",
        "content": "Write a short introduction for the GPT-4-0613 model."
      }
    ]
  }'
from openai import OpenAI

client = OpenAI(
    api_key="<COMETAPI_API_KEY>",
    base_url="https://api.cometapi.com/v1"
)

response = client.chat.completions.create(
    model="gpt-4-0613",
    messages=[
        {"role": "user", "content": "Write a short introduction for the GPT-4-0613 model."}
    ]
)

print(response.choices[0].message.content)

Step 3: Retrieve and Verify Results

Read the generated content from the response object, then verify output quality for your use case with representative prompts, formatting checks, and application-level validation. If you are integrating the model into production workflows, it is good practice to test consistency, latency, and fallback behavior before full deployment.

gpt-4-0613 的功能

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

gpt-4-0613 的定价

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

gpt-4-0613 的示例代码与 API

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

更多模型

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 有显著跃升。