[Inception](/ai-gateway/models/labs/inception)

# Mercury Coder Small Beta

Mercury Coder Small Beta is Inception's compact diffusion coding model. Mercury Coder Small Beta scores 90.0 on HumanEval and 84.8 on fill-in-the-middle (FIM). Your use is subject to Inception's [Terms](https://www.inceptionlabs.ai/terms) & [Privacy](https://www.inceptionlabs.ai/terms) Policies.

Tool Use

[Use with AI Gateway](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fai%3Futm_source%3Dgateway-model-page%26utm_campaign%3Dai-gateway-models&title=Get+Started+with+Vercel+AI+Gateway) [View docs](https://vercel.com/docs/ai-gateway)

AI SDKChat CompletionsMessagesResponses

```
1import { streamText } from 'ai'
2

3const result = streamText({
4  model: 'inception/mercury-coder-small',
5  prompt: 'Why is the sky blue?'
6})
```

[Read docs](https://vercel.com/docs/ai-gateway/sdks-and-apis/ai-sdk)

[Overview](/ai-gateway/models/mercury-coder-small) [API](/ai-gateway/models/mercury-coder-small/api) [About](/ai-gateway/models/mercury-coder-small/about) [Providers](/ai-gateway/models/mercury-coder-small/providers) [Latency](/ai-gateway/models/mercury-coder-small/latency) [Uptime](/ai-gateway/models/mercury-coder-small/uptime) [Status](/ai-gateway/models/mercury-coder-small/status) [Similar](/ai-gateway/models/mercury-coder-small/similar) [FAQ](/ai-gateway/models/mercury-coder-small/faq)

## [Copy link to heading](#providers)Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the [docs](/docs/ai-gateway/provider-options) for more info. Using a provider means you agree to their terms, listed under Legal.

| Provider |
| --- |

| Context | Max Output | Latency | Throughput | Input | Output | Cache | Web Search | Capabilities | ZDR | No Training | Free Tier | Release Date |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |

| ![inception logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Finception.png&w=48&q=75) [Inception](/ai-gateway/models/providers/inception) Legal:[Terms](https://www.inceptionlabs.ai/terms)•[Privacy](https://www.inceptionlabs.ai/terms) | 32K | 16K | 0.5s |  | $0.25/M | $1/M |  | — |  |  |  |  | 02/26/2025 |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |