Gemini 3 Flash (preview) API
Google · text
The Gemini 3 Flash preview line.
Overview
About Gemini 3 Flash (preview)
The Gemini 3 Flash preview line. Every model on CompanyFabric shares the same API key, billing balance, and rate-limit envelope — one integration covers the entire library.
Facts
At a glance
Availability
Live
Pricing
Metered exactly per call
Context window
1,048.576k tokens
Commercial use
See license
Commercial output use permitted per Google terms.
Variants
All endpoints
Gemini 3.7 Flash
Google's current fast model, million-token context.
Chat Completions
Gemini 3.5 Flash
The previous stable Flash, still current for most work.
Chat Completions
Gemini 2.5 Pro
Google's stable Pro tier — the non-preview reasoning model.
Chat Completions
Gemini 2.5 Flash
Long-context workhorse on the stable 2.5 line.
Chat Completions
Gemini 3.1 Pro (preview)
Google's newest Pro tier, shipped as a preview.
Chat Completions
Gemini 3 Flash (preview)
The Gemini 3 Flash preview line.
Chat Completions
Quickstart
How to use the Gemini 3 Flash (preview) API
- 1
Create a free CompanyFabric account — starter credits are included, no card required.
- 2
Copy your API key from the dashboard. One key covers every model in the library.
- 3
Point any OpenAI SDK at api.companyfabric.com/v1 and set model to "google/gemini-3-flash-preview".
- 4
Read the exact metered cost of the call from the response — the same number shown in the playground.
Use cases
What teams build with it
Agents & copilots
Drive agent loops, tool calls, and user-facing assistants over the OpenAI-compatible endpoint.
agentstool useassistants
Content pipelines
Summarization, rewriting, and structured generation at metered per-token cost.
contentsummarization
Extraction & classification
Turn unstructured input into typed JSON with schema-constrained output.
extractionjson mode
Get better output
Prompting tips
- State the output format before the task — models follow contracts declared early.
- Few-shot beats description: two worked examples outperform a paragraph of rules.
- Cap output length explicitly when cost matters; output tokens dominate most bills.
Exact, metered, prepaid
Gemini 3 Flash (preview) pricing
Gemini 3 Flash (preview) pricing is per token: $0 / M input · $0 / M output. Output tokens cost more than input tokens, so long generations — not long prompts — are what actually drive most bills. A typical call with a 2k-token prompt and a 1k-token answer costs about $0.0000.
Every call is metered exactly and attributed to your key — the dashboard, the API usage response, and your invoice all read from the same ledger row. Cap any key's monthly spend with a budget cap, and bring your own provider key (BYOK) at 0% platform fee if you already have a direct contract.
| Endpoint | Type | Price |
|---|---|---|
| Gemini 3.7 Flash | Chat | $0 / M input · $0 / M output |
| Gemini 3.5 Flash | Chat | $0 / M input · $0 / M output |
| Gemini 2.5 Pro | Chat | $0 / M input · $0 / M output |
| Gemini 2.5 Flash | Chat | $0 / M input · $0 / M output |
| Gemini 3.1 Pro (preview) | Chat | $0 / M input · $0 / M output |
| Gemini 3 Flash (preview) | Chat | $0 / M input · $0 / M output |
Starter credits
Use Gemini 3 Flash (preview) free
Your CompanyFabric starter credits cover your first Gemini 3 Flash (preview) calls at no cost — create a free account, no card required, and the credits apply to Gemini 3 Flash (preview) and every other model on the key. When they run out, prepaid credits or BYOK (0% fee) take over with no plan to pick.
Production-grade
Code samples
import OpenAI from "openai"
const client = new OpenAI({
baseURL: "https://api.companyfabric.com/v1",
apiKey: process.env.COMPANYFABRIC_API_KEY,
})
const res = await client.chat.completions.create({
model: "google/gemini-3-flash-preview",
max_tokens: 1024,
temperature: 0.7,
messages: [{ role: "user", content: "Say hello from the fabric." }],
})
console.log(res.choices[0].message.content)Playground
Try it in the browser
Comparisons
Gemini 3 Flash (preview) vs the alternatives
Gemini 3 Flash (preview) vs Claude Haiku 4.5
Gemini 3 Flash (preview) and Claude Haiku 4.5 compete for the same text workloads. Both run behind the same CompanyFabric key at exact metered prices — A/B them on your real prompts and let the outputs decide, then switch with a one-line change.
FAQ
Frequently asked questions
How much does the Gemini 3 Flash (preview) API cost?
$0 / M input · $0 / M output. Every call is metered exactly and shown before you run it.
How do I get a Gemini 3 Flash (preview) API key?
Create a CompanyFabric account, and one key unlocks Gemini 3 Flash (preview) and every other model in the library. Free starter credits are included — no subscription, no card required to try it.
Why use Gemini 3 Flash (preview) on CompanyFabric instead of going direct?
One key, one prepaid balance, and one rate-limit envelope across the whole library, at pricing at parity with or below the direct API. Model switching is a one-line change, and BYOK routing is 0% fee.
Is the API OpenAI-compatible?
Yes — point any OpenAI SDK at api.companyfabric.com/v1 and set model to "google/gemini-3-flash-preview".
Can I use the output commercially?
Commercial output use permitted per Google terms.
How does billing work?
Prepaid credits via card, or BYOK with your own provider keys at 0% platform fee. No subscription required; balances never expire.
Provider
About Google
Google publishes the gemini family. Also in this family: Gemini 3.7 Flash, Gemini 3.5 Flash, Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 3.1 Pro (preview). License: Commercial output use permitted per Google terms.
Explore
Related model APIs
Claude Sonnet 4.5
$3/Mtok inAnthropic
Frontier-quality text and reasoning through one OpenAI-compatible endpoint.
text
Claude Haiku 4.5
$1/Mtok inAnthropic
Fast, cheap frontier-family model for high-volume tasks.
text
Claude Opus 4.6
$15/Mtok inAnthropic
The frontier tier for the hardest reasoning and agentic work.
text
GPT-5.5
$5/Mtok inOpenAI
OpenAI's flagship, one key away.
text
DeepSeek V4
$0.3/Mtok inDeepSeek
Open-weight frontier-adjacent reasoning at commodity prices.
text
Claude Fable 5
$6/Mtok inAnthropic
Anthropic's first Mythos-class model — the new flagship tier above Opus, tuned for the hardest reasoning and agentic work.
text
One key. Every model. Exact prices.
Run Gemini 3 Flash (preview) with free starter credits. Free starter credits included — no subscription required.