---
title: "doubao-seed-2-0-code-preview - Model Details & Comparison"
description: "doubao-seed-2-0-code-preview from Aihubmix: capabilities, context limits, pricing, and side-by-side comparisons with alternative models."
url: "https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/aihubmix/doubao-seed-2-0-code-preview"
markdown: "https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/aihubmix/doubao-seed-2-0-code-preview.md"
---

# doubao-seed-2-0-code-preview - Model Details & Comparison

> doubao-seed-2-0-code-preview from Aihubmix: capabilities, context limits, pricing, and side-by-side comparisons with alternative models.

## Important Links

- [View MCP Gateway](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/resources/mcp-gateway.md)
- [Features](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/#features)
- [Enterprise](https://www.getmaxim.ai/enterprise)
- [Pricing](https://www.getmaxim.ai/pricing)
- [Docs](https://docs.getbifrost.ai)
- [GitHub](https://github.com/maximhq/bifrost)
- [Book a Demo](https://www.getmaxim.ai/book-a-demo)

## About doubao-seed-2-0-code-preview

doubao-seed-2-0-code-preview is a chat model from Aihubmix, one of 72 chat models they offer. It is priced at $0.48 per 1M input tokens and $2.41 per 1M output tokens, ranking 1692 out of 3648 chat models by cost and cheaper than 54% of models in this category. doubao-seed-2-0-code-preview supports vision, function calling, reasoning, web search, prompt caching — one of only 2 chat models with this combination. Its 256K-token context window is in the top 44% among chat models.

## Specifications

- **Aihubmix Provider.**
- **Chat Mode.**
- **256,000 Max Input Tokens.**
- **128,000 Max Output Tokens.**
- **128,000 Max Tokens.**
- **$0.48 / 1M tokens Input Price.**
- **$2.41 / 1M tokens Output Price.**

## Capabilities

doubao-seed-2-0-code-preview supports: Function Calling, Vision, Reasoning, Web Search, Prompt Caching.

## doubao-seed-2-0-code-preview Pricing Overview

At $0.48 per 1M input tokens and $2.41 per 1M output tokens, doubao-seed-2-0-code-preview ranks 1692 out of 3648 chat models by input cost. It is more affordable compared to the median of $0.57 for chat models, and is cheaper than 54% of models in this category.

doubao-seed-2-0-code-preview is one of 72 Aihubmix chat models, one of only 2 chat models combining function calling, prompt caching, reasoning, vision, web search. its 256K-token context window places it in the top 44% of chat models.

## Models to Compare

Alternatives to doubao-seed-2-0-code-preview with comparable capabilities.

| Model | Provider | Input $/1M | Output $/1M |
| --- | --- | --- | --- |
| gemini-3-flash-preview | Vertex AI | $0.50 | $3.00 |
| gemini-3-flash-preview | Google Gemini | $0.50 | $3.00 |
| kimi-k2.5 | Moonshot | $0.60 | $3.00 |
| gemini-3-flash-preview | OpenRouter | $0.50 | $3.00 |
| kimi-k2.6 | Azure | $0.60 | $3.00 |

- [Compare gemini-3-flash-preview](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/vertex_ai/gemini-3-flash-preview.md)
- [Compare gemini-3-flash-preview](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/gemini/gemini-3-flash-preview.md)
- [Compare kimi-k2.5](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/moonshot/kimi-k2.5.md)
- [Compare gemini-3-flash-preview](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/openrouter/gemini-3-flash-preview.md)
- [Compare kimi-k2.6](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/azure/kimi-k2.6.md)

## Related Resources

- [Calculate doubao-seed-2-0-code-preview costs](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/aihubmix/model/doubao-seed-2-0-code-preview.md)
- [All Aihubmix pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/aihubmix.md)

## FAQ

### Is doubao-seed-2-0-code-preview cheaper than gemini-3-flash-preview?

Yes. doubao-seed-2-0-code-preview costs $0.48 per 1M input tokens compared to gemini-3-flash-preview's $0.50 per 1M input tokens, making it 4% more affordable. Both are chat models and share support for vision, function calling, reasoning, web search, prompt caching, structured output.

### How does doubao-seed-2-0-code-preview pricing compare to the average chat model?

doubao-seed-2-0-code-preview input pricing is $0.48 per 1M tokens, which is 15% below the median of $0.57 for chat models. It ranks 1692 out of 3648 chat models by input cost, making it cheaper than 54% of models in this category. For output, it costs $2.41 per 1M tokens compared to the median of $1.65.

### What makes doubao-seed-2-0-code-preview different from other Aihubmix models?

Among Aihubmix's 72 chat models, doubao-seed-2-0-code-preview ranks 30 by input cost. Its combination of function calling, prompt caching, reasoning, vision, web search is shared by only 1 other chat model.

### What are the best alternatives to doubao-seed-2-0-code-preview?

The most comparable chat models to doubao-seed-2-0-code-preview are: gemini-3-flash-preview from Vertex AI ($0.50/1M input tokens); gemini-3-flash-preview from Google Gemini ($0.50/1M input tokens); kimi-k2.5 from Moonshot ($0.60/1M input tokens); gemini-3-flash-preview from OpenRouter ($0.50/1M input tokens). These alternatives were selected based on similar capabilities, pricing, and provider diversity. You can compare any of these models in detail using the Bifrost Model Library.

### How do I calculate doubao-seed-2-0-code-preview costs?

doubao-seed-2-0-code-preview is priced based on input and output tokens. Use the interactive calculator at the top of this page to estimate costs for your specific workload. Enter your expected input and output tokens volume and the calculator will show the total cost breakdown. For reference, processing 1M input tokens costs $0.48 and generating 1M output tokens costs $2.41.

## Related Resources

- [Aihubmix models](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/provider/aihubmix.md)
- [Model library](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library.md)
- [LLM cost calculator](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator.md)
- [Docs: Bifrost docs](https://docs.getbifrost.ai)
- [GitHub: maximhq/bifrost](https://github.com/maximhq/bifrost)
- [Pricing: Bifrost pricing](https://www.getmaxim.ai/pricing)
- [Enterprise: Bifrost enterprise](https://www.getmaxim.ai/enterprise)
- [Book a Demo: Bifrost demo](https://www.getmaxim.ai/book-a-demo)
- [Resources: Bifrost resources](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/resources.md)

---

*This is a markdown version of [https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/aihubmix/doubao-seed-2-0-code-preview](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/aihubmix/doubao-seed-2-0-code-preview) for AI/LLM consumption.*
