Model comparison - Similar price, same tier
Gemini 3.8 Flash vs Kimi K2.7 Code
Gemini 3.8 Flash is from Google and Kimi K2.7 Code is from Moonshot AI. On list price, Gemini 3.8 Flash charges 21% less than Kimi K2.7 Code for input ($0.75 vs $0.95 per 1M tokens), and Gemini 3.8 Flash charges 6% less than Kimi K2.7 Code for output ($3.75 vs $4 per 1M tokens). Gemini 3.8 Flash has a 1,048,576-token context window and Kimi K2.7 Code 262,144 tokens; Gemini 3.8 Flash returns up to 65,536 output tokens per response, and no primary source states a max output for Kimi K2.7 Code. Gemini 3.8 Flash was released on September 2, 2026; no primary source states a release date for Kimi K2.7 Code. Kimi K2.7 Code publishes open weights (Modified MIT License (Hugging Face license tag: other)); Gemini 3.8 Flash is closed-weights.
Last verified from each provider's pricing page. All sources
Side-by-side specs
| Spec | Gemini 3.8 Flash | Kimi K2.7 Code |
|---|---|---|
| Provider | Moonshot AI | |
| Input / 1M tokens | $0.75 | $0.95 |
| Output / 1M tokens | $3.75 | $4 |
| Cache read / 1M | $0.075 | $0.19 |
| Batch input / 1M | $0.375 | $0.57 |
| Batch output / 1M | $1.875 | $2.40 |
| Context window | 1,048,576 | 262,144 |
| Max output | 65,536 | - |
| Release date | - | |
| Weights | Closed | Open |
| License | - | Modified MIT License (Hugging Face license tag: other) |
| API model id | gemini-3.8-flash | kimi-k2.7-code |
| AI Gateway id | google/gemini-3.8-flash | moonshotai/kimi-k2.7-code |
| Last verified |
Prices in USD per 1M tokens at each provider's standard first-party rate. A dash means the provider does not bill that item separately or no primary page states it.
What each costs in practice
The same three workloads every model page uses, worked from each model's standard list rates. Swap in your own token counts with the math on each model's page.
| Workload | Gemini 3.8 Flash | Kimi K2.7 Code |
|---|---|---|
| One agent session1M input tokens and 100K output tokens, no caching. | $1.13 | $1.35 |
| A chat app10,000 requests a day at 2K input and 500 output tokens each. | $33.75$1,012.50 per 30-day month | $39.00$1,170.00 per 30-day month |
| The same session at a 90% cache hit90% of the input is read from the prompt cache. The one-time cache write premium is not included. | $0.5175 | $0.666 |
Show the math
Gemini 3.8 Flash
- One agent sessionInput: 1M x $0.75 = $0.75Output: 0.1M x $3.75 = $0.375
- A chat appInput: 20M x $0.75 = $15.00Output: 5M x $3.75 = $18.75
- The same session at a 90% cache hitCached input: 0.9M x $0.075 = $0.0675Uncached input: 0.1M x $0.75 = $0.075Output: 0.1M x $3.75 = $0.375
Kimi K2.7 Code
- One agent sessionInput: 1M x $0.95 = $0.95Output: 0.1M x $4 = $0.40
- A chat appInput: 20M x $0.95 = $19.00Output: 5M x $4 = $20.00
- The same session at a 90% cache hitCached input: 0.9M x $0.19 = $0.171Uncached input: 0.1M x $0.95 = $0.095Output: 0.1M x $4 = $0.40
Benchmarks under the same setting
No board in the benchmark directory lists both Gemini 3.8 Flash and Kimi K2.7 Code under the same setting, so there is no like-for-like score to show here.
Set them up in your tools
Step-by-step guides whose official docs list Gemini 3.8 Flash or Kimi K2.7 Code by model id.
- Use Gemini in ClineLists Gemini 3.8 Flash
- Use Gemini in ContinueLists Gemini 3.8 Flash
- Use Gemini in CursorLists Gemini 3.8 Flash
- Use Gemini in GooseLists Gemini 3.8 Flash
- Use Gemini in Kilo CodeLists Gemini 3.8 Flash
- Use Gemini in OpenCodeLists Gemini 3.8 Flash
- Use Gemini in ZedLists Gemini 3.8 Flash
- Use Kimi in Claude CodeLists Kimi K2.7 Code
- Use Kimi in ClineLists Kimi K2.7 Code
- Use Kimi in ContinueLists Kimi K2.7 Code
- Use Kimi in GooseLists Kimi K2.7 Code
- Use Kimi in OpenCodeLists Kimi K2.7 Code
- Use Kimi in ZedLists Kimi K2.7 Code
Model pages
FAQ
How do Gemini 3.8 Flash and Kimi K2.7 Code compare on price?
On list price, Gemini 3.8 Flash charges 21% less than Kimi K2.7 Code for input ($0.75 vs $0.95 per 1M tokens), and Gemini 3.8 Flash charges 6% less than Kimi K2.7 Code for output ($3.75 vs $4 per 1M tokens). For one agent session of 1M input and 100K output tokens with no caching, that is $1.13 on Gemini 3.8 Flash and $1.35 on Kimi K2.7 Code. Prices are each provider's first-party list rates, verified October 17, 2026 and October 17, 2026.
What are the context windows of Gemini 3.8 Flash and Kimi K2.7 Code?
Gemini 3.8 Flash has a 1,048,576-token context window and Kimi K2.7 Code 262,144 tokens; Gemini 3.8 Flash returns up to 65,536 output tokens per response, and no primary source states a max output for Kimi K2.7 Code.
Are Gemini 3.8 Flash and Kimi K2.7 Code open weights?
Gemini 3.8 Flash is closed-weights and is called through Google's API as gemini-3.8-flash. Kimi K2.7 Code's weights are published at huggingface.co under the Modified MIT License (Hugging Face license tag: other).
More comparisons
- Gemini 3.8 Flash vs Mistral Large 4Similar price, same tier
- Kimi K2.7 Code vs Mistral Large 4Similar price, same tier
- Gemini 3.8 Flash vs GLM-5.3Similar price, same tier
- Gemini 3.6 Flash vs Gemini 3.8 FlashSame provider, successor
- GLM-5.3 vs Kimi K2.7 CodeSimilar price, same tier
- Gemini 3.8 Flash vs Grok Build 0.1Similar price, same tier
- Grok Build 0.1 vs Kimi K2.7 CodeSimilar price, same tier
- Gemini 3.8 Flash vs Mistral Medium 3.5Similar price, same tier
Sources
Gemini 3.8 Flash verified from ai.google.dev; Kimi K2.7 Code verified from platform.kimi.ai. This page is as current as the older of the two: .
- https://ai.google.dev/gemini-api/docs/pricing
- https://platform.kimi.ai/docs/pricing/chat
- https://ai.google.dev/gemini-api/docs/models/gemini-3.8-flash
- https://ai.google.dev/gemini-api/docs/changelog
- https://ai.google.dev/gemini-api/docs/models
- https://platform.kimi.ai/docs/guide/kimi-k2-7-code-quickstart
- https://platform.kimi.ai/docs/models.md
- https://platform.kimi.ai/docs/pricing/batch.md
- https://platform.kimi.ai/docs/platform-changelog.md
- https://huggingface.co/moonshotai/Kimi-K2.7-Code
Newsletter
Get model price changes as they ship
One email per week. New model releases, price cuts and what they mean for your bill.