Gemini 3 Pro Preview (Text Generation)
Send a message to test this OpenAI-compatible chat completions model.
Google Gemini 3 Pro Preview 使用完整指南
Google 最强大的多模态 AI 模型,适用于复杂推理、深度分析和高级内容生成。尤其擅长需要深入理解和全面回答的细致任务。

Gemini 3 Pro Preview 是 Google 的旗舰级多模态 AI 模型,专为需要高级推理、深度分析和高质量内容生成的任务而设计。作为 Gemini 3 系列中能力最强的模型,Pro Preview 擅长复杂问题求解、细致理解,并能在文本、代码、图像、视频和音频等多种形式上生成全面且结构清晰的输出。该模型具备扩展上下文窗口,最高支持 2 million tokens,可在单次请求中处理完整代码库、长篇文档或复杂的多模态输入。凭借先进的推理能力,Gemini 3 Pro Preview 非常适合对深度、准确性和高级理解能力有要求的专业应用。Gemini 3 Pro Preview API 为开发者提供 OpenAI 兼容的访问方式,便于集成到现有系统中,并利用 Google 最先进的 AI 能力。
Gemini 3 Pro Preview 擅长复杂推理任务,包括逻辑分析、数学问题求解、科学探究和多步骤推理。它能够拆解复杂问题,评估多个视角,并给出有证据支撑、逻辑严谨的结论。
该模型可生成高质量、细致入微的内容,适用于专业应用。从详细的技术文档到创意写作,从学术分析到商务沟通,Pro Preview 都能生成全面且符合高质量标准的输出。
Gemini 3 Pro Preview 在推理基准测试中展现出业界领先的表现。它擅长多步骤逻辑问题、数学证明、代码调试,以及需要深入理解和缜密推理的复杂分析任务。
借助行业领先的 2M token 上下文窗口,可在单次请求中处理海量数据。无论是分析完整代码仓库、处理冗长法律文档,还是维护大规模对话历史,都能保持上下文和连贯性。
Pro Preview 提供更出色的多模态能力,能够理解图像中的细微细节、跟随复杂的视频叙事,并准确转写音频。它可以跨模态推理,将视觉信息与文本信息关联起来,进行全面分析。
可生成多种编程语言的生产级代码,并具备合理架构、错误处理和文档说明。Pro Preview 理解软件设计模式,能够重构复杂系统,并为其实现提供详细解释。
该模型对上下文、细微差别和隐含含义展现出卓越理解能力。它能够从容处理歧义,在长篇输出中保持一致语气,并根据任务需求调整沟通风格。
开始使用 Gemini 3 Pro Preview API,构建你要求最高的 AI 应用...
在 apipass.dev 创建账户并获取你的 API key。请确保你拥有足够的 credits 来覆盖 Pro Preview 的 token 成本,这些成本体现了其先进能力。
使用交互式 playground,通过复杂提示词、详细系统指令和多模态输入测试 Gemini 3 Pro Preview。Pro 模型在面对具有挑战性和细致要求的任务时表现尤为出色。
使用 OpenAI Python 或 JavaScript SDK,并将 apipass.dev 作为 base URL。该 API 遵循 OpenAI 的 chat completions 格式,可与现有代码库无缝集成。
通过提供详细上下文、清晰指令和具体输出格式要求,充分发挥 Pro Preview 的优势。结构清晰并明确期望的提示词能让模型发挥最佳效果。
将 Pro Preview 部署到你要求最高的应用中。其先进能力使其非常适合企业级解决方案、专业工具,以及对输出质量要求极高的应用。
通过这些专家建议充分发挥 Gemini 3 Pro Preview 的能力,获得最高质量的输出。
Pro Preview 在获得详细上下文时表现最佳。请包含相关背景信息,指定期望的输出格式,并清楚说明你的要求。该模型能够处理复杂指令,并会精准遵循。
利用 2M token 上下文窗口处理复杂任务。可以包含完整文档、多个示例或详细参考资料。Pro Preview 能在海量输入中保持连贯性,并生成更准确、更具上下文感知能力的响应。
对于需要准确性和一致性的任务(代码生成、数据分析、技术写作),建议使用 temperature 0.3-0.5。将较高 temperature(0.8-1.0)保留给需要变化性的创意任务。
构建能够处理复杂业务查询、分析文档并提供专家级指导的高级 AI 助手。Pro Preview 的高级推理能力可针对跨领域的多维问题给出细致回答。
为研究类应用提供支持,用于分析科学论文、综合多个来源的信息,并生成全面的文献综述。扩展上下文窗口支持处理完整的研究语料库。
创建 AI 驱动的开发工具,理解复杂代码库、生成生产级代码、执行全面代码审查,并辅助架构决策。Pro Preview 可在上下文中处理完整代码仓库。
生成高质量专业内容,包括技术文档、商业报告、教育材料和营销文案。Pro Preview 能生成细致、结构清晰且适合专业发布的输出。
apipass.dev 提供对 Gemini 3 Pro Preview(Google 旗舰级 AI 模型)的直接访问。通过简单统一的 API,体验业界领先的推理、多模态理解和内容生成能力。
通过透明的 credits 系统,仅为实际使用付费。Pro Preview 的定价反映其先进能力,同时保持竞争力。你可以通过 dashboard 实时监控使用情况。
为专业应用而构建,具备高可用性、稳定性能和企业级安全性。我们的基础设施可确保你的关键任务应用可靠访问 Pro Preview。
所有 API 都需要通过 Bearer Token 进行身份验证。
Authorization: Bearer
使用 Gemini 3 Pro Preview 生成聊天补全响应
该 API 接受遵循 OpenAI chat completions 格式的 JSON 请求体:
1{
2 "model": "gemini-3-pro-preview",
3 "messages": [
4 {
5 "role": "system",
6 "content": "You are an expert analyst."
7 },
8 {
9 "role": "user",
10 "content": "Analyze this complex problem..."
11 }
12 ],
13 "stream": false,
14 "temperature": 0.7,
15 "max_tokens": 8192,
16 "channel": "auto"
17}model必填string用于生成补全结果的模型 ID
"gemini-3-pro-preview"
messages必填array表示对话历史的消息对象数组
[{"role": "user", "content": "Analyze this..."}]stream可选boolean是否以流式方式返回响应。默认为 false。
false
temperature可选number采样温度,取值范围为 0 到 2。较低的值更适合精确输出,较高的值更适合创意输出。
0.7
max_tokens可选integer要生成的最大 token 数。Pro Preview 最多支持 65536 个输出 token。
8192
top_p可选number核采样参数,取值范围为 0 到 1。
0.95
frequency_penalty可选number频率惩罚,取值范围为 -2 到 2,用于减少重复。
0
presence_penalty可选number存在惩罚,取值范围为 -2 到 2,用于鼓励主题多样性。
0
channel可选string你可以通过 channel 参数在 APIPASS 中指定对应的提供商;这些提供商会处理实际的图片和视频生成任务。APIPASS 目前提供三种提供商选项:
channel 参数的默认值为 auto。启用后,APIPASS 会根据实时价格和稳定性指标,在可用提供商之间自动分配任务,以平衡最低成本与可靠性能。除非你有自定义路由需求,否则请保留默认值 auto。
可用选项:
auto
messages 数组中的每条消息都具有以下结构:
role必填string消息作者的角色:'system'、'user' 或 'assistant'
可用选项:
"user"
content必填string | array消息内容。可以是纯文本的字符串,也可以是用于多模态内容的数组。
"Analyze the following data..."
content[].type必填string用于多模态内容:'text' 或 'image_url'
使用 'image_url' 传入图片、视频和音频 URL
"image_url"
content[].text可选string当 type 为 'text' 时的文本内容
"Analyze this image in detail"
content[].image_url.url可选string媒体(图片/视频/音频)的 URL 或 base64 data URI
支持 HTTP URL 或 data:mime/type;base64,... 格式
"https://example.com/image.jpg"
1# Simple text request
2curl -X POST "https://api.apipass.dev/v1/chat/completions" \
3 -H "Content-Type: application/json" \
4 -H "Authorization: Bearer YOUR_API_KEY" \
5 -d '{
6 "model": "gemini-3-pro-preview",
7 "messages": [
8 {"role": "user", "content": "What are the three laws of robotics?"}
9 ],
10 "temperature": 0.7,
11 "max_tokens": 1024
12 }'
13
14# Multimodal analysis with image
15curl -X POST "https://api.apipass.dev/v1/chat/completions" \
16 -H "Content-Type: application/json" \
17 -H "Authorization: Bearer YOUR_API_KEY" \
18 -d '{
19 "model": "gemini-3-pro-preview",
20 "messages": [{
21 "role": "user",
22 "content": [
23 {"type": "text", "text": "Analyze this architectural diagram. Identify potential bottlenecks and suggest optimizations."},
24 {"type": "image_url", "image_url": {"url": "https://example.com/architecture.png"}}
25 ]
26 }],
27 "temperature": 0.7,
28 "max_tokens": 4096
29 }'
30
31# Multi-turn conversation with streaming
32curl -X POST "https://api.apipass.dev/v1/chat/completions" \
33 -H "Content-Type: application/json" \
34 -H "Authorization: Bearer YOUR_API_KEY" \
35 -d '{
36 "model": "gemini-3-pro-preview",
37 "messages": [
38 {"role": "user", "content": "What is 2+2?"},
39 {"role": "assistant", "content": "2+2 equals 4."},
40 {"role": "user", "content": "And if we multiply that by 3?"}
41 ],
42 "stream": true,
43 "max_tokens": 256
44 }'1{
2 "id": "chatcmpl-1737936000",
3 "object": "chat.completion",
4 "created": 1737936000,
5 "model": "gemini-3-pro-preview",
6 "choices": [
7 {
8 "index": 0,
9 "message": {
10 "role": "assistant",
11 "content": "# High-Frequency Trading Platform Architecture\n\n## Executive Summary\nDesigning a system for 1M TPS requires careful consideration of...\n\n## Core Architecture\n\n### 1. Event-Driven Design\nImplement LMAX Disruptor pattern for ultra-low latency...\n\n### 2. Data Layer\n- In-memory data grids (Hazelcast/Ignite)\n- Time-series databases for market data...\n\n### 3. Risk Management\nReal-time risk calculations using FPGA acceleration...\n\n## Detailed Recommendations\n[Comprehensive technical analysis continues...]"
12 },
13 "finish_reason": "stop"
14 }
15 ],
16 "usage": {
17 "prompt_tokens": 86,
18 "completion_tokens": 1247,
19 "total_tokens": 1333
20 }
21}id补全结果的唯一标识符
object对象类型,始终为 'chat.completion'
created补全结果创建时间的 Unix 时间戳
model用于生成补全结果的模型
choices补全候选结果数组(通常为一个)
choices[].message生成的消息,包含 role 和 content
choices[].finish_reason生成停止的原因:'stop'、'length' 等
usage用于计费的 token 使用统计

xAI
xAI
起价
0 积分
OpenAI
OpenAI
GPT-5.6 models shared by Codex-compatible clients and direct API callers.
起价
0 积分
Anthropic
Anthropic
Upgrade to Fable 5.1 for sharper, more natural responses with improved context awareness and refined writing quality.
起价
0 积分
OpenAI
OpenAI
GPT‑6 Astra brings together years of research and big bets across pre-training, reinforcement learning, and alignment
起价
0 积分
Anthropic
Anthropic
Harness Fable 5 to turn raw ideas into vivid, natural-sounding text across any creative or conversational task.
起价
0 积分
Anthropic
Anthropic
Deploy Opus 4.8's advanced cognitive architecture to tackle your most complex reasoning and multi-step problem-solving challenges.
起价
0 积分
Anthropic
Anthropic
Trust Opus 5 for deep, nuanced reasoning on your hardest analytical, coding, and research problems.
起价
0 积分
Anthropic
Anthropic
Choose Sonnet 5 for stronger reasoning, nuanced conversation, and reliable, safety-optimized performance across everyday tasks.
起价
0 积分
Anthropic
Anthropic
起价
0 积分
OpenAI
OpenAI
起价
0 积分
Gemini 3 Flash Preview - Fast Response Preview
起价
0 积分
OpenAI
OpenAI
Orchestrate autonomous AI agents with GPT-5.5 API.
起价
0 积分Anthropic
Anthropic
Choose Haiku 5.5 for fast, cost-efficient responses and everyday tasks, with Claude Messages API support.
起价
0 积分