Aller au contenu
Alpha
  • Modèles
  • Classements
  • Ori
Contacter l’équipe commerciale

Pied de page

OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Produit

  • Chat
  • Classements
  • Évaluations comparatives
  • Applications
  • Découvrir
  • Modèles
  • Ori
  • Collections
  • Fournisseurs
  • Outils
  • Tarifs
  • Business
  • Enterprise
  • Laboratoire

Entreprise

  • À propos
  • Blog
  • Clients
  • Carrières
    Recrutement
  • Confidentialité
  • Conditions d’utilisation
  • Centre de confiance
  • Assistance
  • Compatible avec OR
  • Données
  • Marque

Développeur

  • Documentation
  • Référence de l’API
  • Plateforme pour développeurs
  • Statut
  • Plan du site pour l’IA

Connecter

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon de google

Google: Gemma 4 31B

google/gemma-4-31b-it

Poids du modèle
Comparer

Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function calling, and multilingual support across 140+ languages. Strong on coding, reasoning, and document understanding tasks. Apache 2.0 license.

Modalités
Prix en entrée / sortie
0,10 $US / 0,34 $USpar 1M
Contexte
262K
Publié
2 avr. 2026
Comparer
FournisseursTarificationPerformancesDisponibilitéÉvaluations comparativesApplicationsActivitéFAQExplorer

Fournisseurs

Différentes entreprises hébergent le même modèle. OpenRouter achemine votre requête vers l’une d’elles selon le mode de routage choisi — Balanced (prix + vitesse), Nitro (le plus rapide) ou Floor (le moins cher).

Tarification

Le prix moyen que les clients paient réellement pour ce modèle, à côté des prix affichés par les fournisseurs. Grâce à la mise en cache et aux remises, le prix réellement payé est souvent bien inférieur au prix affiché.

Performances

Le débit est la vitesse à laquelle le modèle écrit (jetons par seconde — plus il est élevé, mieux c’est). La latence est le temps total d’aller-retour (plus il est faible, mieux c’est). Le TTFT est le délai avant le premier jeton — le temps avant de voir quelque chose apparaître (plus il est faible, mieux c’est).

Disponibilité

La disponibilité correspond au pourcentage des 3 derniers jours pendant lequel au moins un fournisseur répondait aux requêtes. La disponibilité du service correspond au pourcentage de temps pendant lequel l’inférence a été assurée avec succès. OpenRouter surveille en continu les fournisseurs et utilise le meilleur fournisseur suivant lorsque l’un d’eux renvoie une erreur.

Évaluations comparatives

Scores aux évaluations standardisées et réponses de ce modèle aux prompts communs des tests de référence. Des pourcentages plus élevés sont meilleurs — et chaque rang indique la position de ce modèle parmi les modèles évalués sur cette source.

Résumé des scores aux tests de performance pour Google: Gemma 4 31B (Artificial Analysis et Vals AI)
SourceTest de performanceScore
Artificial AnalysisGemma 4 31B (Non-reasoning) Coding Index33,2
Artificial AnalysisGemma 4 31B (Non-reasoning) GPQA Diamond76.3%
Artificial AnalysisGemma 4 31B (Non-reasoning) HLE11.8%
Artificial AnalysisGemma 4 31B (Non-reasoning) IFBench53.5%
Artificial AnalysisGemma 4 31B (Non-reasoning) τ²-Bench Telecom65.5%
Artificial AnalysisGemma 4 31B (Non-reasoning) AA-LCR46.7%
Artificial AnalysisGemma 4 31B (Non-reasoning) τ-Bench Banking8.9%
Artificial AnalysisGemma 4 31B (Non-reasoning) GDPval-AA2.7%
Artificial AnalysisGemma 4 31B (Non-reasoning) CritPt0.0%
Artificial AnalysisGemma 4 31B (Non-reasoning) Terminal-Bench Hard30.3%
Artificial AnalysisGemma 4 31B (Non-reasoning) Terminal-Bench 2.129.2%
Artificial AnalysisGemma 4 31B (Reasoning) Coding Index43,4
Artificial AnalysisGemma 4 31B (Reasoning) Agentic Index4,2
Artificial AnalysisGemma 4 31B (Reasoning) GPQA Diamond85.7%
Artificial AnalysisGemma 4 31B (Reasoning) HLE23.6%
Artificial AnalysisGemma 4 31B (Reasoning) IFBench75.6%
Artificial AnalysisGemma 4 31B (Reasoning) τ²-Bench Telecom59.9%
Artificial AnalysisGemma 4 31B (Reasoning) AA-LCR69.7%
Artificial AnalysisGemma 4 31B (Reasoning) τ-Bench Banking14.8%
Artificial AnalysisGemma 4 31B (Reasoning) GDPval-AA6.3%
Artificial AnalysisGemma 4 31B (Reasoning) CritPt1.4%
Artificial AnalysisGemma 4 31B (Reasoning) SciCode45.5%
Artificial AnalysisGemma 4 31B (Reasoning) Terminal-Bench Hard36.4%
Artificial AnalysisGemma 4 31B (Reasoning) Terminal-Bench 4.00.0%
Artificial AnalysisGemma 4 31B (Reasoning) Terminal-Bench 2.143.4%
Artificial AnalysisGemma 4 31B (Reasoning) AA-Omniscience Accuracy19.9%
Artificial AnalysisGemma 4 31B (Reasoning) AA-Omniscience Non-Hallucination Rate14.5%
Vals AIGemma 4 31B IT CaseLaw v252.6%
Vals AIGemma 4 31B IT Finance Agent v1.150.8%
Vals AIGemma 4 31B IT MortgageTax61.4%
Vals AIGemma 4 31B IT SAGE82.8%
Vals AIGemma 4 31B IT Terminal-Bench 2.039.3%

Applications

Applications publiques qui envoient le plus de trafic à ce modèle. Un bon indicateur des charges de travail réelles en production — et un aperçu des cas d’usage auxquels ce modèle convient le mieux.

Activité

Volume de jetons et trafic des requêtes vers ce modèle au fil du temps.

API

Code prêt à l’emploi pour appeler ce modèle. L’API d’OpenRouter est compatible avec OpenAI — la plupart des SDK fonctionnent en remplaçant simplement l’URL de base. Seul le slug du modèle ci-dessous change d’un modèle à l’autre.

Actuellement indisponible via le routage dans la région UE. Documentation sur le routage intrarégional

Explorer d’autres modèles

Modèles d’IA avec vision : LLM multimodaux pour la compréhension d’imagesCollectionClassements des modèles d’IAClassement
Latence / débit
0,100 $US0,340 $US0,1000 $US0,66s43 tps
99,90 %
0,150 $US0,400 $US0,0600 $US1,05s21 tps
99,26 %
0,200 $US0,400 $US--0,71s26 tps
100,00 %
0,140 $US0,400 $US0,0500 $US1,83s19 tps
99,13 %
0,750 $US1,000 $US0,2000 $US0,07s218 tps
100,00 %
Priority
0,300 $US0,600 $US--0,96s25 tps
99,27 %
0,750 $US1,000 $US0,2500 $US2,57s21 tps
98,25 %
0,140 $US0,400 $US--0,96s109 tps
99,93 %
Turbo
0,135 $US0,510 $US0,0750 $US0,51s47 tps
99,97 %
0,150 $US0,400 $US0,0600 $US0,59s31 tps
100,00 %
0,140 $US0,400 $US0,1400 $US0,44s62 tps
96,49 %
0,185 $US0,311 $US0,0930 $US0,43s37 tps
99,68 %
5% off
0,38 $US0,361 $US1,15 $US1,093 $US0,19 $US0,1805 $US0,57s24 tps
98,67 %
0,120 $US0,370 $US0,0120 $US3,52s16 tps
98,78 %
0,120 $US0,360 $US0,0900 $US0,70s42 tps
99,90 %
0,140 $US0,400 $US--0,84s33 tps
87,86 %
0,380 $US1,150 $US--3,40s146 tps
83,38 %
Non utilisé pour le routage Standard :Pourquoi ces points de terminaison ne sont pas utilisés
Flex
0,160 $US0,320 $US--2,71s25 tps
100,00 %
Débit
218jetons/s

P50, meilleur résultat tous fournisseurs confondus

Latence
0,07s

P50, meilleur fournisseur

Évaluations comparatives AutoExacto
GPQA DiamondTAU-BenchPrime Intellect84,1 %--DeepInfra (fp8)85,0 %78,0 %SambaNova85,0 %76,6 %SiliconFlow85,8 %75,1 %DeepInfra (fp4)84,6 %76,2 %ModelRun [by Modular]84,9 %75,4 %
+11 fournisseurs supplémentaires
Disponibilité (3 j)Le modèle était joignable. Requête acheminée vers un fournisseur.
100,00 %
Disponibilité (3 j)Le modèle a renvoyé un résultat d’inférence, quel que soit le fournisseur. Les erreurs et les réponses vides sont comptabilisées à son détriment.
99,95 %

Disponibilité au cours des 3 derniers jours

72 dernières heures
Disponibilité 99,95 %
Il y a 3 joursIl y a 2 joursHierMaintenant

Disponibilité au cours des dernières 24 heures

OpenRouter Availability
99,93 %
Without Routing
96,65 %

Lorsqu’une erreur survient chez un fournisseur en amont, nous pouvons rétablir le service en routant la requête vers un autre fournisseur opérationnel, si les filtres de votre requête le permettent. Vous pouvez accéder par programmation aux données de disponibilité de chaque fournisseur via l’ API des points de terminaison. Découvrez nos options d’ équilibrage de charge et de routage des fournisseurs.

1.
Favicon de https://www.mydreamcompanion.com/
My Dream Companion
nouveau
41,7Bjetons
2.
Favicon de https://fiveblocks.com/
AIQ prompt eval
nouveau
27,3Bjetons
3.
Favicon de https://raylu.ai/
Raylu
nouveau
23,1Bjetons
4.
Favicon de https://github.com/SkyrimNet-GamePlugin
SkyrimNet
nouveau
20,6Bjetons
5.
Favicon de https://kime.ai/
Kime
nouveau
19,1Bjetons

Questions fréquentes

Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function calling, and multilingual support across 140+ languages. Strong on coding, reasoning, and document understanding tasks. Apache 2.0 license.

Gemma 4 31B coûte 0,10 $US/M de jetons d’entrée et 0,34 $US/M de jetons de sortie, avec des tarifs distincts pour Cache Read à 0,10 $US/M tokens.

Gemma 4 31B dispose d’une fenêtre de contexte de 262 144 jetons. Il prend en charge jusqu’à 262 144 jetons de complétion.

Oui. Gemma 4 31B accepte tools et tool_choice pour l’appel de fonctions. Il prend également en charge les sorties structurées via un schéma JSON dans response_format.

Gemma 4 31B accepte images, texte et vidéo en entrée et renvoie texte.

Gemma 4 31B est proposé par 15 fournisseurs sur OpenRouter : CoreWeave, Venice, Chutes, DeepInfra (fp8), DekaLLM, Crusoe, Friendli, NovitaAI et 7 de plus. Les requêtes sont acheminées vers le meilleur fournisseur disponible, avec un basculement automatique vers les autres, et vous pouvez fixer ou exclure des fournisseurs avec le routage des fournisseurs.

Gemma 4 31B est sorti le 2 avril 2026.

Autres modèles de Google

Gemini 4 Argon

Gemini 4 Argon is Google's flagship reasoning model, built for complex software engineering, deep mathematical and scientific problem solving, and autonomous multi-step agents. Google trained it to keep context across long, multi-step tasks and to turn long documents mixing text, tables, charts and images into a single grounded output. It leads the Vals Index across finance, legal, coding and tax work, and supports long decode of up to 1M output tokens in a single response.

TexteContexte de 1,0M2 $US / 10 $US
Gemini 4 Argon (batch)

Gemini 4 Argon is Google's flagship reasoning model, built for complex software engineering, deep mathematical and scientific problem solving, and autonomous multi-step agents. Google trained it to keep context across long, multi-step tasks and to turn long documents mixing text, tables, charts and images into a single grounded output. It leads the Vals Index across finance, legal, coding and tax work, and supports long decode of up to 1M output tokens in a single response.

TexteContexte de 1,0M1 $US / 5 $US
Nano Banana 2.1

Nano Banana 2.1 (Gemini Nano Banana 2.1) is Google's image generation and editing model on the Flash tier, succeeding Nano Banana 2 and Nano Banana Pro. It improves product recontextualization, mask- and ink-based editing, and factual accuracy, and renders photorealistic skin tones, detailed materials, lighting, and coherent backgrounds. It accepts text and image inputs, returns images with optional text, and supports 1K, 2K, and 4K output plus extended aspect ratios via the image_config API Parameter.

ImageContexte de 66K1,50 $US / 30 $US
Gemini 3.5 Transcribe

Gemini 3.5 Transcribe is a speech-to-text model from Google. It is suited for synchronous transcription that needs word-level timestamps or speaker diarization, with support for up to eight speakers. Audio can be up to one hour, or 30 minutes when timestamps or diarization are enabled.

Transcription2 $US / 12 $US
Gemini 3.8 Flash Lite TTS

Gemini 3.8 Flash Lite TTS is a text-to-speech model from Google and the fast, high-throughput member of the 3.8 TTS family alongside Gemini 3.8 Flash TTS. It is suited for conversational voice-agent pipelines, high-volume read-aloud, and voice replication workloads where latency and cost matter more than maximum expressiveness.

It accepts the same speech configuration as Gemini 3.1 Flash TTS Preview, including the 30 prebuilt studio voices, and supports Google's Voice Design and Voice Replication through voice_... identifiers.

Parole0,50 $US / 6 $US
Gemini 3.8 Flash TTS

Gemini 3.8 Flash TTS is a text-to-speech model from Google and the successor to Gemini 3.1 Flash TTS Preview. It is the creative tier of the 3.8 TTS family, suited for narration, character work, and multi-speaker dialogue where voice fidelity, acting nuance, and regional dialect coverage matter more than latency.

It accepts the same speech configuration as its predecessor, including the 30 prebuilt studio voices, and supports Google's Voice Design (custom voices from a text description) and Voice Replication (voices cloned from a short sample) through voice_... identifiers.

Parole0,50 $US / 9 $US
Gemini 3.8 Flash

Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning.

TexteContexte de 1,0M0,75 $US / 3,75 $US
Gemini 3.8 Flash (batch)

Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning.

TexteContexte de 1,0M0,375 $US / 1,875 $US
Gemini 3.7 Flash

Gemini 3.7 Flash is a multimodal model from Google for fast agentic workflows, coding, and complex multi-step reasoning. It is designed for tasks that require responsive performance and reliable multi-step problem solving.

TexteContexte de 1,0M0,75 $US / 3,75 $US
Gemini 3.7 Flash (batch)

Gemini 3.7 Flash is a multimodal model from Google for fast agentic workflows, coding, and complex multi-step reasoning. It is designed for tasks that require responsive performance and reliable multi-step problem solving.

TexteContexte de 1,0M0,375 $US / 1,875 $US
Gemini 3.6 Flash

Gemini 3.6 Flash is a high-efficiency model from Google for coding, agentic workflows, and web and app development. It is designed to produce polished outputs with fewer unnecessary edits and less hedging, while reducing token use and the number of model calls needed to complete a task.

TexteContexte de 1,0M0,75 $US / 3,75 $US
Gemini 3.6 Flash (batch)

Gemini 3.6 Flash is a high-efficiency model from Google for coding, agentic workflows, and web and app development. It is designed to produce polished outputs with fewer unnecessary edits and less hedging, while reducing token use and the number of model calls needed to complete a task.

TexteContexte de 1,0M0,375 $US / 1,875 $US
Gemini 3.5 Flash Lite

Gemini 3.5 Flash Lite is a high-efficiency model from Google with upgraded agentic capabilities. It is suited for subagents that execute focused tasks within complex, multi-agent workflows.

TexteContexte de 1,0M0,30 $US / 2,50 $US
Gemini 3.5 Flash Lite (batch)

Gemini 3.5 Flash Lite is a high-efficiency model from Google with upgraded agentic capabilities. It is suited for subagents that execute focused tasks within complex, multi-agent workflows.

TexteContexte de 1,0M0,15 $US / 1,25 $US
Nano Banana 2 Lite

Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) is Google's fastest, most cost-efficient Gemini image model, built for high-velocity developer pipelines and rapid-fire visual exploration. It delivers text-to-image generation in roughly 4 seconds — about 2.7× faster than Gemini 3.1 Flash Image — while keeping the character consistency, precise editing, and real-world knowledge of the Nano Banana family.

A single drop-in API handles text-to-image, image editing, and multi-image composition. As a multimodal model it also returns text alongside images. Outputs are generated at 1K resolution across 14 aspect ratios and carry an invisible SynthID watermark so they can be identified as AI-generated.

Positioned as the best balance of quality and speed in the Nano Banana 2 line, it lets you generate thousands of images at a fraction of the cost of heavier production models — ideal for prototyping, real-time apps, and visual workflows at scale.

ImageContexte de 66K0,25 $US / 30 $US
Nano Banana 2

Gemini 3.1 Flash Image, a.k.a. "Nano Banana 2," is Google’s latest state of the art image generation and editing model, delivering Pro-level visual quality at Flash speed. It combines advanced contextual understanding with fast, cost-efficient inference, making complex image generation and iterative edits significantly more accessible. Aspect ratios can be controlled with the image_config API Parameter

ImageContexte de 131K0,50 $US / 60 $US
Nano Banana Pro

Nano Banana Pro is Google’s most advanced image-generation and editing model, built on Gemini 3 Pro. It extends the original Nano Banana with significantly improved multimodal reasoning, real-world grounding, and high-fidelity visual synthesis. The model generates context-rich graphics, from infographics and diagrams to cinematic composites, and can incorporate real-time information via Search grounding.

It offers industry-leading text rendering in images (including long passages and multilingual layouts), consistent multi-image blending, and accurate identity preservation across up to five subjects. Nano Banana Pro adds fine-grained creative controls such as localized edits, lighting and focus adjustments, camera transformations, and support for 2K/4K outputs and flexible aspect ratios. It is designed for professional-grade design, product visualization, storyboarding, and complex multi-element compositions while remaining efficient for general image creation workflows.

ImageContexte de 131K2 $US / 120 $US
Gemini Embedding 2

Gemini Embedding 2 is Google's first multimodal embedding model. We currently support mapping text and images into a unified vector space for semantic search and retrieval-augmented generation (RAG). It supports input context up to 8,192 tokens and flexible output dimensions from 128 to 3,072 (recommended: 768, 1536, or 3,072). Designed for cross-modal similarity — you can embed a text query and retrieve the most relevant images, or vice versa — making it well-suited for multimodal search, recommendation, and document understanding pipelines.

Plongements vectoriels0,20 $US/M tokens
Gemini Embedding 2 (batch)

Gemini Embedding 2 is Google's first multimodal embedding model. We currently support mapping text and images into a unified vector space for semantic search and retrieval-augmented generation (RAG). It supports input context up to 8,192 tokens and flexible output dimensions from 128 to 3,072 (recommended: 768, 1536, or 3,072). Designed for cross-modal similarity — you can embed a text query and retrieve the most relevant images, or vice versa — making it well-suited for multimodal search, recommendation, and document understanding pipelines.

Plongements vectoriels0,10 $US/M tokens
Gemini 3.5 Flash

Gemini 3.5 Flash is Google's high-efficiency multimodal model, bringing near-Pro level coding and reasoning at Flash-tier cost and speed. It is highly optimized for coding proficiency and parallel agentic execution loops, supporting text, image, video, audio, and PDF inputs.

Defaults to medium thinking effort for faster and more cost-efficient responses, with full support for thinking levels (minimal, low, medium, high) for fine-grained cost/performance trade-offs.

TexteContexte de 1,0M1,50 $US / 9 $US