opencheap.si
鸣谢

GPT 4.1 Mini vs Gemini 3.7 Flash

Updated November 27, 2026. Prices as of 2026-12-04 11:48 UTC

GPT 4.1 Mini vs Gemini 3.7 Flash on OpenCheap, from the same price book as the model pages. Gemini 3.7 Flash is 16 % cheaper than GPT 4.1 Mini on a typical 1 : 3 input-to-output mix: $1.09 against $1.30 per 1M tokens.

Gemini 3.7 Flash is 16 % cheaper than GPT 4.1 Mini on a typical 1 : 3 input-to-output mix: $1.09 against $1.30 per 1M tokens. A request with 10,000 input tokens and 1,000 output tokens costs about $0.0056 on GPT 4.1 Mini and $0.0047 on Gemini 3.7 Flash. Both read up to 1M tokens in one request. On each model's fastest provider, the first token arrives after 0.76 s on GPT 4.1 Mini and 2.07 s on Gemini 3.7 Flash (median, measured by OpenCheap). On OpenCheap, GPT 4.1 Mini is served by 6 providers and Gemini 3.7 Flash by 6 providers. Both are called with one key at the same OpenAI-compatible endpoint, so switching is a change of the model id. Prices as of 2026-12-04 11:48 UTC.

Side by side

GPT 4.1 Mini vs Gemini 3.7 Flash: price, context, speed and uptime
型号GPT 4.1 Mini OpenAIGemini 3.7 Flash Google
Input per 1M tokens$0.40$0.33 (best)
Output per 1M tokens$1.60$1.34 (best)
Cached input per 1M tokens$0.10$0 (best)
On a 1 : 3 mix per 1M tokens, input to output$1.30$1.09 (best)
One request 10,000 tokens in, 1,000 out$0.0056$0.0047 (best)
1,000 requests of that size$5.60$4.68 (best)
List price per 1M tokens, input / output0.40 美元 / 1.60 美元$0.75 / $3.75
Context window tokens in one request1M1M
Providers serving it on OpenCheap66
First token fastest provider, median0.76 s (best)2.07 s
Output speed fastest provider, median114 tok/s845 tok/s (best)
Uptime best provider, last day100 %100 %
模型 IDopencheap/gpt-4.1-mini Model page →opencheap/gemini-3.7-flash Model page →

Prices are each model's From price, the provider a request goes to now, in US dollars. The list price is the model's published price. First token, output speed and uptime are medians for each model's fastest working provider, measured by OpenCheap; each model page lists every provider. Green marks the best value in a row.

Switch between them

Point the OpenAI SDK at https://api.opencheap.si/v1 with your OpenCheap key. To call Gemini 3.7 Flash instead of GPT 4.1 Mini, change the model to opencheap/gemini-3.7-flash; nothing else in your code changes. Each request goes to the cheapest healthy provider of the model you name, and every answer reports what it cost in 使用成本.

import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/gpt-4.1-mini",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)

About the two models

  • GPT-4.1 Mini is OpenAI's smaller model in the GPT-4.1 line, aimed at instruction following and tool calling. It accepts text and images, replies in text, and works without a separate reasoning step. All OpenAI models

  • Google's Gemini 3.7 Flash builds on 3.6 Flash, adding agentic video understanding for agents, coding and enterprise work. It takes text, images, video, audio and PDFs, answers in text, and thinks at low, medium or high. All Google models

Questions

Which is cheaper, GPT 4.1 Mini or Gemini 3.7 Flash?
Gemini 3.7 Flash is 16 % cheaper than GPT 4.1 Mini on a typical 1 : 3 input-to-output mix: $1.09 against $1.30 per 1M tokens. Per 1M tokens, GPT 4.1 Mini costs $0.40 input and $1.60 output; Gemini 3.7 Flash costs $0.33 input and $1.34 output.
Which has the larger context window, GPT 4.1 Mini or Gemini 3.7 Flash?
Both read up to 1M tokens in one request.
Which is faster, GPT 4.1 Mini or Gemini 3.7 Flash?
On each model's fastest provider, GPT 4.1 Mini starts answering after 0.76 s and writes about 114 tok/s; Gemini 3.7 Flash starts answering after 2.07 s and writes about 845 tok/s (medians measured by OpenCheap).
Can I use GPT 4.1 Mini and Gemini 3.7 Flash with the same API key?
Yes. Both are called at https://api.opencheap.si/v1 with the OpenAI SDK or any OpenAI-compatible client: pass the model id opencheap/gpt-4.1-mini or opencheap/gemini-3.7-flash, and each request goes to the cheapest healthy provider of that model.

More comparisons

Compare other models →