It looks like you may prefer a different language. Switch anytime.

Text Google

Gemini API

Gemini API’sini RunAPI üzerinden model skill, birleşik kimlik doğrulama ve kullandıkça öde fiyatlandırmayla kullanın.

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_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gemini-3.7-flash",
  "messages": [
    {
      "role": "user",
      "content": "Analyze this codebase and suggest three performance improvements with before/after examples."
    }
  ]
}'
from openai import OpenAI

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

response = client.chat.completions.create(
    model="gemini-3.7-flash",
    messages=[{"role": "user", "content": "Analyze this codebase and suggest three performance improvements with before/after examples."}]
)
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: "gemini-3.7-flash",
  messages: [{ role: "user", content: "Analyze this codebase and suggest three performance improvements with before/after examples." }]
});
https://runapi.ai 5 endpoints
OVERVIEW

Gemini hakkında

Gemini is Google's multimodal large language model family supporting text, image, audio, and code understanding. Available in Flash and Pro variants, it handles tasks from quick summarization to deep reasoning and complex coding.

Sağlayıcı
Google
Modality
Text

Gemini API uç noktaları

EndpointProtocol
POST /v1/chat/completionsOpenAI compatible
POST /v1/responsesOpenAI Responses
POST /v1/messagesAnthropic compatible
POST /v1beta/models/{model}:generateContentGemini generateContent
POST /v1beta/models/{model}:streamGenerateContentGemini streamGenerateContent

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

Varyant Faturalandırma Fiyatlandırma
gemini-2.5-flash 1K tokens Input $0.30 / 1M tokens | Output $2.50 / 1M tokens Gör →
gemini-2.5-pro 1K tokens Input $1.25-$2.50 / 1M tokens | Output $10.00-$15.00 / 1M tokens Gör →
gemini-3-flash-preview 1K tokens Input $0.50 / 1M tokens | Output $3.00 / 1M tokens · Input $0.30 / 1M tokens | Output $1.80 / 1M tokens Gör →
gemini-3.1-pro-preview 1K tokens Input $1.00-$2.00 / 1M tokens | Output $7.00-$10.50 / 1M tokens Gör →
gemini-3.5-flash 1K tokens Input $1.50 / 1M tokens | Output $9.00 / 1M tokens · Input $0.90 / 1M tokens | Output $5.40 / 1M tokens Gör →
gemini-3.6-flash 1K tokens Input $1.50 / 1M tokens | Output $7.50 / 1M tokens · Input $0.90 / 1M tokens | Output $4.50 / 1M tokens Gör →
gemini-3.7-flash 1K tokens Input $0.45 / 1M tokens | Output $2.25 / 1M tokens Gör →
PRICING

Gemini Fiyatlandırması

Endpoint Çözünürlük Süre Fiyat
chat_completion Input $0.30 / 1M tokens | Output $2.50 / 1M tokens

gemini-2.5-flash için gösterilen fiyatlar. Diğer varyantlar kendi endpoint fiyatlandırmalarını korur.

Agent entegrasyonu

Gemini modelini bir agent ile çalıştırın

NASIL ÇALIŞIR

Gemini ile Başlayın

  1. Modeli seçin

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

  2. Yapılandır

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

  3. Geliştirin

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

  4. Al

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

CONTEXT

Gemini API nedir?

Gemini is Google's flagship multimodal LLM, available in Flash (fast) and Pro (frontier reasoning) variants. Through RunAPI, all Gemini models share the same API shape and billing.

Sağlayıcı
Google
Tümünü gör →
Modality
Text
Modelleri keşfet →

Gemini 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.

Gemini Hakkında Sorular

What is the context window size for Gemini?

Up to 1 million tokens across all variants. This handles entire codebases, long documents, and multi-turn conversations without truncation.

What input modalities does Gemini accept?

Text, images, audio, and video. You can pass multimodal inputs in a single request for cross-modal reasoning.

What is Google Search grounding?

Gemini can ground responses in real-time Google Search results, reducing hallucination for factual and time-sensitive queries.

How do Flash and Pro compare?

Flash is optimized for speed and cost — ideal for high-volume tasks. Pro delivers deeper reasoning and is better for complex multi-step analysis.

Does Gemini support function calling?

Yes — Gemini supports structured function calling with typed JSON schemas, making it suitable for agentic workflows and tool use.

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.

BENZER MODELLER

Gemini API’yi sevdiyseniz, bunları deneyin

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