NewGPT Image 2.6, Kling V4 and Kimi K3.1 Pro are now available.

Tchavi
ModelsPricingDocumentationBlog
Tchavi
  • Why Tchavi
  • Models
  • Pricing

Tchavi is an OpenAI-compatible AI API: 130+ models, from text to video, topped up with mobile money in FCFA or your local currency, no bank card needed.

  • support@tchavi.com
  • Support

Popular models

  • GPT-6 Sol API
  • Claude Sonnet 5.5 API
  • Claude Opus 5.5 API
  • Gemini 4 Argon API
  • DeepSeek V4.1 Flash API
  • Nano Banana 2.1 (images)
  • GPT Image 2 (images)
  • Wan 3.0 (video)
  • All 130+ models

Developers

  • Quickstart
  • API Reference
  • Claude Code
  • Cursor
  • SDKs

Resources

  • Documentation
  • Blog
  • Image models
  • Video models
  • Music models
  • Audio models
  • Mobile money payments
  • Pay for AI APIs with M-Pesa
  • Claude Code with mobile money

Legal

  • Privacy
  • Terms of Service

APIs by creator

  • OpenAI API
  • Gemini API
  • Claude API
  • Qwen API
  • DeepSeek API
  • Seedance API
  • MiniMax API
  • Mistral API

Mobile money payments · Available in 12 countries: Benin, Cameroon, Congo, Côte d'Ivoire, DR Congo, Gabon, Kenya, Rwanda, Senegal, Sierra Leone, Uganda, and Zambia. Operators: Moov Money, MTN MoMo, Airtel Money, Orange Money, M-Pesa, Free Money, and Zamtel Kwacha.

© 2026 Tchavi. All rights reserved.

We use cookies to enhance your experience, provide personalised content, and analyse our traffic; see our Cookie Policy.

Back to models

Gemini 3.5 Flash

google/gemini-3.5-flash

A fast multimodal Flash with a 1M-token context

Google unveiled Gemini 3.5 Flash on 19 May 2026 at Google I/O as its strongest Flash model for coding and agents. Its documentation now lists it among the legacy Flash models, behind newer generations.

Modalities
-30%
Input / Output
2.438 / 14.77cr / 1K3.482 / 21.1
Context window
1M
Released
May 19, 2026
Capabilities
  • Tools
  • JSON mode
  • Vision
  • PDF
  • Streaming

According to Google, it beats Gemini 3.1 Pro on coding and agent benchmarks, with an output rate about four times that of other frontier models. It reads text, images and PDFs over 1M tokens: long documents, JSON extraction, explaining stack traces.

On Tchavi, change your OpenAI SDK's base URL and keep the same API key as for Claude and GPT. You top up with mobile money, no card and no KYC, and your credits never expire.

What this model does well

  • 📚

    1M-token context

    A long document or a large repository in a single request

  • 🖼️

    Multimodal

    Reads images and PDFs alongside text

  • 🛠️

    Tools and JSON mode

    Function calling and structured JSON output

  • 🤖

    Agents and code

    Presented by Google as its strongest Flash on these tasks

  • ⚡

    Streaming

    Tokens streamed over SSE as they are generated

  • 📤

    Output up to 65K

    Enough for a full report or a complete code file

Example prompts

  • Extract every date and amount from this invoice text and return them as valid JSON, with the currency and the source line.

  • Explain this Python stack trace, find the likely root cause and propose a fix with the changed code.

  • Summarise this 20-page report in five bullets: one decision to make, two risks, two key figures.

Good to know

  • Previous generation: Google lists it among its legacy Flash models. For a new project, try Gemini 3.8 Flash first, the newer one in the catalogue.
  • Google no longer recommends setting temperature, top_p or top_k on this model: leave the defaults.

Technical specifications

Provider
google
API identifier
gemini-3.5-flash
Category
Chat & Text
Context window
1,000,000 tokens
Max output
65,536 tokens
Rate limit
300 RPM
Billing unit
token
Streaming
Yes

Ideal for

  • Pinning an existing Flash setup
  • Long documents with images
  • Agents and tool loops
  • Data extraction into JSON
  • Code over a large context

Ready to try it?

Test this model in the playground, no setup needed.

Frequently asked questions

Gemini 3.5 Flash or Gemini 3.1 Pro: which one?

According to Google, 3.5 Flash beats 3.1 Pro on coding and agents, and it holds 1M tokens where 3.1 Pro is capped at 180K on Tchavi. Default to 3.5 Flash; use 3.1 Pro only if your prompts are already tuned to it.

Gemini 3.5 Flash or Gemini 3.8 Flash: which one?

Gemini 3.8 Flash is the newer generation in the catalogue, with the same 1M context and multimodal input. Keep 3.5 Flash only for a prompt tuned to its exact behaviour.

Gemini 3.5 Flash or Claude Haiku 4.5: which one?

3.5 Flash for a 1M-token context and JSON mode; Haiku 4.5 to stay on Claude with 200K and forced tool_choice.

What are the context and output sizes?

1M tokens in and up to 65,536 out, with images and PDFs.

How do I call Gemini 3.5 Flash through Tchavi?

With the OpenAI SDK, change the base URL, use your sk-tch-… key and model: "gemini-3.5-flash" on /v1/chat/completions. JSON mode is available.

Can I pay with mobile money, without a bank card?

Yes. Top up your Tchavi account with Orange Money, MTN MoMo, M-Pesa or another mobile money operator. No bank card is needed. Credits land as soon as the payment is confirmed and are deducted as you use them.

Is the API compatible with OpenAI's?

Yes. Keep your current OpenAI SDK, just change the base URL to Tchavi's (shown in the API tab) and use your Tchavi key. The rest of your code stays the same.

API

import Tchavi from '@tchavi/sdk';

const client = new Tchavi({ apiKey: 'API_KEY' });

const response = await client.chat.completions.create({
  model: 'gemini-3.5-flash',
  messages: [
  {
    "role": "user",
    "content": "Hello!"
  }
],
});

console.log(response.choices[0].message.content);
console.log('Credits used:', response.tchavi.credits_used);

API parameters

Every parameter this model accepts on the API. Check the SDK for full typings.

modelRequired
string

ID of the chat model (e.g. `gemini-3.5-flash`).

messagesRequired
Array<{ role, content }>

Conversation messages. Each item has a `role` (system/user/assistant) and a `content` that's either a plain string or an array of content blocks (`text`, `image_url`, `document_url`).

temperature
number
Default: 1

Sampling temperature between 0 and 2. Higher values = more random.

max_tokens
integer

Maximum number of tokens to generate in the response.

max_completion_tokens
integer

OpenAI alias for `max_tokens`. Either field works; if both are sent, `max_completion_tokens` wins.

stream
boolean
Default: false

If true, partial message deltas are streamed as Server-Sent Events.

tools
Array<{ type, function }>

Function-calling toolbox. Pass an array of `{ type: "function", function: { name, description, parameters } }`. Returned tool calls land in `choices[].message.tool_calls`. Only models with `supportsTools: true` accept this.

tool_choice
"auto" | "none" | { type, function }

How the model picks among tools: `"auto"` (default), `"none"` to force a plain text reply, or `{ type: "function", function: { name } }` to force a specific tool. Only with `supportsTools: true`.

response_format
{ type: "json_object" | "text" }

Constrain the output. Pass `{ type: "json_object" }` to force valid JSON (the model still needs a JSON instruction in your prompt). Only models with `supportsJsonMode: true` honour this.

Show all parameters (20)
top_p
number
Default: 1

Nucleus sampling: only tokens in the top `top_p` probability mass are considered.

seed
integer

Integer seed for deterministic output. The same seed + identical request yields the same completion when supported by the provider. OpenAI honours it; Anthropic ignores.

n
integer
Default: 1

Number of completions to generate in one call. Defaults to 1; each extra completion is billed.

stream_options
{ include_usage?: boolean }

Streaming options, e.g. `{ "include_usage": true }` to receive a final SSE chunk with usage counts. Effective only when `stream: true`.

stop
string | string[]

Up to 4 sequences where the API will stop generating further tokens.

frequency_penalty
number
Default: 0

Between -2.0 and 2.0. Positive values penalize tokens that have appeared frequently.

presence_penalty
number
Default: 0

Between -2.0 and 2.0. Positive values encourage the model to talk about new topics.

user
string

End-user identifier passed to the upstream provider for abuse / moderation tracking. Should be stable per end-user.

logit_bias
Record<string, number>

Per-token logit bias `{ "<tokenId>": <-100..100>, ... }`. OpenAI-specific; Anthropic ignores silently.

messages[].content[].image_url
string

Attach an image on a user message. Pass a content block `{ "type": "image_url", "image_url": { "url": ... } }`. PNG / JPEG / WebP, up to 4 per request. Only models with `supportsImageInput: true` accept this block (e.g. `gpt-4o`, `claude-opus-4-7`).

messages[].content[].document_url
string

Attach a PDF on a user message. Pass a content block `{ "type": "document_url", "document_url": { "url": ... } }`. Up to 5 PDFs per request. Only models with `supportsDocuments: true` accept this block (e.g. `claude-sonnet-4-6`, `gpt-4.1`).

Pricing

-30%The discount applies to every price for this model.
per 1,000 tokens
2.438 credits
Input 3.482 · Output 21.1 cr/1K

How billing works

  • Billed per token used, down to a thousandth of a credit.
  • A typical message (500 in, 150 out) costs about —, or 3.435 credits.
Real-world scenarios
Per day
Per week
Per month

Estimated over 30 days, for a typical message: ~500 input + ~150 output tokens, billed to the thousandth of a credit.

A 10 000 F CFA top-up gives you about ~8 734 questions. Pay with Orange Money, MTN MoMo or M-Pesa — no Visa card needed.

Ready to use Gemini 3.5 Flash?

Create your accountAPI Documentation

Bonus credits on your first top-up · No card to sign up