Unlock exclusive introductory pricing for the newly launched Gemini 3.5 Flash.
O

GPT 5 Chat

Ingresso:$1/M
Uscita:$8/M
Contesto:400K
Uscita Massima:128K
Rilasciato:Oct 9, 2025

GPT-5 Chat (latest) รจ un modello di intelligenza artificiale fornito da OpenAI.

Nuovo
Popolare
Uso commerciale

Playground per GPT 5 Chat

Esplora il Playground di GPT 5 Chat โ€” un ambiente interattivo per testare modelli ed eseguire query in tempo reale. Prova prompt, regola parametri e itera istantaneamente per accelerare lo sviluppo e convalidare i casi d'uso.

How do I start using the gpt-5 chat API?

Required Steps in CometAPI

  • Log in to cometapi.com. If you are not our user yet, please register first
  • Get the access credential API key of the interface. Click โ€œAdd Tokenโ€ at the API token in the personal center, get the token key: sk-xxxxx and submit.
  • Get the url of this site: https://api.cometapi.com/

Use Method

  1. Select the "gpt-5-chat-latest" endpoint to send the API request and set the request body. The request method and request body are obtained from our website API doc. Our website also provides Apifox test for your convenience.
  2. Replace <YOUR_API_KEY> with your actual CometAPI key from your account.
  3. Insert your question or request into the content fieldโ€”this is what the model will respond to.
  4. . Process the API response to get the generated answer.

CometAPI provides a fully compatible REST APIโ€”for seamless migration. Key details to API doc

Prezzi per GPT 5 Chat

Esplora i prezzi competitivi per GPT 5 Chat, progettato per adattarsi a vari budget e necessitร  di utilizzo. I nostri piani flessibili garantiscono che paghi solo per quello che usi, rendendo facile scalare man mano che i tuoi requisiti crescono. Scopri come GPT 5 Chat puรฒ migliorare i tuoi progetti mantenendo i costi gestibili.

Comet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
Ingresso:$1/M
Uscita:$8/M
Ingresso:$1.25/M
Uscita:$10/M
-20%

Codice di esempio e API per GPT 5 Chat

Accedi a codice di esempio completo e risorse API per GPT 5 Chat per semplificare il tuo processo di integrazione. La nostra documentazione dettagliata fornisce una guida passo dopo passo, aiutandoti a sfruttare appieno il potenziale di GPT 5 Chat nei tuoi progetti.

curl https://api.cometapi.com/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_KEY" \
  -d '{
    "model": "gpt-5-chat-latest",
    "input": "Tell me a three sentence bedtime story about a unicorn."
  }'

cURL Code Example

curl https://api.cometapi.com/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_KEY" \
  -d '{
    "model": "gpt-5-chat-latest",
    "input": "Tell me a three sentence bedtime story about a unicorn."
  }'

Python Code Example

from openai import OpenAI
import os

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/v1"

client = OpenAI(base_url=BASE_URL, api_key=COMETAPI_KEY)
response = client.responses.create(
    model="gpt-5-chat-latest", input="Tell me a three sentence bedtime story about a unicorn."
)

print(response)

JavaScript Code Example

import OpenAI from "openai";

// Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
const api_key = process.env.COMETAPI_KEY;
const base_url = "https://api.cometapi.com/v1";

const openai = new OpenAI({
  apiKey: api_key,
  baseURL: base_url,
});

const response = await openai.responses.create({
  model: "gpt-5-chat-latest",
  input: "Tell me a three sentence bedtime story about a unicorn.",
});

console.log(response);