# gemini-3.8-flash

Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning.

Gemini 3.8 Flash 是 Google 最强的 Flash 模型，相较 3.7 Flash 在软件工程、智能体任务和多步推理上有明显提升。

- Provider: Google
- Billing Mode: Pay as you go
- Label: 学术, 金融, 编程, 科学, 技术, 翻译, 搜索优化
- Model ID: `gemini-3.8-flash`
- Web: https://en.llmoxy.com/models/gemini-3.8-flash

## Pricing

Prices are in Chinese yuan (CNY, ￥); pay-as-you-go prices are per 1M tokens.

| Token Group | In | Out | Cache read | vs. official API price |
| --- | --- | --- | --- | --- |
| Gemini | ￥0.375 | ￥1.88 | ￥0.0375 | 92% lower |

Official API price (USD): In $0.75 / 1M tokens, Out $3.75 / 1M tokens, Cache read $0.075 / 1M tokens. “vs. official API price” converts at 1 USD = 7 CNY before comparing.

## Quick start

Set the LLMOXY_KEY environment variable to your API key before running.

### Gemini

#### cURL

```bash
curl "https://llmoxy.com/v1beta/models/gemini-3.8-flash:generateContent" \
  -H "x-goog-api-key: $LLMOXY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [{"parts": [{"text": "Hello"}]}]
  }'
```

#### Python

```python
import os
from google import genai

client = genai.Client(
    api_key=os.environ["LLMOXY_KEY"],
    http_options={"base_url": "https://llmoxy.com"},
)

resp = client.models.generate_content(
    model="gemini-3.8-flash",
    contents="Hello",
)
print(resp.text)
```

#### Node.js

```javascript
import { GoogleGenAI } from "@google/genai";

const ai = new GoogleGenAI({
  apiKey: process.env.LLMOXY_KEY,
  httpOptions: { baseUrl: "https://llmoxy.com" },
});

const resp = await ai.models.generateContent({
  model: "gemini-3.8-flash",
  contents: "Hello",
});
console.log(resp.text);
```

### Chat Completions

#### cURL

```bash
curl https://llmoxy.com/v1/chat/completions \
  -H "Authorization: Bearer $LLMOXY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.8-flash",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
```

## Endpoints

- Gemini: `POST https://llmoxy.com/v1beta/models/gemini-3.8-flash:generateContent`
- Chat Completions: `POST https://llmoxy.com/v1/chat/completions`

## FAQ

### How much does gemini-3.8-flash cost on LLMoxy?

Pay as you go. Price in the “Gemini” token group: In ￥0.375 / 1M tokens, Out ￥1.88 / 1M tokens. That is 92% below the official API price.

### How do I call gemini-3.8-flash?

Create an API key in the LLMoxy console, set model to gemini-3.8-flash, and send the request to: Gemini POST https://llmoxy.com/v1beta/models/gemini-3.8-flash:generateContent, Chat Completions POST https://llmoxy.com/v1/chat/completions. You can also use the OpenAI SDK directly with the base URL set to https://llmoxy.com/v1.

### Which token groups can I use with gemini-3.8-flash?

The token group sets the price you pay: you pick a group when you create an API key in the console, and every call made with that key is billed at that group’s price. Groups available for gemini-3.8-flash: Gemini.

### Do I need an international credit card?

No. Top up your balance in the console first; each call is then deducted from the balance based on actual usage. Payment methods: Alipay, WeChat Pay, Visa / MasterCard, Apple Pay, and crypto such as USDT, BTC, SOL, and TRX. Multi-currency support.

## More from Google

- [gemini-4-argon](https://en.llmoxy.com/models/gemini-4-argon.md): In ￥1.00 / 1M
- [gemini-4-hydrogen](https://en.llmoxy.com/models/gemini-4-hydrogen.md): In ￥0.75 / 1M

## Links

- [All model prices](https://en.llmoxy.com/pricing.md)
- [Documentation](https://en.llmoxy.com/docs/api-reference/api-overview.md)
- [llms.txt](https://en.llmoxy.com/llms.txt)

This is the markdown version of https://en.llmoxy.com/models/gemini-3.8-flash.
