[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) [Throughput](/ai-gateway/models/mercury-coder-small/throughput) [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)

1W

1D

1H