Try Bifrost Enterprise free for 14 days.
Request access

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

Calculate the cost of using doubao-seed-2-0-code-preview from Aihubmix for your AI applications

Pricing data last updated:

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

Mode: Chat

Max: 256,000 tokens

Max: 128,000 tokens

Cost Breakdown

Input Cost$0.00048220
Output Cost$0.002411
Total Cost$0.002893

Pricing Details

Input: $0.0000004822 per token
Output: $0.00000241 per token
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.

Model Specifications

Capabilities

✓Function Calling
✓Vision
✓Reasoning
✓Web Search

Limits

Max Input Tokens256,000
Max Output Tokens128,000

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 1859 out of 4040 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. It accepts up to 256K input tokens.

Pricing Information

Input Cost$0.48 per 1M tokens
Output Cost$2.41 per 1M tokens

Note: Use the interactive calculator above to estimate costs for your specific usage patterns.

Technical Specifications

Maximum Input Tokens256,000
Maximum Output Tokens128,000

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 256,000 input tokens. The maximum output length is 128,000 tokens.

Model Capabilities

✓Function Calling - Execute custom functions and tools
✓Vision - Process and understand images
✓Advanced Reasoning - Complex problem-solving capabilities
✓Web Search - Access real-time web information
✓Prompt Caching - Optimize repeated prompts

How doubao-seed-2-0-code-preview Pricing Compares

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

ModelProviderInput / 1M tokensOutput / 1M tokensvs doubao-seed-2-0-code-preview
gemini-3-flash-previewVertex AI$0.50$3.00+4%
gemini-3-flash-previewGoogle Gemini$0.50$3.00+4%
kimi-k2.5Moonshot$0.60$3.00+24%

Alternatives to doubao-seed-2-0-code-preview

Similar chat models from other providers

Vertex AI
gemini-3-flash-preview
$0.50/1M input
+4% vs doubao-seed-2-0-code-preview
Google Gemini
gemini-3-flash-preview
$0.50/1M input
+4% vs doubao-seed-2-0-code-preview
Moonshot
kimi-k2.5
$0.60/1M input
+24% vs doubao-seed-2-0-code-preview
Xiaomi
mimo-v2.6-pro
$0.43/1M input
-10% vs doubao-seed-2-0-code-preview
AWS Bedrock
apac.amazon.nova-2-lite-v1:0
$0.40/1M input
-18% vs doubao-seed-2-0-code-preview

Frequently Asked Questions

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, audio input, 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 20% below the median of $0.60 for chat models. It ranks 1859 out of 4040 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.80.

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 31 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); mimo-v2.6-pro from Xiaomi ($0.43/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.