---
title: gemini-3.5-flash API — Gemini 收費詳情與規格 | RunAPI
description: 透過 RunAPI 使用 gemini-3.5-flash，Gemini 系列。按次收費，含 model ID、技術規格與開發者設定指南。
url: https://runapi.ai/zh-HK/models/gemini/3.5-flash.md
canonical: https://runapi.ai/zh-HK/models/gemini/3.5-flash
locale: zh-HK
site: RunAPI
image: https://runapi.ai/assets/opengraph-f702f2b1.png
alternates:
  en: https://runapi.ai/models/gemini/3.5-flash
  zh-CN: https://runapi.ai/zh-CN/models/gemini/3.5-flash
  es: https://runapi.ai/es/models/gemini/3.5-flash
  ja: https://runapi.ai/ja/models/gemini/3.5-flash
  de: https://runapi.ai/de/models/gemini/3.5-flash
  fr: https://runapi.ai/fr/models/gemini/3.5-flash
  pt-BR: https://runapi.ai/pt-BR/models/gemini/3.5-flash
  ko: https://runapi.ai/ko/models/gemini/3.5-flash
  it: https://runapi.ai/it/models/gemini/3.5-flash
  nl: https://runapi.ai/nl/models/gemini/3.5-flash
  pl: https://runapi.ai/pl/models/gemini/3.5-flash
  tr: https://runapi.ai/tr/models/gemini/3.5-flash
  zh-TW: https://runapi.ai/zh-TW/models/gemini/3.5-flash
  zh-HK: https://runapi.ai/zh-HK/models/gemini/3.5-flash
  ar: https://runapi.ai/ar/models/gemini/3.5-flash
  x-default: https://runapi.ai/models/gemini/3.5-flash
model: Gemini
provider: Google
variant_id: gemini-3.5-flash
sdk_model_id: gemini-3.5-flash
modality: text
billing_unit: 1K tokens
status: active
---

> HTML version: https://runapi.ai/zh-HK/models/gemini/3.5-flash
> Site index for agents: https://runapi.ai/llms.txt


# gemini-3.5-flash API

透過 RunAPI 使用 Gemini 系列的 gemini-3.5-flash。按次收費，無需訂閱，失敗的生成不扣費。

**Google / [Gemini](https://runapi.ai/zh-HK/models/gemini.md)**
**可正常運作 · text · 可商用**

gemini-3.5-flash 針對 Gemini 系列中品質與成本的最佳平衡點。

- 按次收費，美元計價
- 生成失敗不收費
- 如模型支援，提供串流輸出
- Model skill setup

## 收費

### `chat_completion`

- Input: $1.50 / 1M tokens
- Output: $9.00 / 1M tokens
- Cache read: $0.15 / 1M tokens

### `stream_generate_content`

- Input: $0.90 / 1M tokens
- Output: $5.40 / 1M tokens
- Cache read: $0.09 / 1M tokens


失敗的生成不會收費

## 技術詳情

| Field | Value |
|---|---|
| 模型 ID | `gemini-3.5-flash` |
| 供應商 | Google |
| 模式 | text |
| 任務類型 | synchronous |
| 計費單位 | 1K tokens |
| API endpoint | `/v1/chat/completions` |
|  | `/v1/responses` |
|  | `/v1/messages` |
|  | `/v1beta/models/gemini-3.5-flash:generateContent` |
|  | `/v1beta/models/gemini-3.5-flash:streamGenerateContent` |
| 商業授權 | 是 — 已透過 API 包含 |
| 目錄狀態 | 可正常運作 |

**Request example**

```json
{
  "model": "gemini-3.5-flash",
  "contents": [
    {
      "parts": [
        {
          "text": "Analyze this codebase and suggest three performance improvements with before/after examples."
        }
      ]
    }
  ]
}
```

## 快速開始 — gemini-3.5-flash

結構一致 · variant 已固定於 model 中

Base URL: `https://runapi.ai`

| Endpoint | Protocol |
|---|---|
| `POST /v1/chat/completions` | OpenAI compatible |
| `POST /v1/responses` | OpenAI Responses |
| `POST /v1/messages` | Anthropic compatible |
| `POST /v1beta/models/gemini-3.5-flash:generateContent` | Gemini generateContent |
| `POST /v1beta/models/gemini-3.5-flash:streamGenerateContent` | Gemini streamGenerateContent |

Use the OpenAI or Anthropic SDK with your RunAPI API key and `model: "gemini-3.5-flash"`.

## 四步使用 gemini-3.5-flash

1. **安裝** — 為此模型系列安裝 model skill。
2. **設定** — 將 model 欄位設為本頁顯示的完整 model ID。
3. **呼叫** — 連同 prompt、inputs 及 callback 設定，送出一個 typed request。
4. **接收** — 從 RunAPI 讀取 task response、webhook callback 或 cached output URL。

## gemini-3.5-flash 有咩不同

- **VS GEMINI-2.5-FLASH: Fast multimodal streaming for high-volume production workloads** — Speed/cost optimized; 1M context; older generation baseline
- **VS GEMINI-2.5-PRO: Fast multimodal streaming for high-volume production workloads** — Best reasoning in 2.5 gen; 1M context
- **VS GEMINI-3-FLASH-PREVIEW: Fast multimodal streaming for high-volume production workloads** — gemini-3-flash-preview

## 最適合

- **客戶支援** — 從私有知識庫回答客戶問題，減少工單數量。
- **文件分析** — 草擬合約摘要，並標示重點條款供律師審閱。
- **程式碼生成** — 在 CI 自動生成單元測試、程式碼審查同重構建議。

## 關於 gemini-3.5-flash 的常見問題

### 模型 ID 會否在不同版本之間保持穩定？

RunAPI 會保持 model ID 穩定，並處理相容的版本更新，而不需要改動你的 request 格式。

### 這個 variant 的 rate limit 係多少？

每個 key 的 rate limit 會按使用層級而定。請查看定價頁了解最新限制。

### 之後可以切換 variant 嗎？

可以——variant 只係一個旗標。只要更改 model 參數就可以切換。

### 支援 streaming 嗎？

在可用 streaming 的情況下，RunAPI 會端到端串流。

### 我應該在邊度回報品質問題？

可以在公開 GitHub repo 開 issue，或者電郵支援團隊。


### Gemini 的其他 variant

- [gemini-2.5-flash](https://runapi.ai/zh-HK/models/gemini/2.5-flash.md) — `gemini-2.5-flash` · Input $0.30 / 1M tokens | Output $2.50 / 1M tokens
- [gemini-2.5-pro](https://runapi.ai/zh-HK/models/gemini/2.5-pro.md) — `gemini-2.5-pro` · Input $1.25-$2.50 / 1M tokens | Output $10.00-$15.00 / 1M tokens
- [gemini-3-flash-preview](https://runapi.ai/zh-HK/models/gemini/3-flash-preview.md) — `gemini-3-flash-preview` · Input $0.50 / 1M tokens | Output $3.00 / 1M tokens · Input $0.30 / 1M tokens | Output $1.80 / 1M tokens
- [gemini-3.1-pro-preview](https://runapi.ai/zh-HK/models/gemini/3.1-pro-preview.md) — `gemini-3.1-pro-preview` · Input $1.00-$2.00 / 1M tokens | Output $7.00-$10.50 / 1M tokens
- [gemini-3.6-flash](https://runapi.ai/zh-HK/models/gemini/3.6-flash.md) — `gemini-3.6-flash` · Input $1.50 / 1M tokens | Output $7.50 / 1M tokens · Input $0.90 / 1M tokens | Output $4.50 / 1M tokens

### 其他模型的替代方案

- [Claude](https://runapi.ai/zh-HK/models/claude.md) — Anthropic's LLM for complex reasoning, code, analysis, and extended-context tasks.
- [DeepSeek](https://runapi.ai/zh-HK/models/deepseek.md) — Reasoning-first LLMs via RunAPI — flash for fast, low-cost work; pro for complex agentic tasks.
- [Embedding](https://runapi.ai/zh-HK/models/embedding.md) — OpenAI 文字嵌入，用於語意搜尋、檢索、分群同排序 workflow。

## 開始用 Gemini 建立產品。

- [建立免費帳戶](https://runapi.ai/zh-HK/login)
- [閱讀快速開始 →](https://runapi.ai/docs/api/gemini/generate-content)

---

## More from RunAPI

- [Home](https://runapi.ai/zh-HK/.md)
- [模型](https://runapi.ai/zh-HK/models.md)
- [AI 影片 API 對比](https://runapi.ai/zh-HK/ai-video-api-comparison.md)
- [OpenClaw 整合](https://runapi.ai/zh-HK/openclaw.md)
- [OpenClaw 最佳 API](https://runapi.ai/zh-HK/best-api-for-openclaw.md)
- [OpenClaw 圖片生成](https://runapi.ai/zh-HK/openclaw-image-generation.md)
- [Hermes Agent 整合](https://runapi.ai/zh-HK/hermes-agent.md)
- [收費](https://runapi.ai/zh-HK/pricing.md)
- [Claude API 定價](https://runapi.ai/zh-HK/claude-api-pricing.md)
- [ChatGPT API 定價](https://runapi.ai/zh-HK/chatgpt-api-pricing.md)
- [OpenAI API 定價](https://runapi.ai/zh-HK/openai-api-pricing.md)
- [Gemini API 定價](https://runapi.ai/zh-HK/gemini-api-pricing.md)
- [Claude Code 定價](https://runapi.ai/zh-HK/claude-code-pricing.md)
- [Claude Code API](https://runapi.ai/zh-HK/claude-code-api.md)
- [Claude Code 對比 Cursor](https://runapi.ai/zh-HK/claude-code-vs-cursor.md)
- [Claude Max 對比 API](https://runapi.ai/zh-HK/claude-max-vs-api.md)
- [Requesty 替代方案](https://runapi.ai/zh-HK/requesty-alternative.md)
- [文件](https://runapi.ai/zh-HK/docs/guides)
- [SDK](https://runapi.ai/zh-HK/sdk.md)
- [Skills](https://runapi.ai/zh-HK/skills.md)
- [MCP Server](https://runapi.ai/zh-HK/mcp.md)
- [CLI](https://runapi.ai/zh-HK/cli.md)
- [意見](https://runapi.makethisbetter.dev)
- [聯絡](mailto:support@runapi.ai)
- [條款](https://runapi.ai/zh-HK/terms.md)
- [私隱](https://runapi.ai/zh-HK/privacy.md)
- [Site index for agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-HK",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/zh-HK/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-HK",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/zh-HKicon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "SoftwareApplication",
    "name": "Gemini gemini-3.5-flash",
    "applicationCategory": "DeveloperApplication"
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://runapi.ai/zh-HK"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Models",
        "item": "https://runapi.ai/zh-HK/models"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Gemini",
        "item": "https://runapi.ai/zh-HK/models/gemini"
      },
      {
        "@type": "ListItem",
        "position": 4,
        "name": "gemini-3.5-flash",
        "item": "https://runapi.ai/zh-HK/models/gemini/3.5-flash"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "HowTo",
    "name": "四步使用 gemini-3.5-flash",
    "description": "透過 RunAPI 使用 gemini-3.5-flash，Gemini 系列。按次收費，含 model ID、技術規格與開發者設定指南。",
    "totalTime": "PT5M",
    "step": [
      {
        "@type": "HowToStep",
        "position": 1,
        "name": "安裝",
        "text": "為此模型系列安裝 model skill。",
        "url": "https://runapi.ai/zh-HK/models/gemini/3.5-flash#how-step-1"
      },
      {
        "@type": "HowToStep",
        "position": 2,
        "name": "設定",
        "text": "將 model 欄位設為本頁顯示的完整 model ID。",
        "url": "https://runapi.ai/zh-HK/models/gemini/3.5-flash#how-step-2"
      },
      {
        "@type": "HowToStep",
        "position": 3,
        "name": "呼叫",
        "text": "連同 prompt、inputs 及 callback 設定，送出一個 typed request。",
        "url": "https://runapi.ai/zh-HK/models/gemini/3.5-flash#how-step-3"
      },
      {
        "@type": "HowToStep",
        "position": 4,
        "name": "接收",
        "text": "從 RunAPI 讀取 task response、webhook callback 或 cached output URL。",
        "url": "https://runapi.ai/zh-HK/models/gemini/3.5-flash#how-step-4"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "模型 ID 會否在不同版本之間保持穩定？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "RunAPI 會保持 model ID 穩定，並處理相容的版本更新，而不需要改動你的 request 格式。"
        }
      },
      {
        "@type": "Question",
        "name": "這個 variant 的 rate limit 係多少？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "每個 key 的 rate limit 會按使用層級而定。請查看定價頁了解最新限制。"
        }
      },
      {
        "@type": "Question",
        "name": "之後可以切換 variant 嗎？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "可以——variant 只係一個旗標。只要更改 model 參數就可以切換。"
        }
      },
      {
        "@type": "Question",
        "name": "支援 streaming 嗎？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "在可用 streaming 的情況下，RunAPI 會端到端串流。"
        }
      },
      {
        "@type": "Question",
        "name": "我應該在邊度回報品質問題？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "可以在公開 GitHub repo 開 issue，或者電郵支援團隊。"
        }
      }
    ]
  }
]
```
