# Claude Sonnet 4.6 vs Gemini 3.1 Flash-Lite

Canonical HTML page: [Claude Sonnet 4.6 vs Gemini 3.1 Flash-Lite](<https://impossibl.com/compare/anthropic/claude-sonnet-4-6/google/gemini-3.1-flash-lite>)
Markdown alternative: [Claude Sonnet 4.6 vs Gemini 3.1 Flash-Lite as Markdown](<https://impossibl.com/compare/anthropic/claude-sonnet-4-6/google/gemini-3.1-flash-lite.md>)

Compare API pricing, context windows, and capabilities side by side. Prices are published API usage rates in USD; check billing units and context tiers alongside each price.

## Specifications and pricing

| Specification | Claude Sonnet 4.6 | Gemini 3.1 Flash-Lite |
| --- | --- | --- |
| API identifier | anthropic/claude-sonnet-4-6 | google/gemini-3.1-flash-lite |
| Creator | Anthropic | Google |
| Model type | Text generation | Text generation |
| Inputs | text, image | text, image, audio, video |
| Outputs | text | text |
| Base input price (USD) | $3.00 per million input tokens | $0.25 per million input tokens |
| Base output price (USD) | $15.00 per million output tokens | $1.50 per million output tokens |
| Cache read price (USD) | $0.30 per million cached input tokens | $0.025 per million cached input tokens |
| Cache write price (USD) | $3.75 per million tokens | Not published |
| One-hour cache write price (USD) | $6.00 per million tokens | Not published |
| Audio input token price (USD) | Not published | $0.50 per million audio input tokens |
| Context window | 1,000,000 tokens | 1,000,000 tokens |
| Tool calling | Not published | Not published |
| Endpoints | /v1/chat/completions | /v1/chat/completions |
| Context pricing tiers (USD per million tokens) | None published | None published |
| Retirement | Not announced in the public catalog | Not announced in the public catalog |

When total input, including cached input, strictly exceeds a context threshold, the highest qualifying tier applies to the whole request. Consult each model's complete Markdown for tier-specific cache rates; an unpublished tier cache price does not establish the base cache rate.

## Claude Sonnet 4.6 vs Gemini 3.1 Flash-Lite: side-by-side summary

Claude Sonnet 4.6 and Gemini 3.1 Flash-Lite are available through the Impossibl API.

They share the `/v1/chat/completions` endpoint. Set the model identifier to select the model for a supported request.

Claude Sonnet 4.6 is created by Anthropic. It has a 1,000,000-token context window. Base API pricing (USD): $3.00 per million input tokens; $15.00 per million output tokens.

Gemini 3.1 Flash-Lite is created by Google. It has a 1,000,000-token context window. Base API pricing (USD): $0.25 per million input tokens; $1.50 per million output tokens.

## Model details

- [Claude Sonnet 4.6: full model facts as Markdown](<https://impossibl.com/anthropic/claude-sonnet-4-6.md>); [HTML model page](<https://impossibl.com/anthropic/claude-sonnet-4-6>)
- [Gemini 3.1 Flash-Lite: full model facts as Markdown](<https://impossibl.com/google/gemini-3.1-flash-lite.md>); [HTML model page](<https://impossibl.com/google/gemini-3.1-flash-lite>)

For compatible text or embedding models with token pricing, the HTML comparison page provides a shared workload calculator. It excludes cache creation, tool calls, taxes, balance-purchase fees, and workspace-specific adjustments.

## Sources and related links

Prices, capabilities, limits, and availability describe the public Impossibl API offering. An unpublished fact is unknown; a published zero price is zero. Compare matching billing units and check context tiers before estimating costs.

- [Public Impossibl model catalog](<https://api.impossibl.com/v1/models>)
- [Full model directory as JSON](<https://impossibl.com/models.json>)
- [Model directory as Markdown](<https://impossibl.com/models.md>)
- [API quickstart](<https://impossibl.com/docs/agent-quickstart>)
- [Model documentation](<https://impossibl.com/docs/models>)
