59API

← Back to all guides

Gemini 2.5 Flash API proxy: 59API rates and setup

Models · EN · 2026-11-23

Why developers look at Gemini 2.5 Flash in the first place

You have a feature to ship, a script to run, or a prototype to test, and you want a fast model without a long sales process. That is the problem Gemini 2.5 Flash solves well, and it is the problem 59API makes easier to handle: one account, one API key and one API host give you access to it alongside other model families.

59API is an independent third-party API proxy. It relays requests to models such as Gemini, GPT, Claude and DeepSeek, and bills you per request based on real token usage. There is no monthly fee, and your prepaid balance never expires. You are not buying a seat in somebody else's product; you are buying API calls as you need them.

Gemini 2.5 Flash is a sensible starting point for developers who want responsive output at a modest price. On 59API it costs $0.2083 (¥1.5) per 1 million input tokens and $1.67 (¥12) per 1 million output tokens, with cache reads at $0.0208 (¥0.15). Those numbers are simple to reason about, which matters when you are deciding whether a particular feature is worth keeping switched on.

The rest of this guide covers the rates in detail, the exact environment variables for Gemini CLI, and the situations where this model is a sensible pick rather than a larger one.

What Gemini 2.5 Flash costs on 59API

All 59API prices are quoted per 1 million tokens. Billing is in CNY, and the USD figures you see are shown at ¥7.2 = $1. The model id you will use is gemini-2.5-flash.

That cache read rate is worth understanding early. When a request reuses content that was already sent, the cached portion is charged at a much lower rate than fresh input. If your application repeatedly sends a large fixed prompt, a glossary, a schema or a document, that difference can matter more than the headline input price.

For comparison, 59API also carries Gemini 3.1 Pro at $1.39 (¥10) input, $8.06 (¥58) output and $0.1389 (¥1) cache read, and Gemini 3.8 Flash at $1.11 (¥8) input, $5 (¥36) output and $0.1111 (¥0.8) cache read. Keeping those three Gemini options in view makes it easier to decide whether a task deserves Gemini 2.5 Flash or something else.

Because 59API charges by real token usage, the practical workflow is simple: pick the model, send requests, watch the balance move. There is no seat fee and no commitment to a minimum spend.

Setting up Gemini CLI through 59API

Gemini models use Google's native protocol only, and the supported path is Gemini CLI. Do not try to reach Gemini through the OpenAI-compatible chat endpoint at https://api.59api.com/v1/chat/completions — that path is for GPT, DeepSeek and other non-Claude, non-Gemini models. Gemini requests sent that way will not work.

The setup itself is two environment variables:

Replace YOUR_59API_KEY with the key from your 59API account, point Gemini CLI at the 59API host, and you are ready to send requests. The same key works for the other model families on 59API, so a single credential can cover a mixed workload without juggling several accounts.

Before your first run, make sure the account has a funded prepaid balance. 59API bills each request as it happens, so an empty balance means requests stop rather than silently accruing an unknown bill. Top-ups are available at ¥10, ¥50, ¥100, ¥200, ¥500 and ¥1000, paid by WeChat Pay or bank card, and invoices are available when you need one.

One more practical note: keep the native protocol in mind when you plan your tooling. If your team writes scripts against Gemini, build them for the native protocol from the start rather than assuming every OpenAI-style client will work.

When Gemini 2.5 Flash is the right choice

Imagine a hypothetical situation: you are prototyping a support assistant that classifies incoming tickets and drafts a short reply. The workload is steady, prompts are moderate, and latency matters more than deep reasoning. That is exactly the shape of work where Gemini 2.5 Flash earns its place, and where a low input rate of $0.2083 (¥1.5) per 1 million tokens keeps the experiment affordable.

Now imagine a different hypothetical: you are building a tool that reviews long technical documents and produces carefully argued recommendations. Here you might want to reach for Gemini 3.1 Pro at $1.39 (¥10) input and $8.06 (¥58) output, because the harder the reasoning, the more you may want to spend on it. Gemini 3.8 Flash at $1.11 (¥8) input and $5 (¥36) output sits in between.

Because 59API exposes several models behind the same key and the same host, you do not have to make that decision once and forever. Start with Gemini 2.5 Flash, measure the quality of your output on real tasks, and escalate only where the results justify it.

Two habits make this smoother. First, keep prompts lean, since input tokens are charged on every request. Second, use caching where your setup supports it, because cache reads at $0.0208 (¥0.15) per 1 million tokens are far cheaper than fresh input.

Taken together, the pattern is simple: run the cheap, fast model by default, and route the difficult cases to a stronger one.

Paying for usage: prepaid balance and practical billing

59API uses a prepaid model. You top up, your balance is charged per request according to real token usage, and there is no monthly fee. The balance never expires, so an unused top-up is not a deadline you have to rush to spend. Monthly and weekly cards are optional, and a card has its own key, can only call that family's models, and is paid only from the card — it never falls back to wallet balance, and a balance key never draws on a card.

For Gemini work, the prepaid balance is the straightforward route. Top-ups of ¥10, ¥50, ¥100, ¥200, ¥500 and ¥1000 are paid by WeChat Pay or bank card, and invoices are available.

It helps to see how per-request billing reads in practice. On 59API, GPT-6.1 Sol with 5M input plus 1M output tokens without cache costs $1.85 (¥13.32); at official list price $20 (about ¥144), 59API is about 9% of list price. The same logic applies to Gemini 2.5 Flash, where you can look at $0.2083 (¥1.5) input, $1.67 (¥12) output and $0.0208 (¥0.15) cache read and estimate a workload directly.

That visibility is the whole point. You can plan a project, watch the balance as the work happens, top up when needed, and keep every model behind one key and one host. Start with a small top-up, point Gemini CLI at https://api.59api.com, and let the token meter tell you what the model actually costs.

Docs

Ready to get started?

One key for Claude, GPT and more, billed by real token usage with no monthly fee. Sign up to create your API key; rates for every model are on the pricing page.

Sign up free Pricing