API · Models
Text
Gemini 3.6 Flash
Gemini 3.6 Flash delivers higher quality across coding, agentic workflows, and web development with reduced token consumption and fewer model calls compared to previous model iterations.
ReasoningFilesToolsVisionCacheweb search
Context 1M·Max out 64K
Quickstart
import { streamText } from 'ai';
import { createOpenAICompatible } from '@ai-sdk/openai-compatible';
const blackbox = createOpenAICompatible({
name: 'blackbox',
apiKey: process.env.BLACKBOX_API_KEY!,
baseURL: 'https://api.blackbox.ai/v1',
});
const result = streamText({
model: blackbox('blackboxai/google/gemini-3.6-flash'),
prompt: 'Why is the sky blue?',
});
for await (const chunk of result.textStream) {
process.stdout.write(chunk);
}Specs & pricing
- Input $/M
- 1.50
- Output $/M
- 7.50
- Context window
- 1M
- Max output
- 64K
- Supported parameters
- —
Related models
| Model | Type | Context | Input $/M |
|---|---|---|---|
| Gemma 4 31B | Text | 262.1K | 0.14 |
| Gemma 4 26B | Text | 262.1K | 0.15 |
| Gemini 3.5 Flash | Text | 1M | 1.50 |
| Gemini 3.1 Flash Lite | Text | 1M | 0.25 |
| Gemini 3.1 Pro | Text | 1.0M | 2 |