---
title: "Discussion on \"Haystack with a custom OpenAI API base URL: check models before chat\" | Hashnode"
description: "Discussion on \"Haystack with a custom OpenAI API base URL: check models before chat\". Configure Haystack OpenAIChatGenerator with a custom endpoint, check model access, and reproduce four local fixture checks before paid inference."
url: "https://hashnode.com/posts/haystack-with-a-custom-openai-api-base-url-check-models-before-chat/6afe1694adac9437659e7d90"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Haystack with a custom OpenAI API base URL: check models before chat](https://cheapclankers.hashnode.dev/haystack-with-a-custom-openai-api-base-url-check-models-before-chat?utm_source=hashnode&utm_medium=feed)

Configure Haystack OpenAIChatGenerator with a custom endpoint, check model access, and reproduce four local fixture checks before paid inference.

Nov 18 · 3 min read · cheapclankers.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#haystack](https://hashnode.com/tag/haystack)

## Written by

[CheapClankers](https://hashnode.com/@cheapclankers)

@cheapclankers

  
[View profile](https://hashnode.com/@cheapclankers)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
