# How to Run Basaran on Runpod: An OpenAI API Alternative

DevFeed: [How to Run Basaran on Runpod: An OpenAI API Alternative](<https://devfeed.tech/articles/how-to-run-basaran-on-runpod-an-openai-api-alternative-94572.md>)

Original publisher: [Read original article](<https://www.runpod.io/blog/run-basaran-on-runpod>)

Author: Madiator2011

Published: 2026-10-22T02:42:59Z

Content type: tutorial

Language: en

Sources: [Runpod Blog.](<https://devfeed.tech/sources/runpod-blog.md>)

Topics: [Documentation](<https://devfeed.tech/topics/documentation.md>), [open-responses](<https://devfeed.tech/topics/open-responses.md>), [Chat completions endpoints](<https://devfeed.tech/topics/chat-completions-endpoints.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [cuda](<https://devfeed.tech/tags/cuda.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [http](<https://devfeed.tech/tags/http.md>), [model](<https://devfeed.tech/tags/model.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [openai](<https://devfeed.tech/tags/openai.md>), [openai-api](<https://devfeed.tech/tags/openai-api.md>), [pod](<https://devfeed.tech/tags/pod.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [pytorch](<https://devfeed.tech/tags/pytorch.md>), [template](<https://devfeed.tech/tags/template.md>), [text-generation](<https://devfeed.tech/tags/text-generation.md>)

## AI overview

Basaran, an open-source alternative to the OpenAI text completion API, can be launched on Runpod using its predefined template: create a pod and let it pull the image. The default model is `bigscience/bloomz-560m`; to use another, change the pod's `MODEL` environment variable to a valid model identifier compatible with Basaran, then reset the pod to apply the change. Once it is running, connect over HTTP on port 80 to use the interface, or append `/v1/completions` to the proxy URL for API access.

## Source excerpt

Learn how to deploy Basaran, an open-source text generation API, on Runpod using a prebuilt template. Customize the model via environment variables and.