Seedance 2.0 | Special Offer ✦ 10% OFF NOW
google
google/gemini-3.1-pro-preview

google/gemini-3.1-pro-preview

1,048,576 context · $2.00/M input tokens · $12.00/M output tokens

Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation of the Gemini 3 series, it combines high-precision reasoning across text, image, video, audio, and code with a 1M-token context window. Reasoning Details must be preserved when using multi-turn tool calling, see our docs here: The 3.1 update introduces measurable gains in SWE benchmarks and real-world coding environments, along with stronger autonomous task execution in structured domains such as finance and spreadsheet-based workflows. Designed for advanced development and agentic systems, Gemini 3.1 Pro Preview improves long-horizon stability and tool orchestration while increasing token efficiency. It introduces a new medium thinking level to better balance cost, speed, and performance. The model excels in agentic coding, structured planning, multimodal analysis, and workflow automation, making it well-suited for autonomous agents, financial modeling, spreadsheet automation, and high-context enterprise tasks.

가격

사용량 기반 과금

선결제 없이 사용한 만큼만 지불

입력
200K $2.00 / M Tokens
> 200K $4.00 / M Tokens
출력
200K $12.00 / M Tokens
> 200K $18.00 / M Tokens

API 사용법

다음 코드 예시를 사용해 API와 연동하세요:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="google/gemini-3.1-pro-preview",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

모델 소개

Google gemini-3.1-pro-preview

Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and m

Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation of the Gemini 3 series, it combines high-precision reasoning across text, image, video, audio, and code with a 1M-token context window. Reasoning Details must be preserved when using multi-turn tool calling, see our docs here: The 3.1 update introduces measurable gains in SWE benchmarks and real-world coding environments, along with stronger autonomous task execution in structured domains such as finance and spreadsheet-based workflows. Designed for advanced development and agentic systems, Gemini 3.1 Pro Preview improves long-horizon stability and tool orchestration while increasing token efficiency. It introduces a new medium thinking level to better balance cost, speed, and performance. The model excels in agentic coding, structured planning, mult


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 1048576 context window for long document handling
  • Competitive pricing at $2.0/$12.0 per million tokens

Key Features

  • Context Window: 1048576 tokens
  • Max Output: 65536 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderGoogle
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window1048576 tokens
Max Output65536 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$2.0
Output$12.0

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: google/gemini-3.1-pro-preview


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="google/gemini-3.1-pro-preview",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "google/gemini-3.1-pro-preview",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: google/gemini-3.1-pro-preview
  • Provider: Google

정보

제공자google
유형llm

지원 기능

입력
텍스트이미지오디오
출력
텍스트
컨텍스트1,048,576
최대 출력65,536
Vision✓ 지원
Function Calling✓ 지원

API 접근 가이드

Base URLhttps://llm.wavespeed.ai/v1
API 엔드포인트chat/completions
모델 IDgoogle/gemini-3.1-pro-preview

Gemini 3.1 Pro Preview API

google/gemini-3.1-pro-preview

Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation of the Gemini 3 series, it combines high-precision reasoning across text, image, video, audio, and code with a 1M-token context window. Reasoning Details must be preserved when using multi-turn tool calling, see our docs here: The 3.1 update introduces measurable gains in SWE benchmarks and real-world coding environments, along with stronger autonomous task execution in structured domains such as finance and spreadsheet-based workflows. Designed for advanced development and agentic systems, Gemini 3.1 Pro Preview improves long-horizon stability and tool orchestration while increasing token efficiency. It introduces a new medium thinking level to better balance cost, speed, and performance. The model excels in agentic coding, structured planning, multimodal analysis, and workflow automation, making it well-suited for autonomous agents, financial modeling, spreadsheet automation, and high-context enterprise tasks.

입력

$2 /M

출력

$12 /M

컨텍스트

1049K

최대 출력

66K

Vision

지원

도구 사용

지원

WaveSpeedAI에서 Gemini 3.1 Pro Preview 체험

통합 API를 통해 Gemini 3.1 Pro Preview 액세스 — OpenAI 호환, 콜드 스타트 없음, 투명한 가격.

Playground 열기

Gemini 3.1 Pro Preview에 대해 자주 묻는 질문

Gemini 3.1 Pro Preview API 비용은 얼마인가요?+

WaveSpeedAI 가격: 입력 토큰 100만 개당 $2.00, 출력 토큰 100만 개당 $12.00. 프롬프트 캐싱과 배치 처리는 별도로 청구되며 긴 반복 작업에서 실질 비용을 줄여 줍니다.

Gemini 3.1 Pro Preview의 컨텍스트 윈도우는 얼마나 되나요?+

Gemini 3.1 Pro Preview은 요청당 최대 1049K 컨텍스트 토큰과 최대 66K 출력 토큰을 지원합니다.

Gemini 3.1 Pro Preview은 OpenAI 호환인가요?+

네. WaveSpeedAI는 OpenAI 호환 엔드포인트 https://llm.wavespeed.ai/v1을 통해 Gemini 3.1 Pro Preview을 제공합니다. 공식 OpenAI SDK의 base URL을 이 주소로 변경하고 WaveSpeedAI API 키를 사용하면 코드 변경 없이 사용할 수 있습니다.

Gemini 3.1 Pro Preview을 어떻게 시작하나요?+

WaveSpeedAI에 로그인하고 Access Keys에서 API 키를 만든 다음, 위에 표시된 모델 ID로 https://llm.wavespeed.ai/v1/chat/completions에 요청을 보내세요. 신규 계정은 Gemini 3.1 Pro Preview을 평가할 수 있는 무료 크레딧을 받습니다.

관련 LLM API