# 404 error when accessing google/gemma-2-27b-it chat completion endpoint

**URL:** <https://discuss.huggingface.co/t/404-error-when-accessing-google-gemma-2-27b-it-chat-completion-endpoint/157640>\
**Category:** Beginners\
**Created:** [June 2, 2025, 8:03am UTC](https://discuss.huggingface.co/t/404-error-when-accessing-google-gemma-2-27b-it-chat-completion-endpoint/157640 "2025-06-02T08:03:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![indraw111](https://avatars.discourse-cdn.com/v4/letter/i/b5a626/32.png) [@indraw111](https://discuss.huggingface.co/u/indraw111)\
**Post date:** [June 2, 2025, 8:03am UTC](https://discuss.huggingface.co/t/404-error-when-accessing-google-gemma-2-27b-it-chat-completion-endpoint/157640/1 "2025-06-02T08:03:57Z")

</div>

Hi Hugging Face team,

I’m currently trying to use the model `google/gemma-2-27b-it` via the chat completions API, but I’m getting a 404 error when sending a request to the following endpoint:

bash

SalinEdit

```auto
https://router.huggingface.co/google/gemma-2-27b-it/v1/chat/completions

```

Here is the full error message:

bash

SalinEdit

```auto
404 Client Error: Not Found for url: https://router.huggingface.co/google/gemma-2-27b-it/v1/chat/completions
(Request ID: Root=1-683d55ae-4365e822229e0a423f164d56;0912aa19-4d00-4575-b250-5e23c4163bcb)

```

I’m not sure if this endpoint is no longer supported or if I’m using the wrong URL for the chat interface. I’ve checked the model card but couldn’t find specific instructions for chat completion usage via the Hugging Face inference endpoint.

- Could you confirm whether `google/gemma-2-27b-it` supports chat completions via this endpoint?
- If not, is there a different way to interact with the model in a conversational format?

Any help would be appreciated. Thank you!

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [June 2, 2025, 10:52am UTC](https://discuss.huggingface.co/t/404-error-when-accessing-google-gemma-2-27b-it-chat-completion-endpoint/157640/2 "2025-06-02T10:52:40Z")

</div>

> `google/gemma-2-27b-it`

is not deployed. Try other models.

> **[Models - Hugging Face](https://huggingface.co/models?inference_provider=hf-inference&sort=trending)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.
