Google👁️ Vision🎤 Audio
Google: Gemini 2.0 Flash
Gemini Flash 2.0 offers a significantly faster time to first token (TTFT) compared to [Gemini Flash 1.5](/google/gemini-flash-1.5), while maintaining quality on par with larger models like [Gemini Pro 1.5](/google/gemini-pro-1.5). It introduces notable enhancements in multimodal understanding, coding capabilities, complex instruction following, and function calling. These advancements come together to deliver more seamless and robust agentic experiences.
OpenRouter 원가 (1M 토큰)
입력$0.100
출력$0.400
합계$0.500
인보이스랩 (월 예상)
입력 0.5M + 출력 0.5M 기준
공급가액₩411
부가세 (10%)₩41
결제 금액₩453
💡 부가세 ₩41 매입공제 가능
모델 정보
기본 정보
| 모델 ID | google/gemini-2.0-flash-001 |
| 제공사 | |
| 컨텍스트 윈도우 | 1,048,576 토큰 |
| 모달리티 | text+image+file+audio+video->text |
지원 기능
👁️ 이미지 분석🎤 오디오 처리⚡ Function Calling📋 Structured Output📄 JSON Mode🌡️ 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/gemini-2.0-flash-001",
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/gemini-2.0-flash-001',
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/gemini-2.0-flash-001",
"messages": [{"role": "user", "content": "안녕하세요"}]
}'💡 Tip: OpenAI SDK를 그대로 사용할 수 있습니다.base_url만 변경하면 됩니다!