---
title: "doubao-seed-2-0-code-preview Cost Calculator - Aihubmix"
description: "Calculate the cost of using doubao-seed-2-0-code-preview from Aihubmix. Input costs $0.48 and output $2.41 per 1M tokens."
url: "https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/aihubmix/model/doubao-seed-2-0-code-preview"
markdown: "https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/aihubmix/model/doubao-seed-2-0-code-preview.md"
---

# doubao-seed-2-0-code-preview Cost Calculator - Aihubmix

> Calculate the cost of using doubao-seed-2-0-code-preview from Aihubmix. Input costs $0.48 and output $2.41 per 1M tokens.

## Important Links

- [View MCP Gateway](https://www.getmaxim.ai/bifrost/resources/mcp-gateway.md)
- [Features](https://www.getmaxim.ai/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 1683 out of 3639 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.

## Pricing

Published Aihubmix pricing for doubao-seed-2-0-code-preview.

- **$0.48 / 1M tokens Input.**
- **$2.41 / 1M tokens Output.**

## Technical Specifications

- **Chat Mode.**
- **256,000 Max Input Tokens.**
- **128,000 Max Output Tokens.**
- **128,000 Max Tokens.**

## Model Capabilities

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

## How Pricing Compares

At $0.48 per 1M input tokens and $2.41 per 1M output tokens, doubao-seed-2-0-code-preview ranks 1683 out of 3639 chat models by input cost. It is more affordable compared to the median of $0.58 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.

| Model | Provider | Input $/1M | Output $/1M | vs doubao-seed-2-0-code-preview |
| --- | --- | --- | --- | --- |
| gemini-3-flash-preview | Vertex AI | $0.50 | $3.00 | +4% |
| gemini-3-flash-preview | Google Gemini | $0.50 | $3.00 | +4% |
| kimi-k2.5 | Moonshot | $0.60 | $3.00 | +25% |
| gemini-3-flash-preview | OpenRouter | $0.50 | $3.00 | +4% |
| kimi-k2.6 | Azure | $0.60 | $3.00 | +25% |

## More from Aihubmix

- [doubao-seed-2-0-pro ($0.48/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/aihubmix/model/doubao-seed-2-0-pro.md)
- [doubao-seed-2-1-turbo ($0.46/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/aihubmix/model/doubao-seed-2-1-turbo.md)
- [gemini-3-flash-preview ($0.50/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/aihubmix/model/gemini-3-flash-preview.md)
- [gemini-3-flash-preview-search ($0.50/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/aihubmix/model/gemini-3-flash-preview-search.md)

## Related Resources

- [All Aihubmix pricing](https://www.getmaxim.ai/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 17% below the median of $0.58 for chat models. It ranks 1683 out of 3639 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.66.

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

- [All Aihubmix pricing](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/aihubmix.md)
- [LLM cost calculator](https://www.getmaxim.ai/bifrost/llm-cost-calculator.md)
- [Model library](https://www.getmaxim.ai/bifrost/model-library.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://www.getmaxim.ai/bifrost/resources.md)

---

*This is a markdown version of [https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/aihubmix/model/doubao-seed-2-0-code-preview](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/aihubmix/model/doubao-seed-2-0-code-preview) for AI/LLM consumption.*
