ModelsSupportEnterpriseBlog
500+ AI Model API, All In One API.Just In CometAPI
Models API
Developer
Quick StartDocumentationAPI Dashboard
Resources
AI ModelsBlogEnterpriseChangelogAbout
2025 CometAPI. All right reserved.Privacy PolicyTerms of Service
Home/Models/OpenAI/gpt-4-0613
O

gpt-4-0613

Input:$24/M
Output:$48/M
Commercial Use
Overview
Features
Pricing
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.

Features for gpt-4-0613

Explore the key features of gpt-4-0613, designed to enhance performance and usability. Discover how these capabilities can benefit your projects and improve user experience.

Pricing for gpt-4-0613

Explore competitive pricing for gpt-4-0613, designed to fit various budgets and usage needs. Our flexible plans ensure you only pay for what you use, making it easy to scale as your requirements grow. Discover how gpt-4-0613 can enhance your projects while keeping costs manageable.
Comet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
Input:$24/M
Output:$48/M
Input:$30/M
Output:$60/M
-20%

Sample code and API for gpt-4-0613

Access comprehensive sample code and API resources for gpt-4-0613 to streamline your integration process. Our detailed documentation provides step-by-step guidance, helping you leverage the full potential of gpt-4-0613 in your projects.

More Models

G

Nano Banana 2

Input:$0.4/M
Output:$2.4/M
Core Capabilities Overview: Resolution: Up to 4K (4096×4096), on par with Pro. Reference Image Consistency: Up to 14 reference images (10 objects + 4 characters), maintaining style/character consistency. Extreme Aspect Ratios: New 1:4, 4:1, 1:8, 8:1 ratios added, suitable for long images, posters, and banners. Text Rendering: Advanced text generation, suitable for infographics and marketing poster layouts. Search Enhancement: Integrated Google Search + Image Search. Grounding: Built-in thinking process; complex prompts are reasoned before generation.
A

Claude Opus 4.6

Input:$4/M
Output:$20/M
Claude Opus 4.6 is Anthropic’s “Opus”-class large language model, released February 2026. It is positioned as a workhorse for knowledge-work and research workflows — improving long-context reasoning, multi-step planning, tool use (including agentic software workflows), and computer-use tasks such as automated slide and spreadsheet generation.
A

Claude Sonnet 4.6

Input:$2.4/M
Output:$12/M
Claude Sonnet 4.6 is our most capable Sonnet model yet. It’s a full upgrade of the model’s skills across coding, computer use, long-context reasoning, agent planning, knowledge work, and design. Sonnet 4.6 also features a 1M token context window in beta.
O

GPT-5.4 nano

Input:$0.16/M
Output:$1/M
GPT-5.4 nano is designed for tasks where speed and cost matter most like classification, data extraction, ranking, and sub-agents.
O

GPT-5.4 mini

Input:$0.6/M
Output:$3.6/M
GPT-5.4 mini brings the strengths of GPT-5.4 to a faster, more efficient model designed for high-volume workloads.
A

Claude Mythos Preview

A

Claude Mythos Preview

Coming soon
Input:$60/M
Output:$240/M
Claude Mythos Preview is our most capable frontier model to date, and shows a striking leap in scores on many evaluation benchmarks compared to our previous frontier model, Claude Opus 4.6.