Bifrostapi/ai-api-examples
์๊ฐ
๐ One API gateway for GPT, Claude, Gemini, DeepSeek and more. OpenAI-compatible API for developers.
AI ๋ฐ ๋จธ์ ๋ฌ๋์ธก์ ๋ ์คํ ์ฆ๊ฐ
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 0
์๋ก ๊ฒน์น๋ ๊ธฐ๊ฐ์ ์์ฆ๊ฐ๋์ด๋ฉฐ ์ผ๋ณ ํฉ๊ณ๊ฐ ์๋๋๋ค. ์ธก์ ๊ฐ์ด ์์ผ๋ฉด ๋น์ ๋ก๋๋ค. ์คํ๋ ๊ด์ฌ๋๋ฅผ ๋ํ๋ด๋ฉฐ ํ์ง์ ๋ณด์ฅํ์ง ์์ต๋๋ค.
README.md
OriginalBifrostapi AI API Gateway ๐
One API to access GPT, Claude, Gemini, DeepSeek and other LLMs.
Why Bifrostapi?
Building AI applications often requires managing multiple AI providers:
- Different API formats
- Multiple API keys
- Complex billing systems
- Difficult model switching
Bifrostapi provides a unified API layer that makes AI infrastructure simpler.
One API.
Multiple models.
Simple integration.
Features
โ OpenAI-compatible API
โ Access multiple AI models through one endpoint
โ Simplified API key management
โ Unified AI infrastructure
โ Developer-friendly integration
โ Flexible model switching
Supported Models
| Provider | Models |
|---|---|
| OpenAI | GPT models |
| Anthropic | Claude models |
| Gemini models | |
| DeepSeek | DeepSeek models |
| More | OpenAI-compatible models |
Quick Start
1. Install OpenAI SDK
pip install openai
2. Connect to Bifrostapi
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="YOUR_API_ENDPOINT"
)
response = client.chat.completions.create(
model="your-model",
messages=[
{
"role": "user",
"content": "Hello Bifrostapi"
}
]
)
print(response)
๊ด๋ จ ํ๋ก์ ํธ ์ดํด๋ณด๊ธฐ
๋ถ๋ฌ์ค๋ ์คโฆ