---
title: "mercury-coder-small - Model Details & Comparison"
description: "mercury-coder-small from Vercel AI Gateway: 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/vercel_ai_gateway/mercury-coder-small"
markdown: "https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/vercel_ai_gateway/mercury-coder-small.md"
---

# mercury-coder-small - Model Details & Comparison

> mercury-coder-small from Vercel AI Gateway: 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://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/enterprise)
- [Pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/pricing.md)
- [Docs](https://docs.getbifrost.ai)
- [GitHub](https://github.com/maximhq/bifrost)
- [Book a Demo](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/book-a-demo)

## About mercury-coder-small

mercury-coder-small is a chat model from Vercel Ai Gateway, one of 95 chat models they offer. It is priced at $0.25 per 1M input tokens and $1.00 per 1M output tokens, ranking 897 out of 2669 chat models by cost and cheaper than 65% of models in this category. It accepts up to 32K input tokens.

## Specifications

- **Vercel AI Gateway Provider.**
- **Chat Mode.**
- **32,000 Max Input Tokens.**
- **16,384 Max Output Tokens.**
- **16,384 Max Tokens.**
- **$0.25 / 1M tokens Input Price.**
- **$1.00 / 1M tokens Output Price.**

## mercury-coder-small Pricing Overview

At $0.25 per 1M input tokens and $1.00 per 1M output tokens, mercury-coder-small ranks 897 out of 2669 chat models by input cost. It is more affordable compared to the median of $0.50 for chat models, and is cheaper than 65% of models in this category.

## Models to Compare

Alternatives to mercury-coder-small with comparable capabilities.

| Model | Provider | Input $/1M | Output $/1M |
| --- | --- | --- | --- |
| ai21.jamba-1-5-mini-v1:0 | AWS Bedrock | $0.20 | $0.40 |
| amazon.nova-2-lite-v1:0 | AWS Bedrock | $0.30 | $2.50 |
| amazon.titan-text-lite-v1 | AWS Bedrock | $0.30 | $0.40 |
| anthropic.claude-3-haiku-20240307-v1:0 | AWS Bedrock | $0.25 | $1.25 |
| Llama-2-13b-chat-hf | Anyscale | $0.25 | $0.25 |

- [Compare ai21.jamba-1-5-mini-v1:0](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/bedrock/ai21.jamba-1-5-mini-v1-0.md)
- [Compare amazon.nova-2-lite-v1:0](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/bedrock/amazon.nova-2-lite-v1-0.md)
- [Compare amazon.titan-text-lite-v1](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/bedrock/amazon.titan-text-lite-v1.md)
- [Compare anthropic.claude-3-haiku-20240307-v1:0](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/bedrock/anthropic.claude-3-haiku-20240307-v1-0.md)
- [Compare Llama-2-13b-chat-hf](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/anyscale/llama-2-13b-chat-hf.md)

## Related Resources

- [Calculate mercury-coder-small costs](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/vercel_ai_gateway/model/mercury-coder-small.md)
- [All Vercel Ai Gateway pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/vercel_ai_gateway.md)

## FAQ

### Is mercury-coder-small cheaper than ai21.jamba-1-5-mini-v1:0?

No. mercury-coder-small costs $0.25 per 1M input tokens while ai21.jamba-1-5-mini-v1:0 costs $0.20 per 1M input tokens, making ai21.jamba-1-5-mini-v1:0 20% more affordable for input. However, mercury-coder-small may offer different capabilities or performance characteristics that justify the price difference.

### How does mercury-coder-small pricing compare to the average chat model?

mercury-coder-small input pricing is $0.25 per 1M tokens, which is 50% below the median of $0.50 for chat models. It ranks 897 out of 2669 chat models by input cost, making it cheaper than 65% of models in this category. For output, it costs $1.00 per 1M tokens compared to the median of $1.44.

### What makes mercury-coder-small different from other Vercel Ai Gateway models?

Among Vercel Ai Gateway's 95 chat models, mercury-coder-small ranks 31 by input cost.

### What are the best alternatives to mercury-coder-small?

The most comparable chat models to mercury-coder-small are: ai21.jamba-1-5-mini-v1:0 from AWS Bedrock ($0.20/1M input tokens); amazon.nova-2-lite-v1:0 from AWS Bedrock ($0.30/1M input tokens); amazon.titan-text-lite-v1 from AWS Bedrock ($0.30/1M input tokens); anthropic.claude-3-haiku-20240307-v1:0 from AWS Bedrock ($0.25/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 mercury-coder-small costs?

mercury-coder-small 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.25 and generating 1M output tokens costs $1.00.

## Related Resources

- [Vercel AI Gateway models](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/provider/vercel_ai_gateway.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://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/pricing.md)
- [Enterprise: Bifrost enterprise](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/enterprise)
- [Book a Demo: Bifrost demo](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/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/vercel_ai_gateway/mercury-coder-small](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/vercel_ai_gateway/mercury-coder-small) for AI/LLM consumption.*
