openai-sdk / README.md
modelflaredev's picture
Upload README.md
7de2967 verified
|
Raw History Blame Contribute Delete
1.13 kB
---
title: OpenAI SDK → Modelflare
emoji: 🔌
colorFrom: blue
colorTo: purple
sdk: static
pinned: true
license: mit
short_description: "One-line OpenAI SDK switch to Modelflare"
tags:
- modelflare
- openai
- openai-sdk
- python
- javascript
- api-gateway
---
# OpenAI SDK → Modelflare (one-line switch)
Point any OpenAI-compatible client at Modelflare. Create a key at [modelflare.dev](https://modelflare.dev/?utm_source=huggingface&utm_medium=space&utm_campaign=sdk_guide), then set `base_url` to `https://modelflare.dev/v1`.
- Full docs: [docs.modelflare.dev](https://docs.modelflare.dev/?utm_source=huggingface&utm_medium=space&utm_campaign=sdk_guide)
- Hub landing: [Modelflare/start](https://huggingface.co/spaces/Modelflare/start)
- Coding agents: [Modelflare/coding-agents](https://huggingface.co/spaces/Modelflare/coding-agents)
- API recipes: [Modelflare/api-recipes](https://huggingface.co/spaces/Modelflare/api-recipes)
- Blog: [Modelflare/blog](https://huggingface.co/spaces/Modelflare/blog)
- Collection: [Getting Started](https://huggingface.co/collections/Modelflare/modelflare-getting-started)