Text · OpenAI

GPT API

OpenAI's flagship LLM for chat, code generation, and multi-step reasoning tasks.

Operasyonel · 14 variants · başlayan $0.010
runapi.ai
# Base URL
https://runapi.ai

# Endpoints
POST /v1/chat/completions
POST /v1/responses
POST /v1/messages
POST /v1beta/models/{model}:generateContent
POST /v1beta/models/{model}:streamGenerateContent
curl https://runapi.ai/v1/chat/completions \
  -H "Authorization: Bearer $RUNAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-5.6-terra",
  "messages": [
    {
      "role": "user",
      "content": "Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations."
    }
  ]
}'
from openai import OpenAI

client = OpenAI(
    base_url="https://runapi.ai/v1",
    api_key="your-runapi-key"
)

response = client.chat.completions.create(
    model="gpt-5.6-terra",
    messages=[{"role": "user", "content": "Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations."}]
)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://runapi.ai/v1",
  apiKey: "your-runapi-key"
});

const response = await client.chat.completions.create({
  model: "gpt-5.6-terra",
  messages: [{ role: "user", content: "Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations." }]
});
https://runapi.ai 5 endpoints
OVERVIEW

GPT is OpenAI's flagship large language model series, with the GPT-5 family delivering state-of-the-art performance in chat, code generation, and multi-step reasoning. Available in multiple capability tiers.

  • Farklı hız / kalite seviyeleri için birden çok varyant
  • Model skill dokümanları, şemaları ve kurulum notlarını içerir
  • Uygulama odaklı kodlama workflow’larıyla çalışır
  • Başarısız üretimler ücretlendirilmez
VARIANTS

Tüm API varyantlarını karşılaştırın

Variant Billing From
codex-auto-review 1K tokens $0.150 Gör →
gpt-5.2 1K tokens $0.070 Gör →
gpt-5.2-pro 1K tokens $0.840 Gör →
gpt-5.3-codex 1K tokens $0.070 Gör →
gpt-5.3-codex-spark 1K tokens $0.070 Gör →
gpt-5.4 1K tokens $0.120 Gör →
gpt-5.4-mini 1K tokens $0.030 Gör →
gpt-5.4-nano 1K tokens $0.010 Gör →
gpt-5.4-pro 1K tokens $1.35 Gör →
gpt-5.5 1K tokens $0.230 Gör →
gpt-5.5-pro 1K tokens $1.35 Gör →
gpt-5.6-luna 1K tokens $0.050 Gör →
gpt-5.6-sol 1K tokens $0.230 Gör →
gpt-5.6-terra 1K tokens $0.120 Gör →
API

GPT API uç noktaları

RunAPI anahtarınla OpenAI veya Anthropic SDK’sını kullan. Ek SDK gerekmez.

Endpoint Protocol
/v1/chat/completions OpenAI compatible
/v1/responses OpenAI Responses
/v1/messages Anthropic compatible
/v1beta/models/{model}:generateContent Gemini generateContent
/v1beta/models/{model}:streamGenerateContent Gemini streamGenerateContent
NASIL ÇALIŞIR

Model skill’den ilk sonuca dört adımda

01

Modeli seçin

Çıktı tipi, kalite eşiği ve gecikme hedefinize uygun model ve varyantı seçin.

02

Yapılandır

RunAPI anahtarınızı ayarlayın ve model skill’i kod workspace’inize kurun.

03

Geliştirin

Skill talimatlarını kullanarak model özelliğini uygulamanızın içine ekleyin.

04

Al

Task ID ile sorgulayın, destekleniyorsa stream edin veya webhook callback’i işleyin.

CONTEXT

GPT API nedir?

GPT is OpenAI's frontier LLM family, spanning standard and mini variants for different cost-performance trade-offs. Through RunAPI, all GPT models share the same API shape and billing.

Provider
OpenAI
Modality
Text
NEDEN RUNAPI

GPT API neden RunAPI üzerinden kullanılmalı

Tek kimlik doğrulama, tüm sağlayıcılar

Tek bir RunAPI anahtarı tüm kataloğu açar. Ayrı hesap yok, her entegrasyon için anahtar döndürme yok.

Birleşik fiyatlandırma ve faturalandırma

USD bazında çağrı başı fiyatlandırma, aylık faturalandırılır. Başarısız üretimler ücretlendirilmez.

Şemalı skill

Tipli şemalar ve kurulum notları model skill içinde paketlenir; uygulama doğru kontrattan başlar.

FAQ

Sık sorulan sorular

Which GPT variant should I choose?

GPT-5.6 — the sol, terra, and luna tiers — is the current flagship generation. GPT-5.4 remains a strong choice for coding and agentic workflows, GPT-5.5 for long-horizon autonomous tasks, and GPT-5.4-mini is the cost-effective option for simpler tasks.

Does GPT support tool use and function calling?

Yes — all GPT-5 variants support structured function calling with JSON schemas, enabling agentic tool-use workflows.

What is Thinking mode?

Thinking mode lets GPT reason step-by-step before responding. Available on GPT-5.2 and above, it improves accuracy on complex reasoning tasks.

What is the context window size?

Context windows vary by variant. GPT-5.4 and above support large context windows suitable for multi-file code analysis and long documents.

What is GPT-5.3 Codex optimized for?

Codex is specialized for multi-file code generation, editing, and analysis — purpose-built for developer workflows and CI/CD integration.

Hangi varyantla başlamalıyım?

Kalite beklentinizi karşılayan en uygun fiyatlı varyantı seçin. Çoğu ekip hızlı varyantla başlar ve üretimde pro sürüme geçer.

Ücretsiz bir katman var mı?

Yeni hesaplar her modelde ilk çağrıları ücretsiz alır. Sonrasında çağrı başına ödeme yaparsınız.

Sonuçları streaming olarak sunuyor musunuz?

Streaming desteklendiğinde RunAPI uçtan uca streaming sağlar.

Başarısız işlemler nasıl ücretlendirilir?

Başarısız üretimler ücretlendirilmez.

Çıktılar önbelleğe alınıyor mu?

Üretilen çıktılar saklanır ve görev ID’siyle geri alınabilir. Girdiler önbelleğe alınmaz.

Ticari kullanım yapabilir miyim?

Evet — bir model lisansı bunu açıkça kısıtlamadıkça ticari kullanım tüm varyantlarda dahildir; kısıtlamalar varyant sayfasında belirtilir.

Oran limitleri ne durumda?

Anahtar bazlı oran limitleri kullanım kademesine göre ölçeklenir. Güncel limitler için fiyatlandırma sayfasına bakın.

Sorunları nereye bildirebilirim?

Herkese açık GitHub reposunda bir issue açın veya destek ekibine e-posta gönderin.

ŞİMDİ BAŞLAYIN

GPT API ile geliştirmeye başlayın.