모델/Google/Google: Gemma 2 9B
Google

Google: Gemma 2 9B

8K

Gemma 2 9B by Google is an advanced, open-source language model that sets a new standard for efficiency and performance in its size class. Designed for a wide variety of tasks, it empowers developers and researchers to build innovative applications, while maintaining accessibility, safety, and cost-effectiveness. See the [launch announcement](https://blog.google/technology/developers/google-gemma-2/) for more details. Usage of Gemma is subject to Google's [Gemma Terms of Use](https://ai.google.dev/gemma/terms).

OpenRouter 원가 (1M 토큰)

입력$0.030
출력$0.090
합계$0.120

인보이스랩 (월 예상)

입력 0.5M + 출력 0.5M 기준

공급가액99
부가세 (10%)9
결제 금액109
💡 부가세 ₩9 매입공제 가능

모델 정보

기본 정보

모델 IDgoogle/gemma-2-9b-it
제공사Google
컨텍스트 윈도우8,192 토큰
모달리티text->text

지원 기능

🌡️ Temperature📏 Max Tokens

API 사용법

Python (OpenAI SDK 호환)

from openai import OpenAI

client = OpenAI(
    api_key="your-dream-api-key",
    base_url="https://api.invoicedream.co.kr/v1"
)

response = client.chat.completions.create(
    model="google/gemma-2-9b-it",
    messages=[
        {"role": "user", "content": "안녕하세요"}
    ]
)

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

Node.js / TypeScript

import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'your-dream-api-key',
  baseURL: 'https://api.invoicedream.co.kr/v1'
});

const response = await client.chat.completions.create({
  model: 'google/gemma-2-9b-it',
  messages: [{ role: 'user', content: '안녕하세요' }]
});

console.log(response.choices[0].message.content);

cURL

curl https://api.invoicedream.co.kr/v1/chat/completions \
  -H "Authorization: Bearer your-dream-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-2-9b-it",
    "messages": [{"role": "user", "content": "안녕하세요"}]
  }'

💡 Tip: OpenAI SDK를 그대로 사용할 수 있습니다.base_url만 변경하면 됩니다!

Google: Gemma 2 9B을 세금계산서와 함께

인보이스랩에서 Google: Gemma 2 9B API를 사용하면
계좌이체로 결제하고 전자세금계산서를 받을 수 있습니다.

API 키 발급받기

5분 안에 가입하고 바로 시작하세요. 첫 달 무료 크레딧을 드립니다.