Gemini 3.1 Pro is live on AI Gateway

Published: (February 19, 2026 at 08:00 AM EST)
1 min read

Source: Vercel Blog

Feb 19 2026 · 1 min read

Gemini 3.1 Pro Preview now on AI Gateway

Google’s Gemini 3.1 Pro Preview is available through AI Gateway. The release brings quality improvements for software‑engineering and agentic workflows, with better usability in finance and spreadsheet tasks. It also reduces token consumption while maintaining performance.

Using the model

Set the model identifier to google/gemini-3.1-pro-preview in the AI SDK. The model supports the medium thinking level for finer control over cost, performance, and speed.

import { streamText } from 'ai';

const result = streamText({
  model: 'google/gemini-3.1-pro-preview',
  prompt: `Review this pull request for security vulnerabilities,
           suggest fixes, and update the test suite to cover edge cases.`,
  providerOptions: {
    google: {
      thinking_level: 'medium',
    },
  },
});

AI Gateway features

AI Gateway offers a unified API for:

  • Calling models and tracking usage/cost
  • Configuring retries, failover, and performance optimizations for higher‑than‑provider uptime
  • Built‑in observability
  • Bring Your Own Key support
  • Intelligent provider routing with automatic retries

Resources

0 views
Back to Blog

Related posts

Read more »

구글, 제미나이 3.1 프로 발표

!https://cdn.byline.network/wp-content/uploads/2026/02/gemini-3.1_pro_meta_dark.width-2200.format-webp.jpg 발표 개요 구글은 2월 19일현지시간 프론티어 AI 모델의 최신 버전인 제미나이 3.1 프로를...