ToolKiti
Home/大语言模型/Google Gemini API

Google Gemini API

Google Gemini 接口

Access Gemini 2.0 Flash, Pro, and Ultra models with native multimodal and tool-use support.

调用 Gemini 2.0 Flash、Pro 和 Ultra 模型,原生支持多模态和工具调用。

Pricing

free tier available, pay-as-you-go

Authentication

  • API Key

Rate Limit

1500 req/min (paid tier)

Typical Latency

<600ms (Gemini 2.0 Flash)

Max Context

1M (Gemini 1.5 Pro)

Popularity

85/100

Endpoints

https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent

SDKs

PythonNode.jsGoSwiftcurl

Key Features

Code Examples

Generate Contentbash
curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key=$GEMINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [{"parts": [{"text": "Hello!"}]}]
  }'

Tags

llmmultimodalvision

Last updated: 2026-07-27

Compare Google Gemini API with other APIs

Similar APIs

Something wrong or missing? Open an issue on GitHub →

Pricing Comparison

APIPricingAuthPopularity
OpenAI APIpay-as-you-go (per token)API Key (Bearer Token)
100
Anthropic Claude APIpay-as-you-go (per token)API Key (x-api-key header)
87
OpenAI Assistants APIpay-as-you-go (per token + per tool use)API Key (Bearer Token)
84
DeepSeek APIpay-as-you-go (per token, very low cost)API Key
83

Get Started with Google Gemini API

Click below to visit the official website and start using this API.

Visit Google Gemini API →

Discussion

Questions, feedback, or suggestions? Start a discussion.

Discuss on GitHub