Google Gemma 3 27B Instruct API
Gemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning, and chat capabilities, including structured outputs and function calling. Gemma 3 27B is Google's latest open source model, successor to Gemma 2.
入力: USD 0.12 / 100万トークン; 出力: USD 0.2 / 100万トークン
パブリックID: google-gemma-3-27b-it
モデルタイプ: チャット
ツール呼び出し ビジョン 構造化出力
料金
入力 · USD 0.12 / 100万トークン
出力 · USD 0.2 / 100万トークン
キャッシュ読み取り · USD 0.12 / 100万トークン
キャッシュ書き込み · USD 0.12 / 100万トークン
モデル仕様
- モデルタイプ
- チャット / 画像
- コンテキスト ウィンドウ (トークン)
- 198000
- 最大出力(トークン)
- 16384
- 推理
- サポートされていません
- ツール呼び出し
- 対応
- ビジョン
- 対応
- 構造化出力
- 対応
プライバシー
不明
不明とは、検証済みの service-wide 保証が公開されていないことを意味します。無修正は、すべてのリクエストが成功することを保証するものではありません。
クイックスタート
API キーに対してこのモデルが返されていることを確認し、その機能について文書化された入力オプションを確認してください。
GLOOP_API_BASE に API の URL、GLOOP_API_KEY にサーバー側のキーを設定してください。
curl
curl --fail-with-body "${GLOOP_API_BASE%/}/v1/chat/completions" \
-H "Authorization: Bearer $GLOOP_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"messages": [
{
"content": "Hello",
"role": "user"
}
],
"model": "google-gemma-3-27b-it"
}'Python
import os, json, urllib.request
url = os.environ['GLOOP_API_BASE'].rstrip('/') + "/v1/chat/completions"
headers = {'Authorization': 'Bearer ' + os.environ['GLOOP_API_KEY']}
headers['Content-Type'] = 'application/json'
data = "{\n \"messages\": [\n {\n \"content\": \"Hello\",\n \"role\": \"user\"\n }\n ],\n \"model\": \"google-gemma-3-27b-it\"\n}".encode('utf-8')
request = urllib.request.Request(url, data=data, headers=headers)
with urllib.request.urlopen(request) as response:
print(json.load(response))Node.js
const url = process.env.GLOOP_API_BASE.replace(/\/$/, '') + "/v1/chat/completions";
const headers = { Authorization: `Bearer ${process.env.GLOOP_API_KEY}` };
headers['Content-Type'] = 'application/json';
const response = await fetch(url, { method: 'POST', headers, body: JSON.stringify({
"messages": [
{
"content": "Hello",
"role": "user"
}
],
"model": "google-gemma-3-27b-it"
}) });
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());
実行前にモデルのアクセス権限と料金を確認してください。コピーだけでは API は呼び出されません。
API ガイドを見る · モデルの検出 · SDKの統合 · 請求
よくある質問
Google Gemma 3 27B Instruct — どのモデル ID を使用しますか?
google-gemma-3-27b-it
Google Gemma 3 27B Instruct — このモデルの料金は?
入力: USD 0.12 / 100万トークン; 出力: USD 0.2 / 100万トークン
Google Gemma 3 27B Instruct — 対応する API エンドポイントは?
/v1/chat/completions
Google Gemma 3 27B Instruct — コンテキストウィンドウのサイズは?
198000 トークン
同じカテゴリのモデル
- Google Gemma 4 31B Instruct
- Google Gemma 4 26B A4B Instruct
- Qwen 3.5 9B
- Qwen 3.6 35B A3B
- Qwen 3.8 Flash
- Mistral Small 3.2 24B Instruct