BazaarLinkBazaarLink
Sign in

Gemma 4 31b It API Pricing & Quick Start

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...

Pricing

Input Price
$0.1400
/ 1M tokens
NT$ 5
Output Price
$0.4000
/ 1M tokens
NT$ 13
Context Window
262K
tokens

💱 USD/NTD = 32.38 · before tax · updated 07/30/2026

ProviderGoogle
ReleasedApril 2026
Model IDgoogle/gemma-4-31b-it

Technical specifications

Context window
262K tokens
Reasoning
Yes
Input
ImageTextVideo
Output
Text

Quick Start

Use Gemma 4 31b It via BazaarLink API — just change the base_url:

Python
from openai import OpenAI

client = OpenAI(
    base_url="https://bazaarlink.ai/api/v1",
    api_key="sk-bl-YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="google/gemma-4-31b-it",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
TypeScript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://bazaarlink.ai/api/v1",
  apiKey: "sk-bl-YOUR_API_KEY",
});

const response = await client.chat.completions.create({
  model: "google/gemma-4-31b-it",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Why use Gemma 4 31b It via BazaarLink?

  • USD billing (TWD-quoted) + unified invoices — no foreign credit card needed for Taiwan teams
  • OpenAI-compatible API — zero code changes required
  • Automatic failover — multi-provider redundancy for the same model
  • Chinese-language support — local team, instant help
Try Now← All Models

Frequently Asked Questions

What is Gemma 4 31b It?

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...

How much does the Gemma 4 31b It API cost?

Gemma 4 31b It costs $0.1400 per 1M input tokens and $0.4000 per 1M output tokens when accessed through BazaarLink.

How do I use Gemma 4 31b It with the OpenAI SDK?

Set base_url to "https://bazaarlink.ai/api/v1" and use model ID "google/gemma-4-31b-it". All OpenAI SDK methods (chat.completions, embeddings, streaming) work without code changes.

What is the context window for Gemma 4 31b It?

Gemma 4 31b It supports a context window of 262,144 tokens.

Is Gemma 4 31b It available for free?

Gemma 4 31b It is a paid model. BazaarLink offers free trial credits on registration so you can test it without a credit card.

Relay integrity checks

Tested endpoints
2 runs
Independent hosts
2
Model-family fingerprint match
0%
Anomalies detected
2 runs
Data range
past 90 days

BazaarLink Probe verifies endpoints that claim to serve this model and flags behavior that differs from the reference baseline.

View the full integrity report →

Related models and links

More from this provider: Google

Gemma 3 4b ItGemini Embedding 2 PreviewGemini 3.1 Pro PreviewGemini 2.5 Flash ImageGemini 3.5 FlashGemini 2.5 Pro Preview
ModelsAPI documentationAPI latency probe
Support
Support
Hi! How can we help you?
Send a message and we'll get back to you soon.