# Gemini 3.1 Pro (preview) vs GPT-4 Turbo

Canonical HTML page: [Gemini 3.1 Pro (preview) vs GPT-4 Turbo](<https://impossibl.com/compare/google/gemini-3.1-pro-preview/openai/gpt-4-turbo>)
Markdown alternative: [Gemini 3.1 Pro (preview) vs GPT-4 Turbo as Markdown](<https://impossibl.com/compare/google/gemini-3.1-pro-preview/openai/gpt-4-turbo.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 | Gemini 3.1 Pro (preview) | GPT-4 Turbo |
| --- | --- | --- |
| API identifier | google/gemini-3.1-pro-preview | openai/gpt-4-turbo |
| Creator | Google | OpenAI |
| Model type | Text generation | Text generation |
| Inputs | text, image, audio, video | text, image |
| Outputs | text | text |
| Base input price (USD) | $2.00 per million input tokens | $10.00 per million input tokens |
| Base output price (USD) | $12.00 per million output tokens | $30.00 per million output tokens |
| Cache read price (USD) | $0.20 per million cached input tokens | Not published |
| Cache write price (USD) | Not published | Not published |
| One-hour cache write price (USD) | Not published | Not published |
| Audio input token price (USD) | Not published | Not published |
| Context window | 1,000,000 tokens | 128,000 tokens |
| Tool calling | Not published | Not published |
| Endpoints | /v1/chat/completions | /v1/chat/completions |
| Context pricing tiers (USD per million tokens) | Over 200,000 input tokens: $4.00 input / $18.00 output | 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.

## Gemini 3.1 Pro (preview) vs GPT-4 Turbo: side-by-side summary

Gemini 3.1 Pro (preview) and GPT-4 Turbo 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.

Gemini 3.1 Pro (preview) is created by Google. It has a 1,000,000-token context window. Base API pricing (USD): $2.00 per million input tokens; $12.00 per million output tokens. Above 200,000 input tokens per request, context-tier rates apply to the whole request.

GPT-4 Turbo is created by OpenAI. It has a 128,000-token context window. Base API pricing (USD): $10.00 per million input tokens; $30.00 per million output tokens.

## Model details

- [Gemini 3.1 Pro (preview): full model facts as Markdown](<https://impossibl.com/google/gemini-3.1-pro-preview.md>); [HTML model page](<https://impossibl.com/google/gemini-3.1-pro-preview>)
- [GPT-4 Turbo: full model facts as Markdown](<https://impossibl.com/openai/gpt-4-turbo.md>); [HTML model page](<https://impossibl.com/openai/gpt-4-turbo>)

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>)
