Skip to content
هذه الصفحة غير متاحة بلغتك بعد، لذا تُعرض باللغة الإنجليزية.
Google · Gemini

gemini-3-pro-preview API

Use Google's Gemini chat and reasoning model on APISea for long-input analysis and text generation.

استدلالالمحادثة والنصمتزامن
معرّف النموذج
gemini-3-pro-preview

تسعير API لنموذج gemini-3-pro-preview

جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.

نوع الـ tokenAPISeaرسميوفّر
الإدخال لكل 1M رمز$1.76$2.00−12%
الإخراج لكل 1M رمز$10.56$12.00−12%

ما هو gemini-3-pro-preview؟

Google's gemini-3-pro-preview is a Gemini chat and reasoning model available through APISea. Its Pro name positions it as a higher-capability tier, while its preview designation means it may change. With a maximum input of 1,048,576 tokens and maximum output of 65,536 tokens, it is suited to workflows that bring substantial text into a conversation, such as document analysis, synthesis, and multi-turn assistance. The chat interface accepts messages with system, user, and assistant roles and returns generated text.

Call it through APISea's OpenAI-compatible base URL, https://api.apisea.ai/v1, using one API key. Controls include temperature, top_p, max_tokens, and streaming, allowing you to tune randomness and response length. APISea charges $1.76 per 1M tokens for input and $10.56 per 1M tokens for output on a pay-as-you-go basis, billing only successful requests. The default configuration is about 12% below the provider list price.

أبرز مزايا gemini-3-pro-preview

Large Input Capacity

Supply up to 1,048,576 input tokens for text-heavy chat and reasoning workflows.

Extended Text Output

The maximum output is 65,536 tokens. Use max_tokens to set a smaller generation budget for individual requests.

Compatible Chat Interface

Use the OpenAI Chat Completions format with model and messages fields. Choose streamed output or a complete response with the stream parameter.

Google Native Format

The model is also listed for Google's native API format. That interface offers generateContent for complete responses and streamGenerateContent for streaming.

كيفية استدعاء API الخاص بـ gemini-3-pro-preview في 4 خطوات

  1. 01

    احصل على API key

    سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.

  2. 02

    اضبط عنوان URL الأساسي

    استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.

  3. 03

    أرسل الطلب

    استدعِ POST /v1/chat/completions مع "model": "gemini-3-pro-preview" والمعلمات أدناه.

  4. 04

    تعامل مع الاستجابة

    اقرأ الاستجابة (أو استقبل الـ tokens بالتدفق باستخدام stream: true). يظهر الاستخدام والتكلفة في وحدة التحكم.

curl https://api.apisea.ai/v1/chat/completions \
  -H "Authorization: Bearer $APISEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3-pro-preview",
    "messages": [
      {"role": "system", "content": "You are a concise assistant."},
      {"role": "user", "content": "Explain what an AI API gateway does in two sentences."}
    ],
    "stream": false
  }'

المعلمات

المعلمةالنوعمطلوبافتراضيالوصف
modelstringمطلوبgpt-5Model name
messagesarrayمطلوب—List of conversation messages
rolestringمطلوبuserRole type
contentstringمطلوب—Message content
temperaturenumberاختياري—Controls output randomness, range 0-2
max_tokensintegerاختياري—Maximum number of tokens to generate
streambooleanاختياري—Whether to use streaming output
top_pnumberاختياري—Nucleus sampling parameter, range 0-1
frequency_penaltynumberاختياري—Frequency penalty, range -2.0 to 2.0
presence_penaltynumberاختياري—Presence penalty, range -2.0 to 2.0
stopstring or arrayاختياري—Stop sequences
nintegerاختياري—Number of completions to generate

ما الذي يمكنك إنشاؤه باستخدام gemini-3-pro-preview

Document Synthesis

Build a workflow that supplies lengthy text collections and asks for summaries, recurring themes, or questions for further review.

Conversational Assistants

Create multi-turn text assistants using system instructions and prior user and assistant messages as conversation context.

Reasoning Workflows

Use the chat and reasoning model to explore a problem, compare proposed approaches, and draft an explanation for human review.

Long-Form Drafting

Generate substantial reports or explanatory drafts from supplied source text, with an explicit outline and output-token budget.

نصائح للحصول على نتائج أفضل

  • 01

    Set an Output Budget

    Set max_tokens to the length your application needs rather than automatically using the maximum. Output is billed at $10.56 per 1M tokens.

  • 02

    Tune One Sampling Control

    Start with temperature or top_p rather than adjusting both. Lower temperature values make output more deterministic; higher values increase randomness.

  • 03

    Choose Streaming Explicitly

    Set stream to true for SSE output or false to receive the complete response at once. Explicit settings avoid relying on endpoint defaults.

  • 04

    Structure Conversation Context

    Put behavior instructions in a system message and preserve relevant user and assistant turns. Include only the source text needed for the task to manage input-token costs.

القيود ومعلومات مهمة

  • Input is limited to 1,048,576 tokens per request.

  • Output is limited to 65,536 tokens per request.

  • The preview designation means the model may change.

الأسئلة الشائعة حول API الخاص بـ gemini-3-pro-preview

How much does gemini-3-pro-preview cost on APISea?

APISea input costs $1.76 per 1M tokens, and output costs $10.56 per 1M tokens. Provider list prices are $2.00 per 1M tokens for input and $12.00 per 1M tokens for output; the default configuration is about 12% below list price. Billing is pay-as-you-go and applies only to successful requests.

How do I call gemini-3-pro-preview through APISea?

Use https://api.apisea.ai/v1 as your OpenAI-compatible base URL and send a chat completions request with the model field set to gemini-3-pro-preview. Supply a messages array and authenticate with your APISea key using Bearer Token authentication.

Which generation parameters are available?

The documented chat interface includes temperature, top_p, max_tokens, stream, frequency_penalty, presence_penalty, stop, and n. Temperature ranges from 0–2, and top_p ranges from 0–1; consult the model documentation for model-specific behavior.

What are the input and output token limits?

The maximum input is 1,048,576 tokens, and the maximum output is 65,536 tokens. Set max_tokens to cap the generated response within the output limit.

Can I use gemini-3-pro-preview commercially?

Commercial use is subject to the provider's terms. Review the applicable Google terms and APISea terms for your intended application.

How does it compare with the thinking and nothinking variants?

The model is also callable as gemini-3-pro-preview-thinking and gemini-3-pro-preview-nothinking. The thinking name suggests an extended-reasoning configuration, but the supplied facts do not specify differences in behavior, latency, or pricing between these callable names.

نماذج ذات صلة

العمق: أكثر من 250 نموذجًا · الحد الأدنى لشحن الرصيد $50

ابدأ التطوير باستخدام gemini-3-pro-preview

مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.