Skip to content
Projetos

Bifrostapi/ai-api-examples

Ver no GitHub

Sobre

🚀 One API gateway for GPT, Claude, Gemini, DeepSeek and more. OpenAI-compatible API for developers.

IA e aprendizado de máquina

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
0
em 1 mês
0

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Bifrostapi AI API Gateway 🚀

GitHub stars GitHub license OpenAI Compatible Models

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
Google 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)

Explore projetos relacionados

Carregando…